Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Keil/AT32F402xx_v2/QSPI1/RSTS#0x0
SPI read status register
SPI read status
https://github.com/cmsis-svd/cmsis-svd-data