GD32W51x User Manual
738
22.11.5.
Data length register (QSPI_DTLEN)
Address offset: 0x10
Reset value: 0x0000 0000
This register can be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
DTLEN[31:16]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DTLEN[15:0]
rw
Bits
Fields
Descriptions
31:0
DTLEN[31:0]
Data length
Number of data to be retrieved (value+1) in indirect and status -polling modes. A
value no greater than 3 (indicating 4 bytes) should be used for status -polling mode.
All 1s in indirect mode means undefined length, w here QSPI w ill continue until the
end of memory, as defined by FMSZ.
0x0000_0000: 1 byte is to be transferred
0x0000_0001: 2 bytes are to be transferred
0x0000_0002: 3 bytes are to be transferred
0x0000_0003: 4 bytes are to be transferred
...
0xFFFF_FFFD: 4,294,967,294 (4G-2) bytes are to be transferred
0xFFFF_FFFE: 4,294,967,295 (4G-1) bytes are to be transferred
0xFFFF_FFFF: undefined length -- all bytes until the end of Flash memory (as
defined by FMSZ) are to be transferred. Continue reading indefinitely if FMSZ =
0x1F.
This field has no effect w hen in memory-mapped mode.
This field can be w ritten only w hen BUSY = 0.
22.11.6.
Transfer configuration register (QSPI_TCFG)
Address offset: 0x14
Reset value: 0x0000 0000
This register can be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
SIOO
FMOD[1:0]
DATAMOD[1:0]
Reserved
DUMYC[4:0]
ALTESZ[1:0]
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ALTEMOD[1:0]
ADDRSZ[1:0]
ADDRMOD[1:0]
IMOD[1:0]
INSTRUCTION[7:0]