Home
last modified time | relevance | path

Searched refs:Tamper (Results 1 – 10 of 10) sorted by relevance

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc_ex.c1687 assert_param(IS_RTC_TAMPER(sTamper->Tamper));
1702 …tmpreg &= ~((sTamper->Tamper << TAMP_CR2_TAMP1TRG_Pos) | (sTamper->Tamper << TAMP_CR2_TAMP1MSK_Pos…
1707 tmpreg |= (sTamper->Tamper << TAMP_CR2_TAMP1TRG_Pos);
1713 tmpreg |= (sTamper->Tamper << TAMP_CR2_TAMP1MSK_Pos);
1719 tmpreg |= (sTamper->Tamper << TAMP_CR2_TAMP1NOERASE_Pos);
1737 tamp->CR1 |= (sTamper->Tamper);
1754 assert_param(IS_RTC_TAMPER(sTamper->Tamper));
1772 sTamper->Trigger = (uint32_t)(sTamper->Tamper << 1);
1779 if((sTamper->Tamper & RTC_TAMPER_1) != 0)
1784 if((sTamper->Tamper & RTC_TAMPER_2) != 0)
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_rtc_ex.c374 assert_param( IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
392 sTamper->Trigger = (uint32_t)(sTamper->Tamper << 1U); in HAL_RTCEx_SetTamper()
404 if((sTamper->Tamper & RTC_TAMPER_1) != 0U) in HAL_RTCEx_SetTamper()
415 if((sTamper->Tamper & RTC_TAMPER_2) != 0U) in HAL_RTCEx_SetTamper()
423 if((sTamper->Tamper & RTC_TAMPER_3) != 0U) in HAL_RTCEx_SetTamper()
443 if((sTamper->Tamper & RTC_TAMPER_1) != 0U) in HAL_RTCEx_SetTamper()
454 if((sTamper->Tamper & RTC_TAMPER_2) != 0U) in HAL_RTCEx_SetTamper()
462 if((sTamper->Tamper & RTC_TAMPER_3) != 0U) in HAL_RTCEx_SetTamper()
472 …tmpreg = (uint32_t)((uint32_t)sTamper->Tamper | (uint32_t)sTamper->Trigger | (uint32_t)sTamper->N… in HAL_RTCEx_SetTamper()
478 …hrtc->Instance->TAMPCR &= ((uint32_t)~((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Tamper << 1… in HAL_RTCEx_SetTamper()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_rtc.h3204 __STATIC_INLINE void LL_RTC_TAMPER_Enable(TAMP_TypeDef *TAMPx, uint32_t Tamper) in LL_RTC_TAMPER_Enable() argument
3206 SET_BIT(TAMPx->CR1, Tamper); in LL_RTC_TAMPER_Enable()
3220 __STATIC_INLINE void LL_RTC_TAMPER_Disable(TAMP_TypeDef *TAMPx, uint32_t Tamper) in LL_RTC_TAMPER_Disable() argument
3222 CLEAR_BIT(TAMPx->CR1, Tamper); in LL_RTC_TAMPER_Disable()
3269 __STATIC_INLINE void LL_RTC_TAMPER_EnableEraseBKP(TAMP_TypeDef *TAMPx, uint32_t Tamper) in LL_RTC_TAMPER_EnableEraseBKP() argument
3271 CLEAR_BIT(TAMPx->CR2, Tamper); in LL_RTC_TAMPER_EnableEraseBKP()
3285 __STATIC_INLINE void LL_RTC_TAMPER_DisableEraseBKP(TAMP_TypeDef *TAMPx, uint32_t Tamper) in LL_RTC_TAMPER_DisableEraseBKP() argument
3287 SET_BIT(TAMPx->CR2, Tamper); in LL_RTC_TAMPER_DisableEraseBKP()
3424 __STATIC_INLINE void LL_RTC_TAMPER_EnableActiveLevel(TAMP_TypeDef *TAMPx, uint32_t Tamper) in LL_RTC_TAMPER_EnableActiveLevel() argument
3426 SET_BIT(TAMPx->CR2, Tamper); in LL_RTC_TAMPER_EnableActiveLevel()
[all …]
Dstm32l4xx_hal_rtc_ex.h65 uint32_t Tamper; /*!< Specifies the Tamper Pin. member
1339 HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper);
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_rtc_ex.c1074 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
1097 sTamper->Trigger = (uint32_t)(sTamper->Tamper << 1); in HAL_RTCEx_SetTamper()
1100 tmpreg = ((uint32_t)sTamper->Tamper | (uint32_t)sTamper->Trigger | (uint32_t)sTamper->Filter |\ in HAL_RTCEx_SetTamper()
1104 …hrtc->Instance->TAFCR &= (uint32_t)~((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Tamper << 1) … in HAL_RTCEx_SetTamper()
1108 tmpreg = ((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
1136 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper_IT()
1159 sTamper->Trigger = (uint32_t) (sTamper->Tamper<<1); in HAL_RTCEx_SetTamper_IT()
1162 tmpreg = ((uint32_t)sTamper->Tamper | (uint32_t)sTamper->Trigger | (uint32_t)sTamper->Filter |\ in HAL_RTCEx_SetTamper_IT()
1166 …hrtc->Instance->TAFCR &= (uint32_t)~((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Tamper << 1) … in HAL_RTCEx_SetTamper_IT()
1170 tmpreg = ((uint32_t)sTamper->Tamper | (uint32_t)sTamper->Trigger); in HAL_RTCEx_SetTamper_IT()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_ll_rtc.h2652 __STATIC_INLINE void LL_RTC_TAMPER_Enable(RTC_TypeDef *RTCx, uint32_t Tamper) in LL_RTC_TAMPER_Enable() argument
2654 SET_BIT(RTCx->TAMPCR, Tamper); in LL_RTC_TAMPER_Enable()
2671 __STATIC_INLINE void LL_RTC_TAMPER_Disable(RTC_TypeDef *RTCx, uint32_t Tamper) in LL_RTC_TAMPER_Disable() argument
2673 CLEAR_BIT(RTCx->TAMPCR, Tamper); in LL_RTC_TAMPER_Disable()
2729 __STATIC_INLINE void LL_RTC_TAMPER_EnableEraseBKP(RTC_TypeDef *RTCx, uint32_t Tamper) in LL_RTC_TAMPER_EnableEraseBKP() argument
2731 CLEAR_BIT(RTCx->TAMPCR, Tamper); in LL_RTC_TAMPER_EnableEraseBKP()
2748 __STATIC_INLINE void LL_RTC_TAMPER_DisableEraseBKP(RTC_TypeDef *RTCx, uint32_t Tamper) in LL_RTC_TAMPER_DisableEraseBKP() argument
2750 SET_BIT(RTCx->TAMPCR, Tamper); in LL_RTC_TAMPER_DisableEraseBKP()
2898 __STATIC_INLINE void LL_RTC_TAMPER_EnableActiveLevel(RTC_TypeDef *RTCx, uint32_t Tamper) in LL_RTC_TAMPER_EnableActiveLevel() argument
2900 SET_BIT(RTCx->TAMPCR, Tamper); in LL_RTC_TAMPER_EnableActiveLevel()
[all …]
Dstm32l0xx_hal_rtc_ex.h66 uint32_t Tamper; /*!< Specifies the Tamper Pin. member
1185 HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper);
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_ll_rtc.h2651 __STATIC_INLINE void LL_RTC_TAMPER_Enable(RTC_TypeDef *RTCx, uint32_t Tamper) in LL_RTC_TAMPER_Enable() argument
2653 SET_BIT(RTCx->TAFCR, Tamper); in LL_RTC_TAMPER_Enable()
2670 __STATIC_INLINE void LL_RTC_TAMPER_Disable(RTC_TypeDef *RTCx, uint32_t Tamper) in LL_RTC_TAMPER_Disable() argument
2672 CLEAR_BIT(RTCx->TAFCR, Tamper); in LL_RTC_TAMPER_Disable()
2820 __STATIC_INLINE void LL_RTC_TAMPER_EnableActiveLevel(RTC_TypeDef *RTCx, uint32_t Tamper) in LL_RTC_TAMPER_EnableActiveLevel() argument
2822 SET_BIT(RTCx->TAFCR, Tamper); in LL_RTC_TAMPER_EnableActiveLevel()
2839 __STATIC_INLINE void LL_RTC_TAMPER_DisableActiveLevel(RTC_TypeDef *RTCx, uint32_t Tamper) in LL_RTC_TAMPER_DisableActiveLevel() argument
2841 CLEAR_BIT(RTCx->TAFCR, Tamper); in LL_RTC_TAMPER_DisableActiveLevel()
Dstm32l1xx_hal_rtc_ex.h65 uint32_t Tamper; /*!< Specifies the Tamper Pin. member
1182 HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper);
/loramac-node-2.7.6/src/boards/NucleoL476/cmsis/arm-std/
Dstartup_stm32l476xx.s94 … DCD TAMP_STAMP_IRQHandler ; Tamper and TimeStamps through the EXTI line