STM32L443xx HAL User Manual
|
FLASH Option Bytes Program structure definition. More...
#include <stm32l4xx_hal_flash.h>
Data Fields | |
uint32_t | OptionType |
uint32_t | WRPArea |
uint32_t | WRPStartOffset |
uint32_t | WRPEndOffset |
uint32_t | RDPLevel |
uint32_t | USERType |
uint32_t | USERConfig |
uint32_t | PCROPConfig |
uint32_t | PCROPStartAddr |
uint32_t | PCROPEndAddr |
FLASH Option Bytes Program structure definition.
Definition at line 62 of file stm32l4xx_hal_flash.h.
Option byte to be configured. This parameter can be a combination of the values of FLASH Option Bytes Type
Definition at line 64 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().
Configuration of the PCROP (used for OPTIONBYTE_PCROP). This parameter must be a combination of FLASH Banks (except FLASH_BANK_BOTH) and FLASH Option Bytes PCROP On RDP Level Type
Definition at line 86 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().
PCROP End address (used for OPTIONBYTE_PCROP). This parameter must be a value between PCROP Start address and end of bank
Definition at line 92 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().
PCROP Start address (used for OPTIONBYTE_PCROP). This parameter must be a value between begin and end of bank => Be careful of the bank swapping for the address
Definition at line 89 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().
uint32_t FLASH_OBProgramInitTypeDef::RDPLevel |
Set the read protection level.. (used for OPTIONBYTE_RDP). This parameter can be a value of FLASH Option Bytes Read Protection
Definition at line 74 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().
Value of the user option byte (used for OPTIONBYTE_USER). This parameter can be a combination of FLASH Option Bytes User BOR Level, FLASH Option Bytes User Reset On Stop, FLASH Option Bytes User Reset On Standby, FLASH Option Bytes User Reset On Shutdown, FLASH Option Bytes User IWDG Type, FLASH Option Bytes User IWDG Mode On Stop, FLASH Option Bytes User IWDG Mode On Standby, FLASH Option Bytes User WWDG Type, FLASH_OB_USER_BFB2, FLASH_OB_USER_DUALBANK, FLASH Option Bytes User BOOT1 Type, FLASH Option Bytes User SRAM2 Parity Check Type and FLASH Option Bytes User SRAM2 Erase On Reset Type
Definition at line 78 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().
uint32_t FLASH_OBProgramInitTypeDef::USERType |
User option byte(s) to be configured (used for OPTIONBYTE_USER). This parameter can be a combination of FLASH Option Bytes User Type
Definition at line 76 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBProgram().
uint32_t FLASH_OBProgramInitTypeDef::WRPArea |
Write protection area to be programmed (used for OPTIONBYTE_WRP). Only one WRP area could be programmed at the same time. This parameter can be value of FLASH WRP Area
Definition at line 66 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().
Write protection end offset (used for OPTIONBYTE_WRP). This parameter must be a value between WRPStartOffset and (max number of pages in the bank - 1)
Definition at line 72 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().
Write protection start offset (used for OPTIONBYTE_WRP). This parameter must be a value between 0 and (max number of pages in the bank - 1) (eg : 25 for 1MB dual bank)
Definition at line 69 of file stm32l4xx_hal_flash.h.
Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().