Регистры Allwinner H616

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


SMHC_D3_CRC
5.3.5. CRC in Data3 from Device (Only for SMHC0, SMHC1) - адрес: 0x4020124 0x4021124 0x4022124 (смещение: 0x0124)

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



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

  DAT3_CRC

Bits 31 : 0
R
0x0

Data[3] CRC
CRC in data[3] 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 4020124 1
md 4021124 1
md 4022124 1



Bit fields structure

typedef union  smhc_d3_crc
{
  struct
  {
   unsigned dat3_crc : 32;
  } b;
   unsigned long w;
} SMHC_D3_CRC
   

Allwinner H616 Manual