Searched refs:reg_cr (Results 1 – 4 of 4) sorted by relevance
166 __IO uint32_t *reg_cr; in HAL_FLASH_Program() local186 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() local253 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() local285 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 …]
185 __IO uint32_t *reg_cr; in HAL_FLASHEx_Erase() local205 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() local282 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() local897 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 …]
210 __IO uint32_t *reg_cr; in HAL_FLASH_Program_IT() local236 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()
242 __IO uint32_t *reg_cr; in HAL_FLASHEx_Erase_IT() local268 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()