Home
last modified time | relevance | path

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

/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_flash.c301 __IO uint32_t *reg_sr; in HAL_FLASH_IRQHandler() local
311 reg_sr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECSR) : &(FLASH_NS->NSSR); in HAL_FLASH_IRQHandler()
313 reg_sr = &(FLASH_NS->NSSR); in HAL_FLASH_IRQHandler()
317 error = (*reg_sr) & FLASH_FLAG_SR_ERRORS; in HAL_FLASH_IRQHandler()
346 (*reg_sr) = error; in HAL_FLASH_IRQHandler()
362 if (((*reg_sr) & FLASH_FLAG_EOP) != 0U) in HAL_FLASH_IRQHandler()
365 (*reg_sr) = FLASH_FLAG_EOP; in HAL_FLASH_IRQHandler()
653 __IO uint32_t *reg_sr; in FLASH_WaitForLastOperation() local
657 reg_sr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECSR) : &(FLASH_NS->NSSR); in FLASH_WaitForLastOperation()
659 reg_sr = &(FLASH_NS->NSSR); in FLASH_WaitForLastOperation()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_flash.c281 __IO uint32_t *reg_sr; in HAL_FLASH_IRQHandler() local
285 reg_sr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECSR) : &(FLASH_NS->NSSR); in HAL_FLASH_IRQHandler()
288 error = (*reg_sr) & FLASH_FLAG_SR_ERRORS; in HAL_FLASH_IRQHandler()
325 (*reg_sr) = error; in HAL_FLASH_IRQHandler()
341 if (((*reg_sr) & FLASH_FLAG_EOP) != 0U) in HAL_FLASH_IRQHandler()
344 (*reg_sr) = FLASH_FLAG_EOP; in HAL_FLASH_IRQHandler()
631 __IO uint32_t *reg_sr; in FLASH_WaitForLastOperation() local
634 reg_sr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECSR) : &(FLASH_NS->NSSR); in FLASH_WaitForLastOperation()
636 while (((*reg_sr) & (FLASH_FLAG_BSY | FLASH_FLAG_WDW)) != 0U) in FLASH_WaitForLastOperation()
648 error = ((*reg_sr) & FLASH_FLAG_SR_ERRORS); in FLASH_WaitForLastOperation()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_flash.c256 __IO uint32_t *reg_sr; in HAL_FLASH_IRQHandler() local
260 reg_sr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECSR) : &(FLASH_NS->NSSR); in HAL_FLASH_IRQHandler()
263 error = (*reg_sr) & FLASH_FLAG_SR_ERRORS; in HAL_FLASH_IRQHandler()
296 (*reg_sr) = error; in HAL_FLASH_IRQHandler()
312 if (((*reg_sr) & FLASH_FLAG_EOP) != 0U) in HAL_FLASH_IRQHandler()
315 (*reg_sr) = FLASH_FLAG_EOP; in HAL_FLASH_IRQHandler()
603 __IO uint32_t *reg_sr; in FLASH_WaitForLastOperation() local
617 reg_sr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECSR) : &(FLASH_NS->NSSR); in FLASH_WaitForLastOperation()
620 error = ((*reg_sr) & FLASH_FLAG_SR_ERRORS); in FLASH_WaitForLastOperation()
631 (*reg_sr) = error; in FLASH_WaitForLastOperation()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_flash.c364 __IO uint32_t *reg_sr; in HAL_FLASH_IRQHandler() local
370 reg_sr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECSR) : &(FLASH_NS->NSSR); in HAL_FLASH_IRQHandler()
374 reg_sr = &(FLASH_NS->NSSR); in HAL_FLASH_IRQHandler()
378 errorflag = (*reg_sr) & FLASH_FLAG_SR_ERRORS; in HAL_FLASH_IRQHandler()
428 if (((*reg_sr) & FLASH_FLAG_EOP) != 0U) in HAL_FLASH_IRQHandler()
731 __IO uint32_t *reg_sr; in FLASH_WaitForLastOperation() local
738 reg_sr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECSR) : &(FLASH_NS->NSSR); in FLASH_WaitForLastOperation()
740 reg_sr = &(FLASH_NS->NSSR); in FLASH_WaitForLastOperation()
744 while (((*reg_sr) & (FLASH_FLAG_BSY | FLASH_FLAG_WBNE | FLASH_FLAG_DBNE)) != 0U) in FLASH_WaitForLastOperation()
763 errorflag = ((*reg_sr) & FLASH_FLAG_SR_ERRORS); in FLASH_WaitForLastOperation()
[all …]