Регистры Allwinner H616

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


SMHC_TMOUT
5.3.5. Time Out Register - адрес: 0x4020008 0x4021008 0x4022008 (смещение: 0x0008)

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



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

  DTO_LMT

Bits 31 : 8
R/W
0xffffff

Data Timeout Limit
This field can set time of the Host wait for the data from the Device.
Ensure to communicate with the Device, this field must be set to maximum that greater than the time NAC.
About the NAC, the explanation is as follows:
When Host read data,data transmission from the Device starts after the access time delay NAC beginning
from the end bit of the read command (ACMD51,CMD8,CMD17,CMD18).
When Host read multiple block (CMD18), a next blocks data transmission from the Device starts after the
access time delay NAC beginning from the end bit of the previous block.
When Host write data, the value is no effect.


  RTO_LMT

Bits 7 : 0
R/W
0x40

Response Timeout Limit



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

md 4020008 1
md 4021008 1
md 4022008 1



Bit fields structure

typedef union  smhc_tmout
{
  struct
  {
   unsigned rto_lmt : 8;
   unsigned dto_lmt : 24;
  } b;
   unsigned long w;
} SMHC_TMOUT
   

Allwinner H616 Manual