Home
last modified time | relevance | path

Searched refs:SECCR (Results 1 – 25 of 26) sorted by relevance

12

/hal_stm32-3.6.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_flash.c185 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program()
252 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program_IT()
284 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_IRQHandler()
465 if (READ_BIT(FLASH->SECCR, FLASH_SECCR_LOCK) != 0U) in HAL_FLASH_Unlock()
472 if (READ_BIT(FLASH->SECCR, FLASH_SECCR_LOCK) != 0U) in HAL_FLASH_Unlock()
503 SET_BIT(FLASH->SECCR, FLASH_SECCR_LOCK); in HAL_FLASH_Lock()
506 if (READ_BIT(FLASH->SECCR, FLASH_SECCR_LOCK) != 0U) in HAL_FLASH_Lock()
699 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_Program_QuadWord()
739 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_Program_Burst()
Dstm32u5xx_hal_flash_ex.c204 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH->NSCR); in HAL_FLASHEx_Erase()
281 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH->NSCR); in HAL_FLASHEx_Erase_IT()
691 MODIFY_REG(FLASH->SECCR, FLASH_SECCR_INV, SecInvState); in HAL_FLASHEx_ConfigSecInversion()
710 return (FLASH->SECCR & FLASH_SECCR_INV); in HAL_FLASHEx_GetSecInversion()
896 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_MassErase()
930 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_PageErase()
/hal_stm32-3.6.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_flash.c189 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program()
296 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program_IT()
368 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_IRQHandler()
559 if (READ_BIT(FLASH->SECCR, FLASH_CR_LOCK) != 0U) in HAL_FLASH_Unlock()
566 if (READ_BIT(FLASH->SECCR, FLASH_CR_LOCK) != 0U) in HAL_FLASH_Unlock()
598 SET_BIT(FLASH->SECCR, FLASH_CR_LOCK); in HAL_FLASH_Lock()
601 if (READ_BIT(FLASH->SECCR, FLASH_CR_LOCK) == 0U) in HAL_FLASH_Lock()
814 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_Program_QuadWord()
856 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_Program_QuadWord_OBK()
895 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_Program_HalfWord()
Dstm32h5xx_hal_flash_ex.c193 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASHEx_Erase()
286 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASHEx_Erase_IT()
835 MODIFY_REG(FLASH->SECCR, FLASH_CR_INV, SecInvState); in HAL_FLASHEx_ConfigSecInversion()
854 return (FLASH->SECCR & FLASH_CR_INV); in HAL_FLASHEx_GetSecInversion()
926 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_MassErase()
974 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_Erase_Sector()
/hal_stm32-3.6.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_flash.c178 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program()
235 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program_IT()
259 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_IRQHandler()
436 if(READ_BIT(FLASH->SECCR, FLASH_SECCR_SECLOCK) != 0u) in HAL_FLASH_Unlock()
443 if (READ_BIT(FLASH->SECCR, FLASH_SECCR_SECLOCK) != 0u) in HAL_FLASH_Unlock()
474 SET_BIT(FLASH->SECCR, FLASH_SECCR_SECLOCK); in HAL_FLASH_Lock()
477 if (READ_BIT(FLASH->SECCR, FLASH_SECCR_SECLOCK) != 0u) in HAL_FLASH_Lock()
667 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_Program_DoubleWord()
Dstm32l5xx_hal_flash_ex.c190 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASHEx_Erase()
267 reg_cr = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH->NSCR); in HAL_FLASHEx_Erase_IT()
630 MODIFY_REG(FLASH->SECCR, FLASH_SECCR_SECINV, SecInvState); in HAL_FLASHEx_ConfigSecInversion()
649 return (FLASH->SECCR & FLASH_SECCR_SECINV); in HAL_FLASHEx_GetSecInversion()
755 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_MassErase()
814 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_PageErase()
/hal_stm32-3.6.0/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_hal_flash.h457 … { SET_BIT(FLASH->SECCR, ((__INTERRUPT__) & (~(FLASH_IT_ECCC | \
497 … != 0U){ CLEAR_BIT(FLASH->SECCR, ((__INTERRUPT__) & \
/hal_stm32-3.6.0/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_hal_flash.h662 …if(((__INTERRUPT__) & (~FLASH_IT_ECCC)) != 0U) { SET_BIT(FLASH->SECCR, ((__INTERRUPT__) & (~FLASH_…
702 …if(((__INTERRUPT__) & (~FLASH_IT_ECCC)) != 0U) { CLEAR_BIT(FLASH->SECCR, ((__INTERRUPT__) & (~FLAS…
/hal_stm32-3.6.0/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_hal_flash.h743 … { SET_BIT(FLASH->SECCR, ((__INTERRUPT__) & (~FLASH_IT_ECCC))); }\
774 … { CLEAR_BIT(FLASH->SECCR, ((__INTERRUPT__) & (~FLASH_IT_ECCC)));}\
/hal_stm32-3.6.0/stm32cube/stm32l5xx/soc/
Dstm32l552xx.h552 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32l562xx.h586 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
/hal_stm32-3.6.0/stm32cube/stm32u5xx/soc/
Dstm32u535xx.h446 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u545xx.h485 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u575xx.h487 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u5f7xx.h501 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u595xx.h493 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u5a5xx.h533 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u585xx.h527 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u599xx.h603 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u5g7xx.h541 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u5a9xx.h643 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
Dstm32u5f9xx.h605 …__IO uint32_t SECCR; /*!< FLASH secure control register, Address offse… member
/hal_stm32-3.6.0/stm32cube/stm32h5xx/soc/
Dstm32h562xx.h548 …__IO uint32_t SECCR; /*!< FLASH secure control register, … member
Dstm32h563xx.h726 …__IO uint32_t SECCR; /*!< FLASH secure control register, … member
Dstm32h573xx.h764 …__IO uint32_t SECCR; /*!< FLASH secure control register, … member

12