GD32W51x User Manual
737
In automatic polling mode this bit is set every time the status register is read from
the flash, and it is cleared once the QSPI_DA TA is read.
1
TC
Transfer complete flag
This bit is set in indirect mode w hen the programmed number of data has been
transmitted or in any mode w hen abort operation is completed. It is cleared by
w riting 1 to TCC.
0
TERR
Transfer error flag
This bit is set w hen an invalid address is being accessed in indirect mode. It is
cleared by w riting 1 to TERRC.
22.11.4.
Status clear register (QSPI_STATC)
Address offset: 0x0C
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
WSC
TMOUTC
SMC
Reserved
TCC
TERRC
w
w
w
w
w
Bits
Fields
Descriptions
31:2
Reserved
Must be kept at reset value
5
WSC
Clear w rong start sequence flag
Writing 1 clears the WS flag in the QSPI_STAT register
4
TMOUTC
Clear timeout flag
Writing 1 clears the TMOUT flag in the QSPI_STAT register
3
SMC
Clear status match flag
Writing 1 clears the SM flag in the QSPI_STAT register
2
Reserved
Must be kept at reset value
1
TCC
Clear transfer complete flag
Writing 1 clears the TC flag in the QSPI_STAT register
0
TERRC
Clear transfer error flag
Writing 1 clears the TERR flag in the QSPI_STAT register