S3C2410A MMC/SD/SDIO HOST CONTROLLER
19-5
SDI SPECIAL REGISTERS
SDI Control (SDICON) Register
Register Address R/W Description Reset Value
SDICON 0x5A000000 R/W SDI control register 0x0
SDICON Bit Description Initial Value
Byte Order Type
(ByteOrder)
[4] Determine byte order type when you read (write) data from (to) SD
host FIFO with word boundary.
0 = Type A, 1 = Type B
0
Receive SDIO
Interrupt from card
(RcvIOInt)
[3] Determine whether SD host receives SDIO Interrupt from the card
or not (for SDIO).
0 = ignore, 1 = receive SDIO Interrupt
0
Read Wait Enable
(RWaitEn)
[2] Determine read wait request signal generate when SD host waits
the next block in multiple block read mode. This bit needs to
delay the next block to be transmitted from the card (for SDIO).
0 = disable (no generate), 1 = Read wait enable (use SDIO)
0
FIFO Reset (FRST) [1] Reset FIFO value. This bit is automatically cleared.
0 = normal mode, 1 = FIFO reset
0
Clock Type (CTYP) [0] Determines which clock type is used as SDCLK.
0 = MMC Type, 1 = SD Type
0
NOTE: Byte Order Type
- Type A: D[7:0] → D[15:8] → D[23:16] → D[31:24]
- Type B: D[31:24] → D[23:16] → D[15:8] → D[7:0]
SDI Baud Rate Prescaler (SDIPRE) Register
Register Address R/W Description Reset Value
SDIPRE 0x5A000004 R/W SDI baud rate prescaler register 0x0
SDIPRE Bit Description Initial Value
Prescaler Value [7:0] Determine SDI clock (SDCLK) rate as above equation.
Baud rate = PCLK / 2 / (Prescaler value + 1)
0x00