GD32F20x User Manual
674
Bits
Fields
Descriptions
31:25
Reserved
Must be kept at reset value
24:0
DATACNT[24:0]
Data count value
Read-only bits field. When these bits are read, the number of remaining data bytes
to be transferred is returned.
24.8.11.
Status register (SDIO_STAT)
Address offset: 0x34
Reset value: 0x0000 0000
This register is read only. The following descripts the types of flag:
The flags of bit [23:22, 10:0] can only be cleared by writing 1 to the corresponding bit in
interrupt clear register (SDIO_INTC).
The flags of bit [21:11] are changing depend on the hardware logic.
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
ATAEND SDIOINT
RXDTVA
L
TXDTVAL
RFE
TFE
RFF
TFF
r
r
r
r
r
r
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RFH
TFH
RXRUN
TXRUN CMDRUN
DTBLK
END
STBITE
DTEND
CMD
SEND
CMD
RECV
RXORE
TXURE
DTTMOU
T
CMD
TMOUT
DTCRC
ERR
CCRCER
R
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
Bits
Fields
Descriptions
31:24
Reserved
Must be kept at reset value
23
ATAEND
CE-ATA command completion signal received (only for CMD61)
22
SDIOINT
SD I/O interrupt received
21
RXDTVAL
Data is valid in receive FIFO
20
TXDTVAL
Data is valid in transmit FIFO
19
RFE
Receive FIFO is empty
18
TFE
Transmit FIFO is empty
When HW Flow control is enabled, TFE signals becomes activated when the FIFO
contains 2 words.
1: Read data from card.
0
DATAEN
Data transfer enable bit
Write 1 to this bit to start data transfer regardless this bit is 0 or 1. The DSM moves
to Readwait state if RWEN is set or to the WaitS, WaitR state depend on DATADIR
bit. Start a new data transfer, it not need to clear this bit to 0.
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...