GD32VF103 User Manual
45
Flash erase/program command address bits
These bits are configured by software.
ADDR bits are the address of flash erase/program command
2.4.7. Option byte status register (FMC_OBSTAT)
Address offset: 0x1C
Reset value: 0x0XXX XXXX.
This register has to be accessed by word (32-bit)
Must be kept at reset value.
Store DATA of option bytes block after system reset.
Store USER of option bytes block after system reset.
Option bytes security protection code
0: no protection
1: protection
Option bytes read error bit.
This bit is set by hardware when the option bytes and its complement byte do not
match, then the option bytes is set to 0xFF.
2.4.8. Erase/Program Protection register (FMC_WP)
Address offset: 0x20
Reset value: 0xXXXX XXXX
This register has to be accessed by word (32-bit)