Searched refs:OB_WRP (Results 1 – 1 of 1) sorted by relevance
1041 uint32_t OB_WRP = Sector; in FLASH_OB_ProtectedSectorsConfig() local1052 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 …]