Регистры Allwinner H616

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


SMHC_D0_CRC
5.3.5. CRC in Data0 from Device (Only for SMHC0, SMHC1) - адрес: 0x4020130 0x4021130 0x4022130 (смещение: 0x0130)

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



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

  DAT0_CRC

Bits 31 : 0
R
0x0

Data[0] CRC
CRC in data[0] 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 4020130 1
md 4021130 1
md 4022130 1



Bit fields structure

typedef union  smhc_d0_crc
{
  struct
  {
   unsigned dat0_crc : 32;
  } b;
   unsigned long w;
} SMHC_D0_CRC
   

Allwinner H616 Manual