Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_flash_ex.c115 static void FLASH_OB_SecMemConfig(uint32_t BootEntry, uint32_t SecSize, uint32_t SecS…
116 static void FLASH_OB_GetSecMem(uint32_t *BootEntry, uint32_t *SecSize, uint32_t *SecS…
118 static void FLASH_OB_SecMemConfig(uint32_t BootEntry, uint32_t SecSize);
119 static void FLASH_OB_GetSecMem(uint32_t *BootEntry, uint32_t *SecSize);
381 FLASH_OB_SecMemConfig(pOBInit->BootEntryPoint, pOBInit->SecSize, pOBInit->SecSize2); in HAL_FLASHEx_OBProgram()
384 FLASH_OB_SecMemConfig(pOBInit->BootEntryPoint, pOBInit->SecSize); in HAL_FLASHEx_OBProgram()
450 FLASH_OB_GetSecMem(&(pOBInit->BootEntryPoint), &(pOBInit->SecSize), &(pOBInit->SecSize2)); in HAL_FLASHEx_OBGetConfig()
453 FLASH_OB_GetSecMem(&(pOBInit->BootEntryPoint), &(pOBInit->SecSize)); in HAL_FLASHEx_OBGetConfig()
1215 static void FLASH_OB_SecMemConfig(uint32_t BootEntry, uint32_t SecSize, uint32_t SecSize2) in FLASH_OB_SecMemConfig() argument
1221 assert_param(IS_OB_SEC_SIZE(SecSize)); in FLASH_OB_SecMemConfig()
[all …]
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_flash_ex.c100 static void FLASH_OB_SecMemConfig(uint32_t BootEntry, uint32_t SecSize);
106 static void FLASH_OB_GetSecMem(uint32_t *BootEntry, uint32_t *SecSize);
336 FLASH_OB_SecMemConfig(pOBInit->BootEntryPoint, pOBInit->SecSize); in HAL_FLASHEx_OBProgram()
393 FLASH_OB_GetSecMem(&(pOBInit->BootEntryPoint), &(pOBInit->SecSize)); in HAL_FLASHEx_OBGetConfig()
705 static void FLASH_OB_SecMemConfig(uint32_t BootEntry, uint32_t SecSize) in FLASH_OB_SecMemConfig() argument
711 assert_param(IS_OB_SEC_SIZE(SecSize)); in FLASH_OB_SecMemConfig()
715 FLASH->SECR = (secmem | BootEntry | SecSize); in FLASH_OB_SecMemConfig()
852 static void FLASH_OB_GetSecMem(uint32_t *BootEntry, uint32_t *SecSize) in FLASH_OB_GetSecMem() argument
857 *SecSize = (secmem & FLASH_SECR_SEC_SIZE); in FLASH_OB_GetSecMem()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_flash_ex.c369 if (FLASH_OB_SecMemConfig(pOBInit->SecBank, pOBInit->SecSize) != HAL_OK) in HAL_FLASHEx_OBProgram()
445 FLASH_OB_GetSecMem(pOBInit->SecBank, &(pOBInit->SecSize)); in HAL_FLASHEx_OBGetConfig()
1120 static HAL_StatusTypeDef FLASH_OB_SecMemConfig(uint32_t SecBank, uint32_t SecSize) in FLASH_OB_SecMemConfig() argument
1126 assert_param(IS_OB_SECMEM_SIZE(SecSize)); in FLASH_OB_SecMemConfig()
1136 MODIFY_REG(FLASH->SEC1R, FLASH_SEC1R_SEC_SIZE1, SecSize); in FLASH_OB_SecMemConfig()
1141 MODIFY_REG(FLASH->SEC2R, FLASH_SEC2R_SEC_SIZE2, SecSize); in FLASH_OB_SecMemConfig()
1208 static void FLASH_OB_GetSecMem(uint32_t SecBank, uint32_t *SecSize) in FLASH_OB_GetSecMem() argument
1213 *SecSize = READ_BIT(FLASH->SEC1R, FLASH_SEC1R_SEC_SIZE1); in FLASH_OB_GetSecMem()
1218 *SecSize = READ_BIT(FLASH->SEC2R, FLASH_SEC2R_SEC_SIZE2); in FLASH_OB_GetSecMem()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_hal_flash.h107 …uint32_t SecSize; /*!< This parameter defines securable memory area width in number of p… member
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_hal_flash.h102 …uint32_t SecSize; /*!< Size of securable memory area to be programmed (used for OPTIONBYTE_… member
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_hal_flash.h122 …uint32_t SecSize; /*!< This parameter defines securable memory area width in number of p… member