Home
last modified time | relevance | path

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

/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_flash_ex.c1041 uint32_t OB_WRP = Sector; in FLASH_OB_ProtectedSectorsConfig() local
1052 if (OB_WRP != 0x00000000U) in FLASH_OB_ProtectedSectorsConfig()
1054 if ((OB_WRP & WRP_MASK_LOW) != 0x00000000U) in FLASH_OB_ProtectedSectorsConfig()
1058 WRP_Data = (uint16_t)(((OB_WRP & WRP_MASK_LOW) | OB->WRP01)); in FLASH_OB_ProtectedSectorsConfig()
1063 WRP_Data = (uint16_t)(~OB_WRP & (WRP_MASK_LOW & OB->WRP01)); in FLASH_OB_ProtectedSectorsConfig()
1070 if (OB_WRP != 0x00000000U) in FLASH_OB_ProtectedSectorsConfig()
1072 if ((OB_WRP & WRP_MASK_HIGH) != 0x00000000U) in FLASH_OB_ProtectedSectorsConfig()
1076 WRP_Data = (uint16_t)((((OB_WRP & WRP_MASK_HIGH) >> 16U | OB->WRP23))); in FLASH_OB_ProtectedSectorsConfig()
1081 WRP_Data = (uint16_t)((((~OB_WRP & WRP_MASK_HIGH) >> 16U & OB->WRP23))); in FLASH_OB_ProtectedSectorsConfig()
1087 OB_WRP = Sector2; in FLASH_OB_ProtectedSectorsConfig()
[all …]