Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_flash.c166 __IO uint32_t *reg_cr; in HAL_FLASH_Program() local
186 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program()
203 CLEAR_BIT((*reg_cr), (TypeProgram & ~(FLASH_NON_SECURE_MASK))); in HAL_FLASH_Program()
227 __IO uint32_t *reg_cr; in HAL_FLASH_Program_IT() local
253 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program_IT()
256 (*reg_cr) |= (FLASH_IT_EOP | FLASH_IT_OPERR); in HAL_FLASH_Program_IT()
281 __IO uint32_t *reg_cr; in HAL_FLASH_IRQHandler() local
285 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_IRQHandler()
317 CLEAR_BIT((*reg_cr), (pFlash.ProcedureOnGoing & ~(FLASH_NON_SECURE_MASK))); in HAL_FLASH_IRQHandler()
379 (*reg_cr) &= ~(FLASH_IT_EOP | FLASH_IT_OPERR); in HAL_FLASH_IRQHandler()
[all …]
Dstm32u5xx_hal_flash_ex.c185 __IO uint32_t *reg_cr; in HAL_FLASHEx_Erase() local
205 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH->NSCR); in HAL_FLASHEx_Erase()
237 CLEAR_BIT((*reg_cr), (pEraseInit->TypeErase) & (~(FLASH_NON_SECURE_MASK))); in HAL_FLASHEx_Erase()
256 __IO uint32_t *reg_cr; in HAL_FLASHEx_Erase_IT() local
282 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH->NSCR); in HAL_FLASHEx_Erase_IT()
285 (*reg_cr) |= (FLASH_IT_EOP | FLASH_IT_OPERR); in HAL_FLASHEx_Erase_IT()
891 __IO uint32_t *reg_cr; in FLASH_MassErase() local
897 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_MassErase()
902 SET_BIT((*reg_cr), FLASH_NSCR_MER1 | FLASH_NSCR_STRT); in FLASH_MassErase()
908 SET_BIT((*reg_cr), FLASH_NSCR_MER2 | FLASH_NSCR_STRT); in FLASH_MassErase()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_flash.c210 __IO uint32_t *reg_cr; in HAL_FLASH_Program_IT() local
236 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program_IT()
239 (*reg_cr) |= (FLASH_IT_EOP | FLASH_IT_OPERR); in HAL_FLASH_Program_IT()
Dstm32l5xx_hal_flash_ex.c242 __IO uint32_t *reg_cr; in HAL_FLASHEx_Erase_IT() local
268 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH->NSCR); in HAL_FLASHEx_Erase_IT()
271 (*reg_cr) |= (FLASH_IT_EOP | FLASH_IT_OPERR); in HAL_FLASHEx_Erase_IT()