Sdio Data Timer Register (Sdio_Dtimer); Sdio Data Length Register (Sdio_Dlen) - ST STM32F102 Series Reference Manual

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

RM0008
19.9.7

SDIO Data Timer Register (SDIO_DTIMER)

Address offset: 0x24
Reset value: 0x0000 0000
The SDIO_DTIMER register contains the data timeout period, in card bus clock periods.
A counter loads the value from the SDIO_DTIMER register, and starts decrementing when
the data path state machine (DPSM) enters the Wait_R or Busy state. If the timer reaches 0
while the DPSM is in either of these states, the timeout status flag is set.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
Bits 31:0 DATATIME: Data timeout period.
Data timeout period expressed in card bus clock periods.
Note:
A data transfer must be written to the data timer register and the data length register before
being written to the data control register.
19.9.8

SDIO Data Length Register (SDIO_DLEN)

Address offset: 0x28
Reset value: 0x0000 0000
The SDIO_DLEN register contains the number of data bytes to be transferred. The value is
loaded into the data counter when data transfer starts.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
Reserved
Res.
Bits 31:25
Reserved, always read as 0.
Bits 24:0 DATALENGTH: Data length value.
Number of data bytes to be transferred.
Note:
For a block data transfer, the value in the data length register must be a multiple of the block
size (see SDIO_DCTRL). A data transfer must be written to the data timer register and the
data length register before being written to the data control register.
DATATIME
r/w
DATALENGTH
r/w
SDIO interface (SDIO)
9
8
7
6
5
4
3
9
8
7
6
5
4
3
2
1
0
2
1
0
457/690

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f101 seriesStm32f103 series

Table of Contents