Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_flash_ex.c431 pAdvOBInit->Sectors = (*(__IO uint16_t *)(OPTCR_BYTE2_ADDRESS)); in HAL_FLASHEx_AdvOBGetConfig()
434 pAdvOBInit->SectorsBank1 = (*(__IO uint16_t *)(OPTCR_BYTE2_ADDRESS)); in HAL_FLASHEx_AdvOBGetConfig()
660 *(__IO uint16_t *)OPTCR_BYTE2_ADDRESS &= (~(WRPSector >> 12)); in FLASH_OB_EnableWRP()
665 *(__IO uint16_t *)OPTCR_BYTE2_ADDRESS &= (~WRPSector); in FLASH_OB_EnableWRP()
731 *(__IO uint16_t *)OPTCR_BYTE2_ADDRESS |= (uint16_t)(WRPSector >> 12); in FLASH_OB_DisableWRP()
736 *(__IO uint16_t *)OPTCR_BYTE2_ADDRESS |= (uint16_t)WRPSector; in FLASH_OB_DisableWRP()
828 *(__IO uint16_t *)OPTCR_BYTE2_ADDRESS |= (uint16_t)SectorBank1; in FLASH_OB_EnablePCROP()
893 *(__IO uint16_t *)OPTCR_BYTE2_ADDRESS &= (~SectorBank1); in FLASH_OB_DisablePCROP()
1040 *(__IO uint16_t *)OPTCR_BYTE2_ADDRESS &= (~WRPSector); in FLASH_OB_EnableWRP()
1076 *(__IO uint16_t *)OPTCR_BYTE2_ADDRESS |= (uint16_t)WRPSector; in FLASH_OB_DisableWRP()
[all …]
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_flash_ex.c479 *(__IO uint16_t*)OPTCR_BYTE2_ADDRESS &= (~WRPSector); in FLASH_OB_EnableWRP()
517 *(__IO uint16_t*)OPTCR_BYTE2_ADDRESS |= (uint16_t)WRPSector; in FLASH_OB_DisableWRP()
635 return (*(__IO uint16_t *)(OPTCR_BYTE2_ADDRESS)); in FLASH_OB_GetWRP()
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_hal_flash.h364 #define OPTCR_BYTE2_ADDRESS 0x40023C16U macro
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_hal_flash.h373 #define OPTCR_BYTE2_ADDRESS 0x40023C16U macro