STM32L486xx HAL User Manual
Defines
FLASH Keys
FLASH

Defines

#define FLASH_KEY1   0x45670123U
#define FLASH_KEY2   0xCDEF89ABU
#define FLASH_PDKEY1   0x04152637U
#define FLASH_PDKEY2   0xFAFBFCFDU
#define FLASH_OPTKEY1   0x08192A3BU
#define FLASH_OPTKEY2   0x4C5D6E7FU

Define Documentation

#define FLASH_KEY1   0x45670123U

Flash key1

Definition at line 504 of file stm32l4xx_hal_flash.h.

Referenced by HAL_FLASH_Unlock().

#define FLASH_KEY2   0xCDEF89ABU

Flash key2: used with FLASH_KEY1 to unlock the FLASH registers access

Definition at line 505 of file stm32l4xx_hal_flash.h.

Referenced by HAL_FLASH_Unlock().

#define FLASH_OPTKEY1   0x08192A3BU

Flash option byte key1

Definition at line 512 of file stm32l4xx_hal_flash.h.

Referenced by HAL_FLASH_OB_Unlock().

#define FLASH_OPTKEY2   0x4C5D6E7FU

Flash option byte key2: used with FLASH_OPTKEY1 to allow option bytes operations

Definition at line 513 of file stm32l4xx_hal_flash.h.

Referenced by HAL_FLASH_OB_Unlock().

#define FLASH_PDKEY1   0x04152637U

Flash power down key1

Definition at line 508 of file stm32l4xx_hal_flash.h.

#define FLASH_PDKEY2   0xFAFBFCFDU

Flash power down key2: used with FLASH_PDKEY1 to unlock the RUN_PD bit in FLASH_ACR

Definition at line 509 of file stm32l4xx_hal_flash.h.