Home
last modified time | relevance | path

Searched refs:Prot_Key1 (Results 1 – 1 of 1) sorted by relevance

/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_hal_flash_ex.c405 uint32_t Prot_Key1 = READ_REG(FLASH->DATA0); in HAL_FLASHEx_GetProtection_Level() local
408 if ((Prot_Key1 == FLASH_KEY1) && (Prot_Key2 == FLASH_KEY1)) in HAL_FLASHEx_GetProtection_Level()
412 else if ((Prot_Key1 == FLASH_KEY2) && (Prot_Key2 == FLASH_KEY2)) in HAL_FLASHEx_GetProtection_Level()
416 else if ((Prot_Key1 == FLASH_KEY0) && (Prot_Key2 == FLASH_KEY0)) in HAL_FLASHEx_GetProtection_Level()