RM0082
RS_SDIO controller
Doc ID 018672 Rev 1
695/844
synchronous abort, the host controller shall issue an Abort Command after the data transfer
stopped by using Stop At Block Gap Request in the Block Gap Control register.
32.6 Programmer's
model
This section describes the programmer’s model.
32.6.1 Register
map
The SDIO Controller can be configured by programming registers through the AHB slave
interface at base address. The registers are listed in detail in
Table 615.
SDIO registers map
Name
Offset
Size in bit
Description
SDMASysAddr
0x000
32
SDMA system address register
BLKSize
0x004
16
Block size register
BLKCnt
0x006
16
Block count register
CMDARG
0x008
32
Command argument register
TRMode
0x00C
16
Transfer mode register
CMD
0x00E
16
Command register
RESP0
0x010
32
Response register
RESP1
0x014
32
RESP2
0x018
32
RESP3
0x01C
32
BufDataPort
0x020
32
Buffer data port register
PrState
0x024
32
Present state register
HOSTCTRL
0x028
8
Host control register
PWRCTRL
0x029
8
Power control register
BLKGAPCTRL
0x02A
8
Block gap control register
WKUPCTRL
0x02B
8
Wake up control register
CLKCTRL
0x02C
16
Clock control register
TMOUTCTRL
0x02E
8
Time out control register
SWRES
0x02F
8
Software reset register
NIRQSTAT
0x030
16
Normal Interrupt Status
ERRIRQSTAT
0x032
16
Error Interrupt Status
NIRQSTATEN
0x034
16
Normal interrupt Status Enable
ERRIRQSTATEN
0x036
16
Error Interrupt Status Enable
NIRQSIGEN
0x038
16
Normal Interrupt Signal Enable
ERRIRQSIGEN
0x03A
16
Error Interrupt Signal Enable
ACMD12ERSTS
0x03C
16
Auto Command 12 error status register