Регистры Allwinner H616

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


SMHC_SFC
5.3.5. Sample FIFO Control Register (Only for SMHC2) - адрес: 0x4020104 0x4021104 0x4022104 (смещение: 0x0104)

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



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

  Unused

Bits 31 : 5

  STOP_CLK_CTRL

Bits 4 : 1
R/W
0x3

Stop Clock Control
When receiving data, if CARD_RD_THLD_ENB is set and CARD_RD_THLD is
set same with BLK_SZ, the device clock may stop at block gap during data
receiving.

This field is used to control the position of stopping clock.
The value can be changed between 0x0 and 0xF, but actually the available
value and the position of stopping clock must be decided by the actual
situation.
The value increases one in this field is linked to one cycle(two cycles in DDR
mode) that the position of stopping clock moved up.


  BYPASS_EN

Bit 0
R/W
0x0

Bypass enable
When set, sample FIFO will be bypassed.

Note
The register is for SMHC2.



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

md 4020104 1
md 4021104 1
md 4022104 1



Bit fields structure

typedef union  smhc_sfc
{
  struct
  {
   unsigned bypass_en : 1;
   unsigned stop_clk_ctrl : 4;
   unsigned unused0 : 27;
  } b;
   unsigned long w;
} SMHC_SFC
   

Allwinner H616 Manual