summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h')
-rw-r--r--bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h
index 142c75a874..943ba4ff01 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_rtc.h
@@ -35,6 +35,7 @@ extern "C" {
#if defined(RTC)
/** @defgroup RTC_LL RTC
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -42,6 +43,7 @@ extern "C" {
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/** @defgroup RTC_LL_Private_Constants RTC Private Constants
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
/* Masks Definition */
@@ -67,6 +69,7 @@ extern "C" {
/* Private macros ------------------------------------------------------------*/
#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RTC_LL_Private_Macros RTC Private Macros
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
/**
@@ -77,6 +80,7 @@ extern "C" {
/* Exported types ------------------------------------------------------------*/
#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RTC_LL_ES_INIT RTC Exported Init structure
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -198,11 +202,13 @@ typedef struct
/* Exported constants --------------------------------------------------------*/
/** @defgroup RTC_LL_Exported_Constants RTC Exported Constants
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RTC_LL_EC_FORMAT FORMAT
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_FORMAT_BIN 0x00000000U /*!< Binary data format */
@@ -212,6 +218,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_ALMA_WEEKDAY_SELECTION RTC Alarm A Date WeekDay
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_ALMA_DATEWEEKDAYSEL_DATE 0x00000000U /*!< Alarm A Date is selected */
@@ -221,6 +228,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_ALMB_WEEKDAY_SELECTION RTC Alarm B Date WeekDay
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_ALMB_DATEWEEKDAYSEL_DATE 0x00000000U /*!< Alarm B Date is selected */
@@ -232,6 +240,7 @@ typedef struct
#endif /* USE_FULL_LL_DRIVER */
/** @defgroup RTC_LL_EC_GET_FLAG Get Flags Defines
+ * @ingroup RTEMSBSPsARMSTM32H7
* @brief Flags defines which can be used with LL_RTC_ReadReg function
* @{
*/
@@ -276,6 +285,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_IT IT Defines
+ * @ingroup RTEMSBSPsARMSTM32H7
* @brief IT defines which can be used with LL_RTC_ReadReg and LL_RTC_WriteReg functions
* @{
*/
@@ -300,6 +310,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_WEEKDAY WEEK DAY
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_WEEKDAY_MONDAY (uint8_t)0x01 /*!< Monday */
@@ -314,6 +325,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_MONTH MONTH
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_MONTH_JANUARY (uint8_t)0x01 /*!< January */
@@ -333,6 +345,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_HOURFORMAT HOUR FORMAT
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_HOURFORMAT_24HOUR 0x00000000U /*!< 24 hour/day format */
@@ -342,6 +355,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_ALARMOUT ALARM OUTPUT
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_ALARMOUT_DISABLE 0x00000000U /*!< Output disabled */
@@ -353,6 +367,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_ALARM_OUTPUTTYPE ALARM OUTPUT TYPE
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#if defined(RTC_CR_TAMPALRM_TYPE)
@@ -368,6 +383,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_OUTPUTPOLARITY_PIN OUTPUT POLARITY PIN
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_OUTPUTPOLARITY_PIN_HIGH 0x00000000U /*!< Pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL)*/
@@ -377,6 +393,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_TIME_FORMAT TIME FORMAT
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TIME_FORMAT_AM_OR_24 0x00000000U /*!< AM or 24-hour format */
@@ -386,6 +403,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_SHIFT_SECOND SHIFT SECOND
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_SHIFT_SECOND_DELAY 0x00000000U /* Delay (seconds) = SUBFS / (PREDIV_S + 1) */
@@ -395,6 +413,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_ALMA_MASK ALARMA MASK
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_ALMA_MASK_NONE 0x00000000U /*!< No masks applied on Alarm A*/
@@ -408,6 +427,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_ALMA_TIME_FORMAT ALARMA TIME FORMAT
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_ALMA_TIME_FORMAT_AM 0x00000000U /*!< AM or 24-hour format */
@@ -417,6 +437,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_ALMB_MASK ALARMB MASK
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_ALMB_MASK_NONE 0x00000000U /*!< No masks applied on Alarm B*/
@@ -430,6 +451,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_ALMB_TIME_FORMAT ALARMB TIME FORMAT
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_ALMB_TIME_FORMAT_AM 0x00000000U /*!< AM or 24-hour format */
@@ -439,6 +461,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_TIMESTAMP_EDGE TIMESTAMP EDGE
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TIMESTAMP_EDGE_RISING 0x00000000U /*!< RTC_TS input rising edge generates a time-stamp event */
@@ -448,6 +471,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_TS_TIME_FORMAT TIMESTAMP TIME FORMAT
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TS_TIME_FORMAT_AM 0x00000000U /*!< AM or 24-hour format */
@@ -458,6 +482,7 @@ typedef struct
#if defined(TAMP_CR1_TAMP1E)
/** @defgroup RTC_LL_EC_TAMPER TAMPER
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_1 TAMP_CR1_TAMP1E /*!< Tamper 1 input detection */
@@ -474,6 +499,7 @@ typedef struct
#if defined(TAMP_CR1_TAMP1E)
/** @defgroup RTC_LL_EC_TAMPER_MASK TAMPER MASK
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_MASK_TAMPER1 TAMP_CR2_TAMP1MSK /*!< Tamper 1 event generates a trigger event. TAMP1F is masked and internally cleared by hardware. The backup registers are not erased */
@@ -490,6 +516,7 @@ typedef struct
#if defined(TAMP_CR1_TAMP1E)
/** @defgroup RTC_LL_EC_TAMPER_NOERASE TAMPER NO ERASE
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_NOERASE_TAMPER1 TAMP_CR2_TAMP1NOERASE /*!< Tamper 1 event does not erase the backup registers. */
@@ -506,6 +533,7 @@ typedef struct
#if defined(TAMP_FLTCR_TAMPPRCH)
/** @defgroup RTC_LL_EC_TAMPER_DURATION TAMPER DURATION
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_DURATION_1RTCCLK 0x00000000U /*!< Tamper pins are pre-charged before sampling during 1 RTCCLK cycle */
@@ -519,6 +547,7 @@ typedef struct
#if defined(TAMP_FLTCR_TAMPFLT)
/** @defgroup RTC_LL_EC_TAMPER_FILTER TAMPER FILTER
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_FILTER_DISABLE 0x00000000U /*!< Tamper filter is disabled */
@@ -532,6 +561,7 @@ typedef struct
#if defined(TAMP_FLTCR_TAMPFREQ)
/** @defgroup RTC_LL_EC_TAMPER_SAMPLFREQDIV TAMPER SAMPLING FREQUENCY DIVIDER
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_SAMPLFREQDIV_32768 0x00000000U /*!< Each of the tamper inputs are sampled with a frequency = RTCCLK / 32768 */
@@ -549,6 +579,7 @@ typedef struct
#if defined(TAMP_CR1_TAMP1E)
/** @defgroup RTC_LL_EC_TAMPER_ACTIVELEVEL TAMPER ACTIVE LEVEL
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_ACTIVELEVEL_TAMP1 TAMP_CR2_TAMP1TRG /*!< Tamper 1 input falling edge (if TAMPFLT = 00) or staying high (if TAMPFLT != 00) triggers a tamper detection event */
@@ -565,6 +596,7 @@ typedef struct
#if defined (RTC_TAMPCR_TAMP1E)
/** @defgroup RTC_LL_EC_TAMPER TAMPER
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_1 RTC_TAMPCR_TAMP1E /*!< RTC_TAMP1 input detection */
@@ -581,6 +613,7 @@ typedef struct
#if defined (RTC_TAMPCR_TAMP1E)
/** @defgroup RTC_LL_EC_TAMPER_MASK TAMPER MASK
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_MASK_TAMPER1 RTC_TAMPCR_TAMP1MF /*!< Tamper 1 event generates a trigger event. TAMP1F is masked and internally cleared by hardware.The backup registers are not erased */
@@ -597,6 +630,7 @@ typedef struct
#if defined (RTC_TAMPCR_TAMP1E)
/** @defgroup RTC_LL_EC_TAMPER_NOERASE TAMPER NO ERASE
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_NOERASE_TAMPER1 RTC_TAMPCR_TAMP1NOERASE /*!< Tamper 1 event does not erase the backup registers. */
@@ -613,6 +647,7 @@ typedef struct
#if defined(RTC_TAMPCR_TAMPPRCH)
/** @defgroup RTC_LL_EC_TAMPER_DURATION TAMPER DURATION
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_DURATION_1RTCCLK 0x00000000U /*!< Tamper pins are pre-charged before sampling during 1 RTCCLK cycle */
@@ -626,6 +661,7 @@ typedef struct
#if defined(RTC_TAMPCR_TAMPFLT)
/** @defgroup RTC_LL_EC_TAMPER_FILTER TAMPER FILTER
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_FILTER_DISABLE 0x00000000U /*!< Tamper filter is disabled */
@@ -639,6 +675,7 @@ typedef struct
#if defined(RTC_TAMPCR_TAMPFREQ)
/** @defgroup RTC_LL_EC_TAMPER_SAMPLFREQDIV TAMPER SAMPLING FREQUENCY DIVIDER
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_SAMPLFREQDIV_32768 0x00000000U /*!< Each of the tamper inputs are sampled with a frequency = RTCCLK / 32768 */
@@ -656,6 +693,7 @@ typedef struct
#if defined (RTC_TAMPCR_TAMP1E)
/** @defgroup RTC_LL_EC_TAMPER_ACTIVELEVEL TAMPER ACTIVE LEVEL
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_ACTIVELEVEL_TAMP1 RTC_TAMPCR_TAMP1TRG /*!< RTC_TAMP1 input falling edge (if TAMPFLT = 00) or staying high (if TAMPFLT != 00) triggers a tamper detection event*/
@@ -672,6 +710,7 @@ typedef struct
#if defined(TAMP_ATCR1_TAMP1AM)
/** @defgroup RTC_LL_EC_ACTIVE_MODE ACTIVE TAMPER MODE
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_ATAMP_TAMP1AM TAMP_ATCR1_TAMP1AM /*!< tamper 1 is active */
@@ -688,6 +727,7 @@ typedef struct
#if defined(TAMP_ATCR1_ATCKSEL)
/** @defgroup RTC_LL_EC_ACTIVE_ASYNC_PRESCALER ACTIVE TAMPER ASYNCHRONOUS PRESCALER CLOCK
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_ATAMP_ASYNCPRES_RTCCLK 0U /*!< RTCCLK */
@@ -705,6 +745,7 @@ typedef struct
#if defined(TAMP_ATCR1_TAMP1AM)
/** @defgroup RTC_LL_EC_ACTIVE_OUTPUT_SELECTION ACTIVE TAMPER OUTPUT SELECTION
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_TAMPER_ATAMP1IN_ATAMP1OUT (0UL << TAMP_ATCR2_ATOSEL1_Pos)
@@ -728,6 +769,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_WAKEUPCLOCK_DIV WAKEUP CLOCK DIV
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_WAKEUPCLOCK_DIV_16 0x00000000U /*!< RTC/16 clock is selected */
@@ -741,6 +783,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_BKP BACKUP
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_BKP_DR0 0x00000000U
@@ -780,6 +823,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_CALIB_OUTPUT Calibration output
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_CALIB_OUTPUT_NONE 0x00000000U /*!< Calibration output disabled */
@@ -790,6 +834,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_CALIB_INSERTPULSE Calibration pulse insertion
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_CALIB_INSERTPULSE_NONE 0x00000000U /*!< No RTCCLK pulses are added */
@@ -799,6 +844,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EC_CALIB_PERIOD Calibration period
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
#define LL_RTC_CALIB_PERIOD_32SEC 0x00000000U /*!< Use a 32-second calibration cycle period */
@@ -814,10 +860,12 @@ typedef struct
/* Exported macro ------------------------------------------------------------*/
/** @defgroup RTC_LL_Exported_Macros RTC Exported Macros
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
/** @defgroup RTC_LL_EM_WRITE_READ Common Write and read registers Macros
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -842,6 +890,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EM_Convert Convert helper Macros
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -864,6 +913,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EM_Date Date helper Macros
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -919,6 +969,7 @@ typedef struct
*/
/** @defgroup RTC_LL_EM_Time Time helper Macros
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -953,10 +1004,12 @@ typedef struct
/* Exported functions --------------------------------------------------------*/
/** @defgroup RTC_LL_Exported_Functions RTC Exported Functions
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
/** @defgroup RTC_LL_EF_Configuration Configuration
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -1437,6 +1490,7 @@ __STATIC_INLINE void LL_RTC_DisableOutRemap(RTC_TypeDef *RTCx)
*/
/** @defgroup RTC_LL_EF_Time Time
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -1738,6 +1792,7 @@ __STATIC_INLINE void LL_RTC_TIME_Synchronize(RTC_TypeDef *RTCx, uint32_t ShiftSe
*/
/** @defgroup RTC_LL_EF_Date Date
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -1973,6 +2028,7 @@ __STATIC_INLINE uint32_t LL_RTC_DATE_Get(RTC_TypeDef *RTCx)
*/
/** @defgroup RTC_LL_EF_ALARMA ALARMA
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -2339,6 +2395,7 @@ __STATIC_INLINE uint32_t LL_RTC_ALMA_GetSubSecond(RTC_TypeDef *RTCx)
*/
/** @defgroup RTC_LL_EF_ALARMB ALARMB
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -2705,6 +2762,7 @@ __STATIC_INLINE uint32_t LL_RTC_ALMB_GetSubSecond(RTC_TypeDef *RTCx)
*/
/** @defgroup RTC_LL_EF_Timestamp Timestamp
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -2946,6 +3004,7 @@ __STATIC_INLINE uint32_t LL_RTC_TS_GetSubSecond(RTC_TypeDef *RTCx)
*/
/** @defgroup RTC_LL_EF_Tamper_Timestamp Time-stamp on Tamper
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -3003,6 +3062,7 @@ __STATIC_INLINE void LL_RTC_TS_DisableOnTamper(RTC_TypeDef *RTCx)
*/
/** @defgroup RTC_LL_EF_Tamper Tamper
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -3565,6 +3625,7 @@ __STATIC_INLINE uint32_t LL_RTC_TAMPER_GetSamplingFreq(TAMP_TypeDef *TAMPx)
*/
/** @defgroup RTC_LL_EF_Wakeup Wakeup
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -3670,6 +3731,7 @@ __STATIC_INLINE uint32_t LL_RTC_WAKEUP_GetAutoReload(RTC_TypeDef *RTCx)
/** @defgroup RTC_LL_EF_Backup_Registers Backup_Registers
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -3885,6 +3947,7 @@ __STATIC_INLINE uint32_t LL_RTC_BKP_GetRegister(TAMP_TypeDef *TAMPx, uint32_t Ba
/** @defgroup RTC_LL_EF_Calibration Calibration
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -4011,6 +4074,7 @@ __STATIC_INLINE uint32_t LL_RTC_CAL_GetMinus(RTC_TypeDef *RTCx)
/** @defgroup RTC_LL_EF_FLAG_Management FLAG_Management
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -4740,6 +4804,7 @@ __STATIC_INLINE void LL_RTC_ClearFlag_TAMP3(TAMP_TypeDef *TAMPx)
*/
/** @defgroup RTC_LL_EF_IT_Management IT_Management
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
@@ -5149,6 +5214,7 @@ __STATIC_INLINE uint32_t LL_RTC_IsEnabledIT_TAMP3(TAMP_TypeDef *TAMPx)
#if defined (TAMP_ATCR1_TAMP1AM)
/** @defgroup RTC_LL_EF_Active_Tamper Active Tamper
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/
/**
@@ -5332,6 +5398,7 @@ __STATIC_INLINE uint32_t LL_RTC_IsActiveFlag_ATAMP_SEEDF(void)
#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup RTC_LL_EF_Init Initialization and de-initialization functions
+ * @ingroup RTEMSBSPsARMSTM32H7
* @{
*/