Sdio Data Counter Register (Sdio_Dcount); Sdio Status Register (Sdio_Sta) - ST STM32F446 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F446 Series:
Table of Contents

Advertisement

RM0390
29.8.10

SDIO data counter register (SDIO_DCOUNT)

Address offset: 0x30
Reset value: 0x0000 0000
The SDIO_DCOUNT register loads the value from the data length register (see
SDIO_DLEN) when the DPSM moves from the Idle state to the Wait_R or Wait_S state. As
data is transferred, the counter decrements the value until it reaches 0. The DPSM then
moves to the Idle state and the data status end flag, DATAEND, is set.
31
30
29
Res.
Res.
Res.
Res.
15
14
13
r
r
r
Bits 31:25 Reserved, must be kept at reset value.
Bits 24:0 DATACOUNT: Data count value
When this bit is read, the number of remaining data bytes to be transferred is returned. Write
has no effect.
Note:
This register should be read only when the data transfer is complete.
29.8.11

SDIO status register (SDIO_STA)

Address offset: 0x34
Reset value: 0x0000 0000
The SDIO_STA register is a read-only register. It contains two types of flag:
Static flags (bits [23:22,10:0]): these bits remain asserted until they are cleared by
writing to the SDIO Interrupt Clear register (see SDIO_ICR)
Dynamic flags (bits [21:11]): these bits change state depending on the state of the
underlying logic (for example, FIFO full and empty flags are asserted and deasserted
as data while written to the FIFO)
31
30
29
Res.
Res.
Res.
Res.
15
14
13
RX
TX
FIFO
FIFO
RXACT TXACT
HF
HE
r
r
r
Bits 31:23 Reserved, must be kept at reset value.
Bit 22 SDIOIT: SDIO interrupt received
Bit 21 RXDAVL: Data available in receive FIFO
28
27
26
25
Res.
Res.
Res.
12
11
10
9
r
r
r
r
28
27
26
25
Res.
Res.
Res.
12
11
10
9
CMD
DBCK
Res.
ACT
END
r
r
r
Secure digital input/output interface (SDIO)
24
23
22
r
r
r
8
7
6
DATACOUNT[15:0]
r
r
r
24
23
22
RXD
Res.
Res.
SDIOIT
r
8
7
6
DATA
CMDS
CMDR
END
ENT
END
OVERR
r
r
r
RM0390 Rev 4
21
20
19
18
DATACOUNT[24:16]
r
r
r
r
5
4
3
2
r
r
r
r
21
20
19
18
TXD
RX
TX
AVL
AVL
FIFOE
FIFOE
r
r
r
r
5
4
3
2
RX
TXUND
DTIME
CTIME
ERR
OUT
OUT
r
r
r
r
17
16
r
r
1
0
r
r
17
16
RX
TX
FIFOF
FIFOF
r
r
1
0
DCRC
CCRC
FAIL
FAIL
r
r
1023/1328
1031

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F446 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Rm0390

Table of Contents

Save PDF