Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
stm32l4xx_ll_rtc.h File Reference
Header file of RTC LL module. More...
Go to the source code of this file.
Functions | |
__STATIC_INLINE void | LL_RTC_SetHourFormat (RTC_TypeDef *RTCx, uint32_t Format) |
Set Hour format (24 hour/day or AM/PM hour format) | |
__STATIC_INLINE uint32_t | LL_RTC_GetHourFormat (RTC_TypeDef *RTCx) |
Get Hour format (24 hour/day or AM/PM hour format) CR FMT LL_RTC_GetHourFormat. | |
__STATIC_INLINE void | LL_RTC_SetAlarmOutEvent (RTC_TypeDef *RTCx, uint32_t AlarmOutput) |
Select the flag to be routed to RTC_ALARM output. | |
__STATIC_INLINE uint32_t | LL_RTC_GetAlarmOutEvent (RTC_TypeDef *RTCx) |
Get the flag to be routed to RTC_ALARM output CR OSEL LL_RTC_GetAlarmOutEvent. | |
__STATIC_INLINE void | LL_RTC_SetAlarmOutputType (RTC_TypeDef *RTCx, uint32_t Output) |
Set RTC_ALARM output type (ALARM in push-pull or open-drain output) | |
__STATIC_INLINE uint32_t | LL_RTC_GetAlarmOutputType (RTC_TypeDef *RTCx) |
Get RTC_ALARM output type (ALARM in push-pull or open-drain output) | |
__STATIC_INLINE void | LL_RTC_EnableInitMode (RTC_TypeDef *RTCx) |
Enable initialization mode (Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). | |
__STATIC_INLINE void | LL_RTC_DisableInitMode (RTC_TypeDef *RTCx) |
Disable initialization mode (Free running mode) ISR INIT LL_RTC_DisableInitMode. | |
__STATIC_INLINE void | LL_RTC_SetOutputPolarity (RTC_TypeDef *RTCx, uint32_t Polarity) |
Set Output polarity (pin is low when ALRAF/ALRBF/WUTF is asserted) | |
__STATIC_INLINE uint32_t | LL_RTC_GetOutputPolarity (RTC_TypeDef *RTCx) |
Get Output polarity CR POL LL_RTC_GetOutputPolarity. | |
__STATIC_INLINE void | LL_RTC_EnableShadowRegBypass (RTC_TypeDef *RTCx) |
Enable Bypass the shadow registers. | |
__STATIC_INLINE void | LL_RTC_DisableShadowRegBypass (RTC_TypeDef *RTCx) |
Disable Bypass the shadow registers CR BYPSHAD LL_RTC_DisableShadowRegBypass. | |
__STATIC_INLINE uint32_t | LL_RTC_IsShadowRegBypassEnabled (RTC_TypeDef *RTCx) |
Check if Shadow registers bypass is enabled or not. | |
__STATIC_INLINE void | LL_RTC_EnableRefClock (RTC_TypeDef *RTCx) |
Enable RTC_REFIN reference clock detection (50 or 60 Hz) | |
__STATIC_INLINE void | LL_RTC_DisableRefClock (RTC_TypeDef *RTCx) |
Disable RTC_REFIN reference clock detection (50 or 60 Hz) | |
__STATIC_INLINE void | LL_RTC_SetAsynchPrescaler (RTC_TypeDef *RTCx, uint32_t AsynchPrescaler) |
Set Asynchronous prescaler factor PRER PREDIV_A LL_RTC_SetAsynchPrescaler. | |
__STATIC_INLINE void | LL_RTC_SetSynchPrescaler (RTC_TypeDef *RTCx, uint32_t SyncPrescaler) |
Set Synchronous prescaler factor PRER PREDIV_S LL_RTC_SetSynchPrescaler. | |
__STATIC_INLINE uint32_t | LL_RTC_GetAsynchPrescaler (RTC_TypeDef *RTCx) |
Get Asynchronous prescaler factor PRER PREDIV_A LL_RTC_GetAsynchPrescaler. | |
__STATIC_INLINE uint32_t | LL_RTC_GetSynchPrescaler (RTC_TypeDef *RTCx) |
Get Synchronous prescaler factor PRER PREDIV_S LL_RTC_GetSynchPrescaler. | |
__STATIC_INLINE void | LL_RTC_EnableWriteProtection (RTC_TypeDef *RTCx) |
Enable the write protection for RTC registers. | |
__STATIC_INLINE void | LL_RTC_DisableWriteProtection (RTC_TypeDef *RTCx) |
Disable the write protection for RTC registers. | |
__STATIC_INLINE void | LL_RTC_EnableOutRemap (RTC_TypeDef *RTCx) |
Enable RTC_OUT remap OR OUT_RMP LL_RTC_EnableOutRemap. | |
__STATIC_INLINE void | LL_RTC_DisableOutRemap (RTC_TypeDef *RTCx) |
Disable RTC_OUT remap OR OUT_RMP LL_RTC_DisableOutRemap. | |
__STATIC_INLINE void | LL_RTC_TIME_SetFormat (RTC_TypeDef *RTCx, uint32_t Format) |
Set time format (AM/24-hour or PM notation) | |
__STATIC_INLINE uint32_t | LL_RTC_TIME_GetFormat (RTC_TypeDef *RTCx) |
Get time format (AM or PM notation) | |
__STATIC_INLINE void | LL_RTC_TIME_SetHour (RTC_TypeDef *RTCx, uint32_t Hour) |
Set Hour in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TIME_GetHour (RTC_TypeDef *RTCx) |
Get Hour in BCD format. | |
__STATIC_INLINE void | LL_RTC_TIME_SetMinute (RTC_TypeDef *RTCx, uint32_t Minute) |
Set Minute in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TIME_GetMinute (RTC_TypeDef *RTCx) |
Get Minute in BCD format. | |
__STATIC_INLINE void | LL_RTC_TIME_SetSecond (RTC_TypeDef *RTCx, uint32_t Second) |
Set Second in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TIME_GetSecond (RTC_TypeDef *RTCx) |
Get Second in BCD format. | |
__STATIC_INLINE void | LL_RTC_TIME_Config (RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hour, uint32_t Minute, uint32_t Second) |
Set time (hour, minute and second) in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TIME_Get (RTC_TypeDef *RTCx) |
Get time (hour, minute and second) in BCD format. | |
__STATIC_INLINE void | LL_RTC_TIME_EnableDayLightStore (RTC_TypeDef *RTCx) |
Memorize whether the daylight saving time change has been performed. | |
__STATIC_INLINE void | LL_RTC_TIME_DisableDayLightStore (RTC_TypeDef *RTCx) |
Disable memorization whether the daylight saving time change has been performed. | |
__STATIC_INLINE uint32_t | LL_RTC_TIME_IsDayLightStoreEnabled (RTC_TypeDef *RTCx) |
Check if RTC Day Light Saving stored operation has been enabled or not CR BCK LL_RTC_TIME_IsDayLightStoreEnabled. | |
__STATIC_INLINE void | LL_RTC_TIME_DecHour (RTC_TypeDef *RTCx) |
Subtract 1 hour (winter time change) | |
__STATIC_INLINE void | LL_RTC_TIME_IncHour (RTC_TypeDef *RTCx) |
Add 1 hour (summer time change) | |
__STATIC_INLINE uint32_t | LL_RTC_TIME_GetSubSecond (RTC_TypeDef *RTCx) |
Get Sub second value in the synchronous prescaler counter. | |
__STATIC_INLINE void | LL_RTC_TIME_Synchronize (RTC_TypeDef *RTCx, uint32_t ShiftSecond, uint32_t Fraction) |
Synchronize to a remote clock with a high degree of precision. | |
__STATIC_INLINE void | LL_RTC_DATE_SetYear (RTC_TypeDef *RTCx, uint32_t Year) |
Set Year in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetYear (RTC_TypeDef *RTCx) |
Get Year in BCD format. | |
__STATIC_INLINE void | LL_RTC_DATE_SetWeekDay (RTC_TypeDef *RTCx, uint32_t WeekDay) |
Set Week day DR WDU LL_RTC_DATE_SetWeekDay. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetWeekDay (RTC_TypeDef *RTCx) |
Get Week day. | |
__STATIC_INLINE void | LL_RTC_DATE_SetMonth (RTC_TypeDef *RTCx, uint32_t Month) |
Set Month in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetMonth (RTC_TypeDef *RTCx) |
Get Month in BCD format. | |
__STATIC_INLINE void | LL_RTC_DATE_SetDay (RTC_TypeDef *RTCx, uint32_t Day) |
Set Day in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetDay (RTC_TypeDef *RTCx) |
Get Day in BCD format. | |
__STATIC_INLINE void | LL_RTC_DATE_Config (RTC_TypeDef *RTCx, uint32_t WeekDay, uint32_t Day, uint32_t Month, uint32_t Year) |
Set date (WeekDay, Day, Month and Year) in BCD format DR WDU LL_RTC_DATE_Config DR MT LL_RTC_DATE_Config DR MU LL_RTC_DATE_Config DR DT LL_RTC_DATE_Config DR DU LL_RTC_DATE_Config DR YT LL_RTC_DATE_Config DR YU LL_RTC_DATE_Config. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_Get (RTC_TypeDef *RTCx) |
Get date (WeekDay, Day, Month and Year) in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMA_Enable (RTC_TypeDef *RTCx) |
Enable Alarm A. | |
__STATIC_INLINE void | LL_RTC_ALMA_Disable (RTC_TypeDef *RTCx) |
Disable Alarm A. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetMask (RTC_TypeDef *RTCx, uint32_t Mask) |
Specify the Alarm A masks. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetMask (RTC_TypeDef *RTCx) |
Get the Alarm A masks. | |
__STATIC_INLINE void | LL_RTC_ALMA_EnableWeekday (RTC_TypeDef *RTCx) |
Enable AlarmA Week day selection (DU[3:0] represents the week day. | |
__STATIC_INLINE void | LL_RTC_ALMA_DisableWeekday (RTC_TypeDef *RTCx) |
Disable AlarmA Week day selection (DU[3:0] represents the date ) ALRMAR WDSEL LL_RTC_ALMA_DisableWeekday. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetDay (RTC_TypeDef *RTCx, uint32_t Day) |
Set ALARM A Day in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetDay (RTC_TypeDef *RTCx) |
Get ALARM A Day in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetWeekDay (RTC_TypeDef *RTCx, uint32_t WeekDay) |
Set ALARM A Weekday ALRMAR DU LL_RTC_ALMA_SetWeekDay. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetWeekDay (RTC_TypeDef *RTCx) |
Get ALARM A Weekday ALRMAR DU LL_RTC_ALMA_GetWeekDay. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetTimeFormat (RTC_TypeDef *RTCx, uint32_t Format) |
Set Alarm A time format (AM/24-hour or PM notation) ALRMAR PM LL_RTC_ALMA_SetTimeFormat. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetTimeFormat (RTC_TypeDef *RTCx) |
Get Alarm A time format (AM or PM notation) ALRMAR PM LL_RTC_ALMA_GetTimeFormat. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetHour (RTC_TypeDef *RTCx, uint32_t Hour) |
Set ALARM A Hour in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetHour (RTC_TypeDef *RTCx) |
Get ALARM A Hour in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetMinute (RTC_TypeDef *RTCx, uint32_t Minute) |
Set ALARM A Minute in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetMinute (RTC_TypeDef *RTCx) |
Get ALARM A Minute in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetSecond (RTC_TypeDef *RTCx, uint32_t Second) |
Set ALARM A Second in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSecond (RTC_TypeDef *RTCx) |
Get ALARM A Second in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMA_ConfigTime (RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hour, uint32_t Minute, uint32_t Second) |
Set Alarm A Time (hour, minute and second) in BCD format ALRMAR PM LL_RTC_ALMA_ConfigTime ALRMAR HT LL_RTC_ALMA_ConfigTime ALRMAR HU LL_RTC_ALMA_ConfigTime ALRMAR MNT LL_RTC_ALMA_ConfigTime ALRMAR MNU LL_RTC_ALMA_ConfigTime ALRMAR ST LL_RTC_ALMA_ConfigTime ALRMAR SU LL_RTC_ALMA_ConfigTime. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetTime (RTC_TypeDef *RTCx) |
Get Alarm B Time (hour, minute and second) in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetSubSecondMask (RTC_TypeDef *RTCx, uint32_t Mask) |
Set Alarm A Mask the most-significant bits starting at this bit. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSubSecondMask (RTC_TypeDef *RTCx) |
Get Alarm A Mask the most-significant bits starting at this bit ALRMASSR MASKSS LL_RTC_ALMA_GetSubSecondMask. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetSubSecond (RTC_TypeDef *RTCx, uint32_t Subsecond) |
Set Alarm A Sub seconds value ALRMASSR SS LL_RTC_ALMA_SetSubSecond. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSubSecond (RTC_TypeDef *RTCx) |
Get Alarm A Sub seconds value ALRMASSR SS LL_RTC_ALMA_GetSubSecond. | |
__STATIC_INLINE void | LL_RTC_ALMB_Enable (RTC_TypeDef *RTCx) |
Enable Alarm B. | |
__STATIC_INLINE void | LL_RTC_ALMB_Disable (RTC_TypeDef *RTCx) |
Disable Alarm B. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetMask (RTC_TypeDef *RTCx, uint32_t Mask) |
Specify the Alarm B masks. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetMask (RTC_TypeDef *RTCx) |
Get the Alarm B masks. | |
__STATIC_INLINE void | LL_RTC_ALMB_EnableWeekday (RTC_TypeDef *RTCx) |
Enable AlarmB Week day selection (DU[3:0] represents the week day. | |
__STATIC_INLINE void | LL_RTC_ALMB_DisableWeekday (RTC_TypeDef *RTCx) |
Disable AlarmB Week day selection (DU[3:0] represents the date ) ALRMBR WDSEL LL_RTC_ALMB_DisableWeekday. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetDay (RTC_TypeDef *RTCx, uint32_t Day) |
Set ALARM B Day in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetDay (RTC_TypeDef *RTCx) |
Get ALARM B Day in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetWeekDay (RTC_TypeDef *RTCx, uint32_t WeekDay) |
Set ALARM B Weekday ALRMBR DU LL_RTC_ALMB_SetWeekDay. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetWeekDay (RTC_TypeDef *RTCx) |
Get ALARM B Weekday ALRMBR DU LL_RTC_ALMB_GetWeekDay. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetTimeFormat (RTC_TypeDef *RTCx, uint32_t Format) |
Set ALARM B time format (AM/24-hour or PM notation) ALRMBR PM LL_RTC_ALMB_SetTimeFormat. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetTimeFormat (RTC_TypeDef *RTCx) |
Get ALARM B time format (AM or PM notation) ALRMBR PM LL_RTC_ALMB_GetTimeFormat. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetHour (RTC_TypeDef *RTCx, uint32_t Hour) |
Set ALARM B Hour in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetHour (RTC_TypeDef *RTCx) |
Get ALARM B Hour in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetMinute (RTC_TypeDef *RTCx, uint32_t Minute) |
Set ALARM B Minute in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetMinute (RTC_TypeDef *RTCx) |
Get ALARM B Minute in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetSecond (RTC_TypeDef *RTCx, uint32_t Second) |
Set ALARM B Second in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSecond (RTC_TypeDef *RTCx) |
Get ALARM B Second in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMB_ConfigTime (RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hour, uint32_t Minute, uint32_t Second) |
Set Alarm B Time (hour, minute and second) in BCD format ALRMBR PM LL_RTC_ALMB_ConfigTime ALRMBR HT LL_RTC_ALMB_ConfigTime ALRMBR HU LL_RTC_ALMB_ConfigTime ALRMBR MNT LL_RTC_ALMB_ConfigTime ALRMBR MNU LL_RTC_ALMB_ConfigTime ALRMBR ST LL_RTC_ALMB_ConfigTime ALRMBR SU LL_RTC_ALMB_ConfigTime. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetTime (RTC_TypeDef *RTCx) |
Get Alarm B Time (hour, minute and second) in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetSubSecondMask (RTC_TypeDef *RTCx, uint32_t Mask) |
Set Alarm B Mask the most-significant bits starting at this bit. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSubSecondMask (RTC_TypeDef *RTCx) |
Get Alarm B Mask the most-significant bits starting at this bit ALRMBSSR MASKSS LL_RTC_ALMB_GetSubSecondMask. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetSubSecond (RTC_TypeDef *RTCx, uint32_t Subsecond) |
Set Alarm B Sub seconds value ALRMBSSR SS LL_RTC_ALMB_SetSubSecond. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSubSecond (RTC_TypeDef *RTCx) |
Get Alarm B Sub seconds value ALRMBSSR SS LL_RTC_ALMB_GetSubSecond. | |
__STATIC_INLINE void | LL_RTC_TS_EnableInternalEvent (RTC_TypeDef *RTCx) |
Enable internal event timestamp. | |
__STATIC_INLINE void | LL_RTC_TS_DisableInternalEvent (RTC_TypeDef *RTCx) |
Disable internal event timestamp. | |
__STATIC_INLINE void | LL_RTC_TS_Enable (RTC_TypeDef *RTCx) |
Enable Timestamp. | |
__STATIC_INLINE void | LL_RTC_TS_Disable (RTC_TypeDef *RTCx) |
Disable Timestamp. | |
__STATIC_INLINE void | LL_RTC_TS_SetActiveEdge (RTC_TypeDef *RTCx, uint32_t Edge) |
Set Time-stamp event active edge. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetActiveEdge (RTC_TypeDef *RTCx) |
Get Time-stamp event active edge. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetTimeFormat (RTC_TypeDef *RTCx) |
Get Timestamp AM/PM notation (AM or 24-hour format) TSTR PM LL_RTC_TS_GetTimeFormat. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetHour (RTC_TypeDef *RTCx) |
Get Timestamp Hour in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetMinute (RTC_TypeDef *RTCx) |
Get Timestamp Minute in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetSecond (RTC_TypeDef *RTCx) |
Get Timestamp Second in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetTime (RTC_TypeDef *RTCx) |
Get Timestamp time (hour, minute and second) in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetWeekDay (RTC_TypeDef *RTCx) |
Get Timestamp Week day TSDR WDU LL_RTC_TS_GetWeekDay. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetMonth (RTC_TypeDef *RTCx) |
Get Timestamp Month in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetDay (RTC_TypeDef *RTCx) |
Get Timestamp Day in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetDate (RTC_TypeDef *RTCx) |
Get Timestamp date (WeekDay, Day and Month) in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_TS_GetSubSecond (RTC_TypeDef *RTCx) |
Get time-stamp sub second value TSSSR SS LL_RTC_TS_GetSubSecond. | |
__STATIC_INLINE void | LL_RTC_TS_EnableOnTamper (RTC_TypeDef *RTCx) |
Activate timestamp on tamper detection event TAMPCR TAMPTS LL_RTC_TS_EnableOnTamper. | |
__STATIC_INLINE void | LL_RTC_TS_DisableOnTamper (RTC_TypeDef *RTCx) |
Disable timestamp on tamper detection event TAMPCR TAMPTS LL_RTC_TS_DisableOnTamper. | |
__STATIC_INLINE void | LL_RTC_TAMPER_Enable (RTC_TypeDef *RTCx, uint32_t Tamper) |
Enable RTC_TAMPx input detection TAMPCR TAMP1E LL_RTC_TAMPER_Enable TAMPCR TAMP2E LL_RTC_TAMPER_Enable TAMPCR TAMP3E LL_RTC_TAMPER_Enable. | |
__STATIC_INLINE void | LL_RTC_TAMPER_Disable (RTC_TypeDef *RTCx, uint32_t Tamper) |
Clear RTC_TAMPx input detection TAMPCR TAMP1E LL_RTC_TAMPER_Disable TAMPCR TAMP2E LL_RTC_TAMPER_Disable TAMPCR TAMP3E LL_RTC_TAMPER_Disable. | |
__STATIC_INLINE void | LL_RTC_TAMPER_EnableMask (RTC_TypeDef *RTCx, uint32_t Mask) |
Enable Tamper mask flag. | |
__STATIC_INLINE void | LL_RTC_TAMPER_DisableMask (RTC_TypeDef *RTCx, uint32_t Mask) |
Disable Tamper mask flag TAMPCR TAMP1MF LL_RTC_TAMPER_DisableMask TAMPCR TAMP2MF LL_RTC_TAMPER_DisableMask TAMPCR TAMP3MF LL_RTC_TAMPER_DisableMask. | |
__STATIC_INLINE void | LL_RTC_TAMPER_EnableEraseBKP (RTC_TypeDef *RTCx, uint32_t Tamper) |
Enable backup register erase after Tamper event detection TAMPCR TAMP1NOERASE LL_RTC_TAMPER_EnableEraseBKP TAMPCR TAMP2NOERASE LL_RTC_TAMPER_EnableEraseBKP TAMPCR TAMP3NOERASE LL_RTC_TAMPER_EnableEraseBKP. | |
__STATIC_INLINE void | LL_RTC_TAMPER_DisableEraseBKP (RTC_TypeDef *RTCx, uint32_t Tamper) |
Disable backup register erase after Tamper event detection TAMPCR TAMP1NOERASE LL_RTC_TAMPER_DisableEraseBKP TAMPCR TAMP2NOERASE LL_RTC_TAMPER_DisableEraseBKP TAMPCR TAMP3NOERASE LL_RTC_TAMPER_DisableEraseBKP. | |
__STATIC_INLINE void | LL_RTC_TAMPER_DisablePullUp (RTC_TypeDef *RTCx) |
Disable RTC_TAMPx pull-up disable (Disable precharge of RTC_TAMPx pins) TAMPCR TAMPPUDIS LL_RTC_TAMPER_DisablePullUp. | |
__STATIC_INLINE void | LL_RTC_TAMPER_EnablePullUp (RTC_TypeDef *RTCx) |
Enable RTC_TAMPx pull-up disable ( Precharge RTC_TAMPx pins before sampling) TAMPCR TAMPPUDIS LL_RTC_TAMPER_EnablePullUp. | |
__STATIC_INLINE void | LL_RTC_TAMPER_SetPrecharge (RTC_TypeDef *RTCx, uint32_t Duration) |
Set RTC_TAMPx precharge duration TAMPCR TAMPPRCH LL_RTC_TAMPER_SetPrecharge. | |
__STATIC_INLINE uint32_t | LL_RTC_TAMPER_GetPrecharge (RTC_TypeDef *RTCx) |
Get RTC_TAMPx precharge duration TAMPCR TAMPPRCH LL_RTC_TAMPER_GetPrecharge. | |
__STATIC_INLINE void | LL_RTC_TAMPER_SetFilterCount (RTC_TypeDef *RTCx, uint32_t FilterCount) |
Set RTC_TAMPx filter count TAMPCR TAMPFLT LL_RTC_TAMPER_SetFilterCount. | |
__STATIC_INLINE uint32_t | LL_RTC_TAMPER_GetFilterCount (RTC_TypeDef *RTCx) |
Get RTC_TAMPx filter count TAMPCR TAMPFLT LL_RTC_TAMPER_GetFilterCount. | |
__STATIC_INLINE void | LL_RTC_TAMPER_SetSamplingFreq (RTC_TypeDef *RTCx, uint32_t SamplingFreq) |
Set Tamper sampling frequency TAMPCR TAMPFREQ LL_RTC_TAMPER_SetSamplingFreq. | |
__STATIC_INLINE uint32_t | LL_RTC_TAMPER_GetSamplingFreq (RTC_TypeDef *RTCx) |
Get Tamper sampling frequency TAMPCR TAMPFREQ LL_RTC_TAMPER_GetSamplingFreq. | |
__STATIC_INLINE void | LL_RTC_TAMPER_EnableActiveLevel (RTC_TypeDef *RTCx, uint32_t Tamper) |
Enable Active level for Tamper input TAMPCR TAMP1_TRG LL_RTC_TAMPER_EnableActiveLevel TAMPCR TAMP2_TRG LL_RTC_TAMPER_EnableActiveLevel TAMPCR TAMP3_TRG LL_RTC_TAMPER_EnableActiveLevel. | |
__STATIC_INLINE void | LL_RTC_TAMPER_DisableActiveLevel (RTC_TypeDef *RTCx, uint32_t Tamper) |
Disable Active level for Tamper input TAMPCR TAMP1_TRG LL_RTC_TAMPER_DisableActiveLevel TAMPCR TAMP2_TRG LL_RTC_TAMPER_DisableActiveLevel TAMPCR TAMP3_TRG LL_RTC_TAMPER_DisableActiveLevel. | |
__STATIC_INLINE void | LL_RTC_WAKEUP_Enable (RTC_TypeDef *RTCx) |
Enable Wakeup timer. | |
__STATIC_INLINE void | LL_RTC_WAKEUP_Disable (RTC_TypeDef *RTCx) |
Disable Wakeup timer. | |
__STATIC_INLINE uint32_t | LL_RTC_WAKEUP_IsEnabled (RTC_TypeDef *RTCx) |
Check if Wakeup timer is enabled or not CR WUTE LL_RTC_WAKEUP_IsEnabled. | |
__STATIC_INLINE void | LL_RTC_WAKEUP_SetClock (RTC_TypeDef *RTCx, uint32_t WakeupClock) |
Select Wakeup clock. | |
__STATIC_INLINE uint32_t | LL_RTC_WAKEUP_GetClock (RTC_TypeDef *RTCx) |
Get Wakeup clock CR WUCKSEL LL_RTC_WAKEUP_GetClock. | |
__STATIC_INLINE void | LL_RTC_WAKEUP_SetAutoReload (RTC_TypeDef *RTCx, uint32_t Value) |
Set Wakeup auto-reload value. | |
__STATIC_INLINE uint32_t | LL_RTC_WAKEUP_GetAutoReload (RTC_TypeDef *RTCx) |
Get Wakeup auto-reload value WUTR WUT LL_RTC_WAKEUP_GetAutoReload. | |
__STATIC_INLINE void | LL_RTC_BAK_SetRegister (RTC_TypeDef *RTCx, uint32_t BackupRegister, uint32_t Data) |
Writes a data in a specified RTC Backup data register. | |
__STATIC_INLINE uint32_t | LL_RTC_BAK_GetRegister (RTC_TypeDef *RTCx, uint32_t BackupRegister) |
Reads data from the specified RTC Backup data Register. | |
__STATIC_INLINE void | LL_RTC_CAL_SetOutputFreq (RTC_TypeDef *RTCx, uint32_t Frequency) |
Set Calibration output frequency (1 Hz or 512 Hz) | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetOutputFreq (RTC_TypeDef *RTCx) |
Get Calibration output frequency (1 Hz or 512 Hz) CR COE LL_RTC_CAL_GetOutputFreq CR COSEL LL_RTC_CAL_GetOutputFreq. | |
__STATIC_INLINE void | LL_RTC_CAL_SetPulse (RTC_TypeDef *RTCx, uint32_t Pulse) |
Insert or not One RTCCLK pulse every 2exp11 pulses (frequency increased by 488.5 ppm) | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_IsPulseInserted (RTC_TypeDef *RTCx) |
Check if one RTCCLK has been inserted or not every 2exp11 pulses (frequency increased by 488.5 ppm) CALR CALP LL_RTC_CAL_IsPulseInserted. | |
__STATIC_INLINE void | LL_RTC_CAL_SetPeriod (RTC_TypeDef *RTCx, uint32_t Period) |
Set the calibration cycle period. | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetPeriod (RTC_TypeDef *RTCx) |
Get the calibration cycle period CALR CALW8 LL_RTC_CAL_GetPeriod CALR CALW16 LL_RTC_CAL_GetPeriod. | |
__STATIC_INLINE void | LL_RTC_CAL_SetMinus (RTC_TypeDef *RTCx, uint32_t CalibMinus) |
Set Calibration minus. | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetMinus (RTC_TypeDef *RTCx) |
Get Calibration minus CALR CALM LL_RTC_CAL_GetMinus. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_ITS (RTC_TypeDef *RTCx) |
Get Internal Time-stamp flag ISR ITSF LL_RTC_IsActiveFlag_ITS. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_RECALP (RTC_TypeDef *RTCx) |
Get Recalibration pending Flag ISR RECALPF LL_RTC_IsActiveFlag_RECALP. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_TAMP3 (RTC_TypeDef *RTCx) |
Get RTC_TAMP3 detection flag ISR TAMP3F LL_RTC_IsActiveFlag_TAMP3. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_TAMP2 (RTC_TypeDef *RTCx) |
Get RTC_TAMP2 detection flag ISR TAMP2F LL_RTC_IsActiveFlag_TAMP2. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_TAMP1 (RTC_TypeDef *RTCx) |
Get RTC_TAMP1 detection flag ISR TAMP1F LL_RTC_IsActiveFlag_TAMP1. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_TSOV (RTC_TypeDef *RTCx) |
Get Time-stamp overflow flag ISR TSOVF LL_RTC_IsActiveFlag_TSOV. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_TS (RTC_TypeDef *RTCx) |
Get Time-stamp flag ISR TSF LL_RTC_IsActiveFlag_TS. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_WUT (RTC_TypeDef *RTCx) |
Get Wakeup timer flag ISR WUTF LL_RTC_IsActiveFlag_WUT. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_ALRB (RTC_TypeDef *RTCx) |
Get Alarm B flag ISR ALRBF LL_RTC_IsActiveFlag_ALRB. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_ALRA (RTC_TypeDef *RTCx) |
Get Alarm A flag ISR ALRAF LL_RTC_IsActiveFlag_ALRA. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_ITS (RTC_TypeDef *RTCx) |
Clear Internal Time-stamp flag ISR ITSF LL_RTC_ClearFlag_ITS. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_TAMP3 (RTC_TypeDef *RTCx) |
Clear RTC_TAMP3 detection flag ISR TAMP3F LL_RTC_ClearFlag_TAMP3. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_TAMP2 (RTC_TypeDef *RTCx) |
Clear RTC_TAMP2 detection flag ISR TAMP2F LL_RTC_ClearFlag_TAMP2. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_TAMP1 (RTC_TypeDef *RTCx) |
Clear RTC_TAMP1 detection flag ISR TAMP1F LL_RTC_ClearFlag_TAMP1. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_TSOV (RTC_TypeDef *RTCx) |
Clear Time-stamp overflow flag ISR TSOVF LL_RTC_ClearFlag_TSOV. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_TS (RTC_TypeDef *RTCx) |
Clear Time-stamp flag ISR TSF LL_RTC_ClearFlag_TS. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_WUT (RTC_TypeDef *RTCx) |
Clear Wakeup timer flag ISR WUTF LL_RTC_ClearFlag_WUT. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_ALRB (RTC_TypeDef *RTCx) |
Clear Alarm B flag ISR ALRBF LL_RTC_ClearFlag_ALRB. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_ALRA (RTC_TypeDef *RTCx) |
Clear Alarm A flag ISR ALRAF LL_RTC_ClearFlag_ALRA. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_INIT (RTC_TypeDef *RTCx) |
Get Initialization flag ISR INITF LL_RTC_IsActiveFlag_INIT. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_RS (RTC_TypeDef *RTCx) |
Get Registers synchronization flag ISR RSF LL_RTC_IsActiveFlag_RS. | |
__STATIC_INLINE void | LL_RTC_ClearFlag_RS (RTC_TypeDef *RTCx) |
Clear Registers synchronization flag ISR RSF LL_RTC_ClearFlag_RS. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_INITS (RTC_TypeDef *RTCx) |
Get Initialization status flag ISR INITS LL_RTC_IsActiveFlag_INITS. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_SHP (RTC_TypeDef *RTCx) |
Get Shift operation pending flag ISR SHPF LL_RTC_IsActiveFlag_SHP. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_WUTW (RTC_TypeDef *RTCx) |
Get Wakeup timer write flag ISR WUTWF LL_RTC_IsActiveFlag_WUTW. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_ALRBW (RTC_TypeDef *RTCx) |
Get Alarm B write flag ISR ALRBWF LL_RTC_IsActiveFlag_ALRBW. | |
__STATIC_INLINE uint32_t | LL_RTC_IsActiveFlag_ALRAW (RTC_TypeDef *RTCx) |
Get Alarm A write flag ISR ALRAWF LL_RTC_IsActiveFlag_ALRAW. | |
__STATIC_INLINE void | LL_RTC_EnableIT_TS (RTC_TypeDef *RTCx) |
Enable Time-stamp interrupt. | |
__STATIC_INLINE void | LL_RTC_DisableIT_TS (RTC_TypeDef *RTCx) |
Disable Time-stamp interrupt. | |
__STATIC_INLINE void | LL_RTC_EnableIT_WUT (RTC_TypeDef *RTCx) |
Enable Wakeup timer interrupt. | |
__STATIC_INLINE void | LL_RTC_DisableIT_WUT (RTC_TypeDef *RTCx) |
Disable Wakeup timer interrupt. | |
__STATIC_INLINE void | LL_RTC_EnableIT_ALRB (RTC_TypeDef *RTCx) |
Enable Alarm B interrupt. | |
__STATIC_INLINE void | LL_RTC_DisableIT_ALRB (RTC_TypeDef *RTCx) |
Disable Alarm B interrupt. | |
__STATIC_INLINE void | LL_RTC_EnableIT_ALRA (RTC_TypeDef *RTCx) |
Enable Alarm A interrupt. | |
__STATIC_INLINE void | LL_RTC_DisableIT_ALRA (RTC_TypeDef *RTCx) |
Disable Alarm A interrupt. | |
__STATIC_INLINE void | LL_RTC_EnableIT_TAMP3 (RTC_TypeDef *RTCx) |
Enable Tamper 3 interrupt TAMPCR TAMP3IE LL_RTC_EnableIT_TAMP3. | |
__STATIC_INLINE void | LL_RTC_DisableIT_TAMP3 (RTC_TypeDef *RTCx) |
Disable Tamper 3 interrupt TAMPCR TAMP3IE LL_RTC_DisableIT_TAMP3. | |
__STATIC_INLINE void | LL_RTC_EnableIT_TAMP2 (RTC_TypeDef *RTCx) |
Enable Tamper 2 interrupt TAMPCR TAMP2IE LL_RTC_EnableIT_TAMP2. | |
__STATIC_INLINE void | LL_RTC_DisableIT_TAMP2 (RTC_TypeDef *RTCx) |
Disable Tamper 2 interrupt TAMPCR TAMP2IE LL_RTC_DisableIT_TAMP2. | |
__STATIC_INLINE void | LL_RTC_EnableIT_TAMP1 (RTC_TypeDef *RTCx) |
Enable Tamper 1 interrupt TAMPCR TAMP1IE LL_RTC_EnableIT_TAMP1. | |
__STATIC_INLINE void | LL_RTC_DisableIT_TAMP1 (RTC_TypeDef *RTCx) |
Disable Tamper 1 interrupt TAMPCR TAMP1IE LL_RTC_DisableIT_TAMP1. | |
__STATIC_INLINE void | LL_RTC_EnableIT_TAMP (RTC_TypeDef *RTCx) |
Enable all Tamper Interrupt TAMPCR TAMPIE LL_RTC_EnableIT_TAMP. | |
__STATIC_INLINE void | LL_RTC_DisableIT_TAMP (RTC_TypeDef *RTCx) |
Disable all Tamper Interrupt TAMPCR TAMPIE LL_RTC_DisableIT_TAMP. | |
__STATIC_INLINE uint32_t | LL_RTC_IsEnabledIT_TS (RTC_TypeDef *RTCx) |
Check if Time-stamp interrupt is enabled or not CR TSIE LL_RTC_IsEnabledIT_TS. | |
__STATIC_INLINE uint32_t | LL_RTC_IsEnabledIT_WUT (RTC_TypeDef *RTCx) |
Check if Wakeup timer interrupt is enabled or not CR WUTIE LL_RTC_IsEnabledIT_WUT. | |
__STATIC_INLINE uint32_t | LL_RTC_IsEnabledIT_ALRB (RTC_TypeDef *RTCx) |
Check if Alarm B interrupt is enabled or not CR ALRBIE LL_RTC_IsEnabledIT_ALRB. | |
__STATIC_INLINE uint32_t | LL_RTC_IsEnabledIT_ALRA (RTC_TypeDef *RTCx) |
Check if Alarm A interrupt is enabled or not CR ALRAIE LL_RTC_IsEnabledIT_ALRA. | |
__STATIC_INLINE uint32_t | LL_RTC_IsEnabledIT_TAMP3 (RTC_TypeDef *RTCx) |
Check if Tamper 3 interrupt is enabled or not TAMPCR TAMP3IE LL_RTC_IsEnabledIT_TAMP3. | |
__STATIC_INLINE uint32_t | LL_RTC_IsEnabledIT_TAMP2 (RTC_TypeDef *RTCx) |
Check if Tamper 2 interrupt is enabled or not TAMPCR TAMP2IE LL_RTC_IsEnabledIT_TAMP2. | |
__STATIC_INLINE uint32_t | LL_RTC_IsEnabledIT_TAMP1 (RTC_TypeDef *RTCx) |
Check if Tamper 1 interrupt is enabled or not TAMPCR TAMP1IE LL_RTC_IsEnabledIT_TAMP1. | |
__STATIC_INLINE uint32_t | LL_RTC_IsEnabledIT_TAMP (RTC_TypeDef *RTCx) |
Check if all the TAMPER interrupts are enabled or not TAMPCR TAMPIE LL_RTC_IsEnabledIT_TAMP. |
Detailed Description
Header file of RTC LL module.
- Version:
- V1.1.0
- Date:
- 16-September-2015
- Attention:
© COPYRIGHT(c) 2015 STMicroelectronics
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file stm32l4xx_ll_rtc.h.
Generated on Tue Jul 12 2022 11:35:20 by
