
AT32F413
Series Reference Manual
2022.06.27
Page 4
Rev 2.00
Unlock/lock ................................................................................. 71
Erase operation ........................................................................... 71
Programming operation................................................................ 72
Read operation ........................................................................... 73
Flash memory protection .............................................................. 73
Access protection ........................................................................ 74
Erase/program protection............................................................. 74
Special functions ......................................................................... 75
Security library settings ............................................................... 75
Flash memory registers ................................................................ 76
Flash performance select register (FLASH_PSR) .......................... 76
Flash unlock register (FLASH_UNLOCK) ...................................... 77
Flash user system data unlock register (FLASH_USD_UNLOCK) ... 77
Flash status register (FLASH_STS) .............................................. 77
Flash control register (FLASH_CTRL) ........................................... 77
Flash address register (FLASH_ADDR) ........................................ 78
User system data register (FLASH_USD) ...................................... 78
Erase/program protection status register (FLASH_EPPS) .............. 78
Flash unlock register3 (FLASH_UNLOCK3) ................................... 79
Flash select register (FLASH_SELECT) ........................................ 79
Flash status register3 (FLASH_STS3) .......................................... 79
Flash control register3 (FLASH_CTRL3) ....................................... 79
Flash address register3 (FLASH_ADDR3) ..................................... 80
Flash decrption address register (FLASH_DA) .............................. 80
Flash security library status register 0 (SLIB_STS0) ...................... 80
Flash security library status register 1 (SLIB_STS1) ...................... 81
Flash security library password clear register (SLIB_PWD_CLR) .... 81
Security library additional status register (SLIB_MISC_STS) .......... 81
Security library password setting register (SLIB_SET_PWD) .......... 82
Security library address setting register (SLIB_SET_RANGE) ........ 82
Security library unlock register (SLIB_UNLOCK) ........................... 82
Flash CRC check control register (FLASH_CRC_CTRL) ................ 83
Flash CRC check result register (FLASH_CRC_CHKR) .................. 83
General-purpose I/Os (GPIOs) ....................................................... 84