Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти


SMHC_D6_CRC
5.3.5. CRC in Data6 from Device (Only for SMHC0, SMHC1) - адрес: 0x4020118 0x4021118 0x4022118 (смещение: 0x0118)

Хост-контроллер SD / MMC (SMHC): список регистров



31 ||||||||||||||||| 16
15 ||||||||||||||||| 00

  DAT6_CRC

Bits 31 : 0
R
0x0

Data[6] CRC
CRC in data[6] from device.
In 8 bits DDR mode, the higher 16 bits indicate the CRC of even data, and the lower 16 bits indicate the CRC of odd data.
In 4 bits DDR mode, it is not used.
In SDR mode, the higher 16 bits indicate the CRC of all data.
Note This register is valid for SMHC0, SMHC1.



Команда U-Boot для чтения регистра

md 4020118 1
md 4021118 1
md 4022118 1



Bit fields structure

typedef union  smhc_d6_crc
{
  struct
  {
   unsigned dat6_crc : 32;
  } b;
   unsigned long w;
} SMHC_D6_CRC
   

Allwinner H616 Manual