GD32W51x User Manual
814
0011: block size = 2
3
= 8 bytes
0100: block size = 2
4
= 16 bytes
0101: block size = 2
5
= 32 bytes
0110: block size = 2
6
= 64 bytes
0111: block size = 2
7
= 128 bytes
1000: block size = 2
8
= 256 bytes
1001: block size = 2
9
= 512 bytes
1010: block size = 2
10
= 1024 bytes
1011: block size = 2
11
= 2048 bytes
1100: block size = 2
12
= 4096 bytes
1101: block size = 2
13
= 8192 bytes
1110: block size = 2
14
= 16384 bytes
1111: reserved
3
DMAEN
DMA enable bit
0: DMA is disabled.
1: DMA is enabled.
2
TRANSMOD
Data transfer mode
0: Block transfer
1: Stream transfer or SDIO multibyte transfer
1
DATADIR
Data transfer direction
0: Write data to card.
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 Readw ait state if RWEN is set or to the WaitS, WaitR state depend on DATA DIR
bit. Start a new data transfer, it not need to clear this bit to 0.
Note:
Betw een Tw o w rite accesses to this register, it needs at least 3 SDIOCLK + 2 pclk2 w hich used
to sync the registers to SDIOCLK clock domain.
23.8.10.
Data counter register (SDIO_DATACNT)
Address offset: 0x30
Reset value: 0x0000 0000
This register is read only. When the DSM from Idle to WaitR or WaitS, it loads value from data
length register (SDIO_DATALEN). It decrements with the data transferred, when it reaches 0,
the flag DTEND is set.
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
DATACNT[24:16]
r
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...