Регистры Allwinner H616

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


SMHC_FUNS
5.3.5. FIFO Function Select Register - адрес: 0x4020044 0x4021044 0x4022044 (смещение: 0x0044)

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



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

  Unused

Bits 31 : 3

  ABT_RDATA

Bit 2
R/W
0x0

Abort Read Data
0: Ignored
1: After suspend command is issued during read-transfer, software polls
card to find when suspend happened. Once suspend occurs, software
sets bit to reset data state-machine, which is waiting for next block of
data.
Used in SDIO card suspends sequence.
This bit is auto-cleared once controller reset to idle state.


  READ_WAIT

Bit 1
R/W
0x0

Read Wait
0: Clear SDIO read wait
1: Assert SDIO read wait


  HOST_SEND_MMC_IRQRESQ

Bit 0
R/W
0x0

Host Send MMC IRQ Response
0: Ignored
1: Send auto IRQ response
When host is waiting MMC card interrupt response, setting this bit will
make controller cancel wait state and return to idle state, at which time,
controller will receive IRQ response sent by itself.
This bit is auto-cleared after response is sent.



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

md 4020044 1
md 4021044 1
md 4022044 1



Bit fields structure

typedef union  smhc_funs
{
  struct
  {
   unsigned host_send_mmc_irqresq : 1;
   unsigned read_wait : 1;
   unsigned abt_rdata : 1;
   unsigned unused0 : 29;
  } b;
   unsigned long w;
} SMHC_FUNS
   

Allwinner H616 Manual