STM32G474xx HAL用户手册
定义
FLASH选项字节类型
FLASH导出常量

定义

#define OPTIONBYTE_WRP   0x01U
#define OPTIONBYTE_RDP   0x02U
#define OPTIONBYTE_USER   0x04U
#define OPTIONBYTE_PCROP   0x08U
#define OPTIONBYTE_BOOT_LOCK   0x10U
#define OPTIONBYTE_SEC   0x20U

定义文档

#define OPTIONBYTE_BOOT_LOCK   0x10U

启动锁选项字节配置

Definition at line 222 of file stm32g4xx_hal_flash.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

#define OPTIONBYTE_PCROP   0x08U

PCROP选项字节配置

Definition at line 221 of file stm32g4xx_hal_flash.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

#define OPTIONBYTE_RDP   0x02U

RDP选项字节配置

Definition at line 219 of file stm32g4xx_hal_flash.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

#define OPTIONBYTE_SEC   0x20U

可保护内存选项字节配置

Definition at line 223 of file stm32g4xx_hal_flash.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

#define OPTIONBYTE_USER   0x04U

USER选项字节配置

Definition at line 220 of file stm32g4xx_hal_flash.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().

#define OPTIONBYTE_WRP   0x01U

WRP选项字节配置

Definition at line 218 of file stm32g4xx_hal_flash.h.

Referenced by HAL_FLASHEx_OBGetConfig(), and HAL_FLASHEx_OBProgram().