
AT32F413
Series Reference Manual
2022.06.27
Page 358
Rev 2.00
23.4.9 SDIO data control register (SDIO_DTCTRL)
The SDIO_DTCTRL register controls the data channel statue machine (DCSM).
Bit
Register
Reset value
Type
Description
Bit 31: 12 Reserved
0x00000
resd
Kept at its default value.
Bit 11
IOEN
0x0
rw
SD I/O enable functions
This bit is set or cleared by software. If the bit is set, the
DCSM performs an SD IO card-specific operation.
0: Disabled
1: Enabled
Bit 10
RDWTMODE
0x0
rw
Read wait mode
This bit is set or cleared by software. If disabled, the
SDIO_D2 contols the read wait; if enabled, the SDIO_CK
controls the read wait.
0: Disabled
1: Enabled
Bit 9
RDWTSTOP
0x0
rw
Read wait stop
This bit is set or cleared by software.While the the
RDWTSTART is set, If this bit is set, it indicates that read
wait is stopped; if this bit cleared, it indicates that the read
wait is in progress.
0: Read wait is in progress if the RDWTSTART is set.
1: Read wait is stopped if the RDWTSTART is set.
Bit 8
RDWTSTART
0x0
rw
Read wait start
This bit is set or cleared by software. When this bit is set,
read wait starts; when this bit is cleared, no ations
occurs.
0: Read wait disabled
1: Read wait enabled
Bit 7: 4
BLKSIZE
0x0
rw
Data block size
his bit is set or cleared by software. This field defines the
length of data block when the block datat transfer is
selected.
0000: block length = 2
0
= 1 byte
0001: block length = 2
1
= 2 bytes
0010: block length = 2
2
= 4 bytes
0011: block length = 2
3
= 8 bytes
0100: block length = 2
4
= 16 bytes
0101: block length = 2
5
= 32 bytes
0110: block length = 2
6
= 64 bytes
0111: block length = 2
7
= 128 bytes
1000: block length = 2
8
= 256 bytes
1001: block length = 2
9
= 512 bytes
1010: block length = 2
10
= 1024 bytes
1011: block length = 2
11
= 2048 bytes
1100: block length = 2
12
= 4096 bytes
1101: block length = 2
13
= 8192 bytes
1110: block length = 2
14
= 16384 bytes
1111: Reserved
Bit 3
DMAEN
0x0
rw
DMA enable bit
This bit is set or cleared by software.
0: Disabled
1: Enabled
Bit 2
TFRMODE
0x0
rw
Data transfer mode selection
This bit is set or cleared by software. If this bit is set, it
indicates stread data transfer; if this bit cleared, it indicates