@@ -60,7 +60,7 @@ typedef struct
60
60
This parameter can be a value of @ref RTCEx_Tamper_EraseBackUp_Definitions */
61
61
62
62
uint32_t MaskFlag ; /*!< Specifies the Tamper Flag masking.
63
- This parameter can be a value of @ref RTCEx_Tamper_MaskFlag_Definitions */
63
+ This parameter can be a value of @ref RTCEx_Tamper_MaskFlag_Definitions */
64
64
65
65
uint32_t Filter ; /*!< Specifies the RTC Filter Tamper.
66
66
This parameter can be a value of @ref RTCEx_Tamper_Filter_Definitions */
@@ -641,11 +641,11 @@ typedef struct
641
641
* @param __INTERRUPT__ specifies the RTC Tamper interrupt sources to be enabled.
642
642
* This parameter can be any combination of the following values:
643
643
* @arg RTC_IT_TAMP: Tamper global interrupt
644
- * @arg RTC_IT_TAMP1: Tamper 1 interrupt
644
+ * @arg RTC_IT_TAMP1: Tamper 1 interrupt (*)
645
645
* @arg RTC_IT_TAMP2: Tamper 2 interrupt
646
- * @arg RTC_IT_TAMP3: Tamper 3 interrupt
647
- * @note RTC_IT_TAMP1 is not applicable to all devices.
648
- * @note RTC_IT_TAMP3 is not applicable to all devices.
646
+ * @arg RTC_IT_TAMP3: Tamper 3 interrupt (*)
647
+ *
648
+ * (*) value not applicable to all devices.
649
649
* @retval None
650
650
*/
651
651
#define __HAL_RTC_TAMPER_ENABLE_IT (__HANDLE__ , __INTERRUPT__ ) ((__HANDLE__)->Instance->TAMPCR |= (__INTERRUPT__))
@@ -656,40 +656,26 @@ typedef struct
656
656
* @param __INTERRUPT__ specifies the RTC Tamper interrupt sources to be disabled.
657
657
* This parameter can be any combination of the following values:
658
658
* @arg RTC_IT_TAMP: Tamper global interrupt
659
- * @arg RTC_IT_TAMP1: Tamper 1 interrupt
659
+ * @arg RTC_IT_TAMP1: Tamper 1 interrupt (*)
660
660
* @arg RTC_IT_TAMP2: Tamper 2 interrupt
661
- * @arg RTC_IT_TAMP3: Tamper 3 interrupt
662
- * @note RTC_IT_TAMP1 is not applicable to all devices.
663
- * @note RTC_IT_TAMP3 is not applicable to all devices.
661
+ * @arg RTC_IT_TAMP3: Tamper 3 interrupt (*)
662
+ *
663
+ * (*) value not applicable to all devices.
664
664
* @retval None
665
665
*/
666
666
#define __HAL_RTC_TAMPER_DISABLE_IT (__HANDLE__ , __INTERRUPT__ ) ((__HANDLE__)->Instance->TAMPCR &= ~(__INTERRUPT__))
667
667
668
- /**
669
- * @brief Check whether the specified RTC Tamper interrupt has occurred or not.
670
- * @param __HANDLE__ specifies the RTC handle.
671
- * @param __INTERRUPT__ specifies the RTC Tamper interrupt to check.
672
- * This parameter can be:
673
- * @arg RTC_IT_TAMP1: Tamper 1 interrupt
674
- * @arg RTC_IT_TAMP2: Tamper 2 interrupt
675
- * @arg RTC_IT_TAMP3: Tamper 3 interrupt
676
- * @note RTC_IT_TAMP1 is not applicable to all devices.
677
- * @note RTC_IT_TAMP3 is not applicable to all devices.
678
- * @retval None
679
- */
680
- #define __HAL_RTC_TAMPER_GET_IT (__HANDLE__ , __INTERRUPT__ ) (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__) >> 4U)) != 0U) ? 1U : 0U)
681
-
682
668
/**
683
669
* @brief Check whether the specified RTC Tamper interrupt has been enabled or not.
684
670
* @param __HANDLE__ specifies the RTC handle.
685
671
* @param __INTERRUPT__ specifies the RTC Tamper interrupt source to check.
686
672
* This parameter can be:
687
673
* @arg RTC_IT_TAMP: Tamper global interrupt
688
- * @arg RTC_IT_TAMP1: Tamper 1 interrupt
674
+ * @arg RTC_IT_TAMP1: Tamper 1 interrupt (*)
689
675
* @arg RTC_IT_TAMP2: Tamper 2 interrupt
690
- * @arg RTC_IT_TAMP3: Tamper 3 interrupt
691
- * @note RTC_IT_TAMP1 is not applicable to all devices.
692
- * @note RTC_IT_TAMP3 is not applicable to all devices.
676
+ * @arg RTC_IT_TAMP3: Tamper 3 interrupt (*)
677
+ *
678
+ * (*) value not applicable to all devices.
693
679
* @retval None
694
680
*/
695
681
#define __HAL_RTC_TAMPER_GET_IT_SOURCE (__HANDLE__ , __INTERRUPT__ ) (((((__HANDLE__)->Instance->TAMPCR) & (__INTERRUPT__)) != 0U) ? 1U : 0U)
@@ -699,11 +685,11 @@ typedef struct
699
685
* @param __HANDLE__ specifies the RTC handle.
700
686
* @param __FLAG__ specifies the RTC Tamper flag to be checked.
701
687
* This parameter can be:
702
- * @arg RTC_FLAG_TAMP1F: Tamper 1 interrupt flag
688
+ * @arg RTC_FLAG_TAMP1F: Tamper 1 interrupt flag (*)
703
689
* @arg RTC_FLAG_TAMP2F: Tamper 2 interrupt flag
704
- * @arg RTC_FLAG_TAMP3F: Tamper 3 interrupt flag
705
- * @note RTC_FLAG_TAMP1F is not applicable to all devices.
706
- * @note RTC_FLAG_TAMP3F is not applicable to all devices.
690
+ * @arg RTC_FLAG_TAMP3F: Tamper 3 interrupt flag (*)
691
+ *
692
+ * (*) value not applicable to all devices.
707
693
* @retval None
708
694
*/
709
695
#define __HAL_RTC_TAMPER_GET_FLAG (__HANDLE__ , __FLAG__ ) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U)? 1U : 0U)
@@ -713,11 +699,11 @@ typedef struct
713
699
* @param __HANDLE__ specifies the RTC handle.
714
700
* @param __FLAG__ specifies the RTC Tamper Flag to clear.
715
701
* This parameter can be:
716
- * @arg RTC_FLAG_TAMP1F: Tamper 1 interrupt flag
702
+ * @arg RTC_FLAG_TAMP1F: Tamper 1 interrupt flag (*)
717
703
* @arg RTC_FLAG_TAMP2F: Tamper 2 interrupt flag
718
- * @arg RTC_FLAG_TAMP3F: Tamper 3 interrupt flag
719
- * @note RTC_FLAG_TAMP1F is not applicable to all devices.
720
- * @note RTC_FLAG_TAMP3F is not applicable to all devices.
704
+ * @arg RTC_FLAG_TAMP3F: Tamper 3 interrupt flag (*)
705
+ *
706
+ * (*) value not applicable to all devices.
721
707
* @retval None
722
708
*/
723
709
#define __HAL_RTC_TAMPER_CLEAR_FLAG (__HANDLE__ , __FLAG__ ) ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT))
@@ -746,13 +732,13 @@ typedef struct
746
732
* @brief Enable event on the RTC Tamper and Timestamp associated EXTI line.
747
733
* @retval None.
748
734
*/
749
- #define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_EVENT () (EXTI->EMR |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
735
+ #define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_EVENT () (EXTI->EMR |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
750
736
751
737
/**
752
738
* @brief Disable event on the RTC Tamper and Timestamp associated EXTI line.
753
739
* @retval None.
754
740
*/
755
- #define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_EVENT () (EXTI->EMR &= ~RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
741
+ #define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_EVENT () (EXTI->EMR &= ~RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
756
742
757
743
/**
758
744
* @brief Enable falling edge trigger on the RTC Tamper and Timestamp associated EXTI line.
@@ -947,7 +933,7 @@ HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow(RTC_HandleTypeDef *hrtc);
947
933
* @{
948
934
*/
949
935
/* Extended RTC features functions *******************************************/
950
- void HAL_RTCEx_AlarmBEventCallback (RTC_HandleTypeDef * hrtc );
936
+ void HAL_RTCEx_AlarmBEventCallback (RTC_HandleTypeDef * hrtc );
951
937
HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent (RTC_HandleTypeDef * hrtc , uint32_t Timeout );
952
938
/**
953
939
* @}
0 commit comments