GD32F403xx User Manual
553
starts, the data counter loads this register and starts decrement.
Note:
If block data transfer selected, the content of this register must be a multiple of the block
size (ref er to SDIO_DATACTL). The data timer register and the data length register must be
updated before being written to the data control register when need a data transfer.
20.8.9.
Data control register (SDIO_DATACTL)
Address offset: 0x2C
Reset value: 0x0000 0000
This register controls the DSM.
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
IOEN
RWTYPE RWSTOP RWEN
BLKSZ[3:0]
DMAEN
TRANSM
OD
DATADIR DATAEN
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:12
Reserved
Must be kept at reset value.
11
IOEN
SD I/O specific function enable(SD I/O only)
0: Not SD I/O specific function
1: SD I/O specific function
10
RWTYPE
Read wait type(SD I/O only)
0: Read Wait control using SDIO_DAT[2]
1: Read Wait control by stopping SDIO_CLK
9
RWSTOP
Read wait stop(SD I/O only)
0: No effect
1: Stop the read wait process if RWEN bit is set
8
RWEN
Read wait mode enabled(SD I/O only)
0: Read wait mode is disabled
1: Read wait mode is enabled
7:4
BLKSZ[3:0]
Data block size
These bits defined the block size when data transfer is block transfer.
0000: block size = 2
0
= 1 byte
0001: block size = 2
1
= 2 bytes
0010: block size = 2
2
= 4 bytes
0011: block size = 2
3
= 8 bytes
0100: block size = 2
4
= 16 bytes
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...