
AT32F413
Series Reference Manual
2022.06.27
Page 363
Rev 2.00
1: Enabled
Bit 1
DTFAILIEN
0x0
rw
Data CRC fail interrupt enable
This bit is set or cleared by software to enable/disable the
Data CRC fail interrupt.
0: Disabled
1: Enabled
Bit 0
CMDFAILIEN
0x0
rw
Command CRC fail interrupt enable
This bit is set or cleared by software to enable/disable the
Command CRC fail interrupt.
0: Disabled
1: Enabled
23.4.14 SDIOBUF counter register (SDIO_BUFCNTR)
The SDIO_BUFCNTR register contains the number of words to be written to or read from the BUF. The
BUF counter loads the value from the SDIO_DTLEN register (see 23.4.8) when the data transfter bit
TFREN is set in the SDIO_DTCTRL register. If the data length is not word-aligned, the remaining 1 to 3
bytes are regarded as a word.
Bit
Register
Reset value
Type
Description
Bit 31: 24 Reserved
0x00
resd
Kept at its default value.
Bit 23: 0
CNT
0x000000
ro
Number of words to be written to or read from the BUF.
23.4.15 SDIO data BUF register (SDIO_BUF)
T
he receive and data BUF is group of a 32-bit wide registers that can be written or read. The BUF
contains 32 registers on 32 sequential addresses. The CPU can use BUF for read/write multiple
operations.
Bit
Register
Reset value
Type
Description
Bit 31: 0
DT
0x0000 0000 rw
Receive and transmit BUF data
The BUF data occupies 32x 32-bit words, the address:
SDIO base + 0x80 to SDIO base + 0xFC