Регистры Allwinner H616

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


SMHC_D2_CRC
5.3.5. CRC in Data2 from Device (Only for SMHC0, SMHC1) - адрес: 0x4020128 0x4021128 0x4022128 (смещение: 0x0128)

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



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

  DAT2_CRC

Bits 31 : 0
R
0x0

Data[2] CRC
CRC in data[2] 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, the higher 16 bits indicate the CRC of odd data, and the
lower 16 bits indicate the CRC of even data.
In SDR mode, the higher 16 bits indicate the CRC of all data.

Note
This register is valid for SMHC0, SMHC1.



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

md 4020128 1
md 4021128 1
md 4022128 1



Bit fields structure

typedef union  smhc_d2_crc
{
  struct
  {
   unsigned dat2_crc : 32;
  } b;
   unsigned long w;
} SMHC_D2_CRC
   

Allwinner H616 Manual