/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/ |
D | stm32u5xx_hal_rtc_ex.c | 1317 CLEAR_REG(TAMP->COUNTR); in HAL_RTCEx_MonotonicCounterIncrement() 1338 *Value = READ_REG(TAMP->COUNTR); in HAL_RTCEx_MonotonicCounterGet() 1599 tmpreg = READ_REG(TAMP->CR2); in HAL_RTCEx_SetTamper() 1617 WRITE_REG(TAMP->CR2, tmpreg); in HAL_RTCEx_SetTamper() 1620 …WRITE_REG(TAMP->FLTCR, sTamper->Filter | sTamper->SamplingFrequency | sTamper->PrechargeDuration |… in HAL_RTCEx_SetTamper() 1632 SET_BIT(TAMP->CR1, sTamper->Tamper); in HAL_RTCEx_SetTamper() 1663 tmpreg = READ_REG(TAMP->CR2); in HAL_RTCEx_SetTamper_IT() 1689 WRITE_REG(TAMP->CR2, tmpreg); in HAL_RTCEx_SetTamper_IT() 1692 …WRITE_REG(TAMP->FLTCR, sTamper->Filter | sTamper->SamplingFrequency | sTamper->PrechargeDuration |… in HAL_RTCEx_SetTamper_IT() 1704 SET_BIT(TAMP->IER, sTamper->Tamper); in HAL_RTCEx_SetTamper_IT() [all …]
|
D | stm32u5xx_hal_rtc.c | 451 WRITE_REG(TAMP->CR1, RTC_INT_TAMPER_ALL); in HAL_RTC_DeInit() 452 CLEAR_REG(TAMP->CR2); in HAL_RTC_DeInit() 453 CLEAR_REG(TAMP->CR3); in HAL_RTC_DeInit() 454 CLEAR_REG(TAMP->FLTCR); in HAL_RTC_DeInit() 455 WRITE_REG(TAMP->ATCR1, TAMP_ATCR1_ATCKSEL); in HAL_RTC_DeInit() 456 CLEAR_REG(TAMP->ATOR); in HAL_RTC_DeInit() 457 CLEAR_REG(TAMP->ATCR2); in HAL_RTC_DeInit() 459 WRITE_REG(TAMP->SECCFGR, TAMP_SECCFGR_TAMPSEC); in HAL_RTC_DeInit() 461 CLEAR_REG(TAMP->PRIVCFGR); in HAL_RTC_DeInit()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/hal/Src/ |
D | stm32h5xx_hal_rtc_ex.c | 1376 CLEAR_REG(TAMP->COUNT1R); in HAL_RTCEx_MonotonicCounterIncrement() 1398 *pValue = READ_REG(TAMP->COUNT1R); in HAL_RTCEx_MonotonicCounterGet() 1670 tmpreg = READ_REG(TAMP->CR2); in HAL_RTCEx_SetTamper() 1688 WRITE_REG(TAMP->CR2, tmpreg); in HAL_RTCEx_SetTamper() 1691 WRITE_REG(TAMP->FLTCR, sTamper->Filter | sTamper->SamplingFrequency | sTamper->PrechargeDuration | in HAL_RTCEx_SetTamper() 1707 SET_BIT(TAMP->CR1, sTamper->Tamper); in HAL_RTCEx_SetTamper() 1746 tmpreg = READ_REG(TAMP->CR2); in HAL_RTCEx_SetTamper_IT() 1759 WRITE_REG(TAMP->CR2, tmpreg); in HAL_RTCEx_SetTamper_IT() 1762 WRITE_REG(TAMP->FLTCR, sTamper->Filter | sTamper->SamplingFrequency | sTamper->PrechargeDuration | in HAL_RTCEx_SetTamper_IT() 1778 SET_BIT(TAMP->IER, sTamper->Tamper); in HAL_RTCEx_SetTamper_IT() [all …]
|
D | stm32h5xx_hal_rtc.c | 495 CLEAR_REG(TAMP->CR1); in HAL_RTC_DeInit() 496 CLEAR_REG(TAMP->CR2); in HAL_RTC_DeInit() 497 CLEAR_REG(TAMP->CR3); in HAL_RTC_DeInit() 498 CLEAR_REG(TAMP->FLTCR); in HAL_RTC_DeInit() 499 WRITE_REG(TAMP->ATCR1, TAMP_ATCR1_ATCKSEL); in HAL_RTC_DeInit() 500 CLEAR_REG(TAMP->ATOR); in HAL_RTC_DeInit() 501 CLEAR_REG(TAMP->ATCR2); in HAL_RTC_DeInit() 503 CLEAR_REG(TAMP->SECCFGR); in HAL_RTC_DeInit() 506 CLEAR_REG(TAMP->PRIVCFGR); in HAL_RTC_DeInit()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/hal/Inc/ |
D | stm32u5xx_hal_rtc_ex.h | 1203 #define __HAL_RTC_TAMPER_ENABLE(__HANDLE__, __TAMPER__) (TAMP->CR1 |= (__TAMPER__)) 1220 #define __HAL_RTC_TAMPER_DISABLE(__HANDLE__, __TAMPER__) (TAMP->CR1 &= ~(__TAMPER__)) 1239 #define __HAL_RTC_TAMPER_ENABLE_IT(__HANDLE__, __INTERRUPT__) (TAMP->IER |= (__INTERRUPT__)) 1257 #define __HAL_RTC_TAMPER_DISABLE_IT(__HANDLE__, __INTERRUPT__) (TAMP->IER &= ~(__INTERRUPT__)) 1288 #define __HAL_RTC_TAMPER_GET_IT(__HANDLE__, __INTERRUPT__) ((((TAMP->MISR) & (__INTERRUPT__)) !=… 1318 #define __HAL_RTC_TAMPER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((TAMP->IER) & (__INTERRUPT__… 1348 #define __HAL_RTC_TAMPER_GET_FLAG(__HANDLE__, __FLAG__) (((TAMP->SR) & (__FLAG__)) != 0U) 1378 #define __HAL_RTC_TAMPER_CLEAR_FLAG(__HANDLE__, __FLAG__) ((TAMP->SCR) = (__FLAG__))
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/bl2/ |
D | low_level_security.c | 1872 if ((READ_BIT(TAMP->ATOR, TAMP_ATOR_INITS) == 0U) || in active_tamper() 1873 (READ_REG(TAMP->IER) != 0x00000080U) || in active_tamper() 1874 (READ_REG(TAMP->ATCR1) != 0x84050080U) || in active_tamper() 1875 (READ_REG(TAMP->ATCR2) != 0xE0000000U) || in active_tamper() 1876 (READ_REG(TAMP->CR1) != 0x01010080U) || in active_tamper() 1877 (READ_REG(TAMP->CR2) != 0x00000000U)) in active_tamper() 1886 (READ_REG(TAMP->CR1) != 0x01010080U) || in active_tamper() 1888 (READ_REG(TAMP->CR1) != 0x01010000U) || in active_tamper() 1890 (READ_REG(TAMP->CR3) != 0x00000000U)) in active_tamper() 1923 if (READ_BIT(TAMP->ERCFGR, TAMP_ERCFGR0) != TAMP_ERCFGR0) in active_tamper()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/hal/Inc/ |
D | stm32h5xx_hal_rtc_ex.h | 1270 #define __HAL_RTC_TAMPER_ENABLE(__HANDLE__, __TAMPER__) (TAMP->CR1 |= (__TAMPER__)) 1287 #define __HAL_RTC_TAMPER_DISABLE(__HANDLE__, __TAMPER__) (TAMP->CR1 &= ~(__TAMPER__)) 1307 #define __HAL_RTC_TAMPER_ENABLE_IT(__HANDLE__, __INTERRUPT__) (TAMP->IER |= (__INTERRUPT__)) 1325 #define __HAL_RTC_TAMPER_DISABLE_IT(__HANDLE__, __INTERRUPT__) (TAMP->IER &= ~(__INTERRUPT__)) 1359 #define __HAL_RTC_TAMPER_GET_IT(__HANDLE__, __INTERRUPT__) ((((TAMP->MISR) & (__INTERRUPT__)) !=… 1391 #define __HAL_RTC_TAMPER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((TAMP->IER) & (__INTERRUPT__… 1423 #define __HAL_RTC_TAMPER_GET_FLAG(__HANDLE__, __FLAG__) (((TAMP->SR) & (__FLAG__)) != 0U) 1455 #define __HAL_RTC_TAMPER_CLEAR_FLAG(__HANDLE__, __FLAG__) ((TAMP->SCR) = (__FLAG__))
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/bl2/ |
D | low_level_security.c | 1983 if ((READ_BIT(TAMP->ATOR, TAMP_ATOR_INITS) == 0U) || in active_tamper() 1984 (READ_REG(TAMP->IER) != (TAMP_IER_TAMP1IE<<7)) || in active_tamper() 1985 (READ_REG(TAMP->ATCR1) != 0x84050080U) || in active_tamper() 1986 (READ_REG(TAMP->ATCR2) != TAMP_ATCR2_ATOSEL8) || in active_tamper() 1987 (READ_REG(TAMP->CR1) != (0x41000000U | (TAMP_CR1_TAMP1E<<7))) || in active_tamper() 1988 (READ_REG(TAMP->CR2) != 0x00000000U)) in active_tamper() 1997 (READ_REG(TAMP->CR1) != (0x41000000U | (TAMP_CR1_TAMP1E<<7))) || in active_tamper() 1999 (READ_REG(TAMP->CR1) != 0x41000000U) || in active_tamper() 2001 (READ_REG(TAMP->CR3) != 0x00000000U)) in active_tamper() 2030 if (READ_BIT(TAMP->ERCFGR, TAMP_ERCFGR_ERCFG0) != TAMP_ERCFGR_ERCFG0) in active_tamper()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/Device/Source/ |
D | startup_stm32u5xx_bl2.c | 402 if (READ_REG(TAMP->SR)) in Reset_Handler() 409 while(READ_REG(TAMP->SR)); in Reset_Handler()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/Device/Source/ |
D | startup_stm32h5xx_bl2.c | 518 if (READ_REG(TAMP->SR)) in Reset_Handler() 525 while(READ_REG(TAMP->SR)); in Reset_Handler()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/Device/Include/ |
D | stm32l552xx.h | 2259 #define TAMP TAMP_S macro 2673 #define TAMP TAMP_NS macro
|
D | stm32l562xx.h | 2361 #define TAMP TAMP_S macro 2796 #define TAMP TAMP_NS macro
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/Device/Include/ |
D | stm32u585xx.h | 2709 #define TAMP TAMP_S macro 3189 #define TAMP TAMP_NS macro
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/Device/Include/ |
D | stm32h573xx.h | 2858 #define TAMP TAMP_S macro 3303 #define TAMP TAMP_NS macro
|