|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_RTC_ALMA_Enable (RTC_TypeDef *RTCx) |
| Enable Alarm A. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_Disable (RTC_TypeDef *RTCx) |
| Disable Alarm A. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_SetMask (RTC_TypeDef *RTCx, uint32_t Mask) |
| Specify the Alarm A masks. RTC_ALRMAR MSK4 LL_RTC_ALMA_SetMask RTC_ALRMAR MSK3 LL_RTC_ALMA_SetMask RTC_ALRMAR MSK2 LL_RTC_ALMA_SetMask RTC_ALRMAR MSK1 LL_RTC_ALMA_SetMask. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetMask (RTC_TypeDef *RTCx) |
| Get the Alarm A masks. RTC_ALRMAR MSK4 LL_RTC_ALMA_GetMask RTC_ALRMAR MSK3 LL_RTC_ALMA_GetMask RTC_ALRMAR MSK2 LL_RTC_ALMA_GetMask RTC_ALRMAR MSK1 LL_RTC_ALMA_GetMask. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_EnableWeekday (RTC_TypeDef *RTCx) |
| Enable AlarmA Week day selection (DU[3:0] represents the week day. DT[1:0] is do not care) RTC_ALRMAR WDSEL LL_RTC_ALMA_EnableWeekday. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_DisableWeekday (RTC_TypeDef *RTCx) |
| Disable AlarmA Week day selection (DU[3:0] represents the date ) RTC_ALRMAR WDSEL LL_RTC_ALMA_DisableWeekday. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_SetDay (RTC_TypeDef *RTCx, uint32_t Day) |
| Set ALARM A Day in BCD format. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetDay (RTC_TypeDef *RTCx) |
| Get ALARM A Day in BCD format. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_SetWeekDay (RTC_TypeDef *RTCx, uint32_t WeekDay) |
| Set ALARM A Weekday RTC_ALRMAR DU LL_RTC_ALMA_SetWeekDay. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetWeekDay (RTC_TypeDef *RTCx) |
| Get ALARM A Weekday RTC_ALRMAR DU LL_RTC_ALMA_GetWeekDay. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_SetTimeFormat (RTC_TypeDef *RTCx, uint32_t TimeFormat) |
| Set Alarm A time format (AM/24-hour or PM notation) RTC_ALRMAR PM LL_RTC_ALMA_SetTimeFormat. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetTimeFormat (RTC_TypeDef *RTCx) |
| Get Alarm A time format (AM or PM notation) RTC_ALRMAR PM LL_RTC_ALMA_GetTimeFormat. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_SetHour (RTC_TypeDef *RTCx, uint32_t Hours) |
| Set ALARM A Hours in BCD format. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetHour (RTC_TypeDef *RTCx) |
| Get ALARM A Hours in BCD format. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_SetMinute (RTC_TypeDef *RTCx, uint32_t Minutes) |
| Set ALARM A Minutes in BCD format. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetMinute (RTC_TypeDef *RTCx) |
| Get ALARM A Minutes in BCD format. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_SetSecond (RTC_TypeDef *RTCx, uint32_t Seconds) |
| Set ALARM A Seconds in BCD format. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSecond (RTC_TypeDef *RTCx) |
| Get ALARM A Seconds in BCD format. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_ConfigTime (RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, uint32_t Minutes, uint32_t Seconds) |
| Set Alarm A Time (hour, minute and second) in BCD format RTC_ALRMAR PM LL_RTC_ALMA_ConfigTime RTC_ALRMAR HT LL_RTC_ALMA_ConfigTime RTC_ALRMAR HU LL_RTC_ALMA_ConfigTime RTC_ALRMAR MNT LL_RTC_ALMA_ConfigTime RTC_ALRMAR MNU LL_RTC_ALMA_ConfigTime RTC_ALRMAR ST LL_RTC_ALMA_ConfigTime RTC_ALRMAR SU LL_RTC_ALMA_ConfigTime. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetTime (RTC_TypeDef *RTCx) |
| Get Alarm B Time (hour, minute and second) in BCD format. More... | |
| __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. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSubSecondMask (RTC_TypeDef *RTCx) |
| Get Alarm A Mask the most-significant bits starting at this bit RTC_ALRMASSR MASKSS LL_RTC_ALMA_GetSubSecondMask. More... | |
| __STATIC_INLINE void | LL_RTC_ALMA_SetSubSecond (RTC_TypeDef *RTCx, uint32_t Subsecond) |
| Set Alarm A Sub seconds value RCT_ALRMASSR SS LL_RTC_ALMA_SetSubSecond. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSubSecond (RTC_TypeDef *RTCx) |
| Get Alarm A Sub seconds value RCT_ALRMASSR SS LL_RTC_ALMA_GetSubSecond. More... | |
| __STATIC_INLINE void LL_RTC_ALMA_ConfigTime | ( | RTC_TypeDef * | RTCx, |
| uint32_t | Format12_24, | ||
| uint32_t | Hours, | ||
| uint32_t | Minutes, | ||
| uint32_t | Seconds | ||
| ) |
Set Alarm A Time (hour, minute and second) in BCD format RTC_ALRMAR PM LL_RTC_ALMA_ConfigTime
RTC_ALRMAR HT LL_RTC_ALMA_ConfigTime
RTC_ALRMAR HU LL_RTC_ALMA_ConfigTime
RTC_ALRMAR MNT LL_RTC_ALMA_ConfigTime
RTC_ALRMAR MNU LL_RTC_ALMA_ConfigTime
RTC_ALRMAR ST LL_RTC_ALMA_ConfigTime
RTC_ALRMAR SU LL_RTC_ALMA_ConfigTime.
| RTCx | RTC Instance |
| Format12_24 | This parameter can be one of the following values:
|
| Hours | Value between Min_Data=0x01 and Max_Data=0x12 or between Min_Data=0x00 and Max_Data=0x23 |
| Minutes | Value between Min_Data=0x00 and Max_Data=0x59 |
| Seconds | Value between Min_Data=0x00 and Max_Data=0x59 |
| None |
Definition at line 2165 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_Disable | ( | RTC_TypeDef * | RTCx | ) |
Disable Alarm A.
| RTCx | RTC Instance |
| None |
Definition at line 1903 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_DisableWeekday | ( | RTC_TypeDef * | RTCx | ) |
Disable AlarmA Week day selection (DU[3:0] represents the date ) RTC_ALRMAR WDSEL LL_RTC_ALMA_DisableWeekday.
| RTCx | RTC Instance |
| None |
Definition at line 1966 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_Enable | ( | RTC_TypeDef * | RTCx | ) |
Enable Alarm A.
| RTCx | RTC Instance |
| None |
Definition at line 1891 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_EnableWeekday | ( | RTC_TypeDef * | RTCx | ) |
Enable AlarmA Week day selection (DU[3:0] represents the week day. DT[1:0] is do not care) RTC_ALRMAR WDSEL LL_RTC_ALMA_EnableWeekday.
| RTCx | RTC Instance |
| None |
Definition at line 1955 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetDay | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM A Day in BCD format.
| RTCx | RTC Instance |
| Value | between Min_Data=0x01 and Max_Data=0x31 |
Definition at line 1994 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetHour | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM A Hours in BCD format.
| RTCx | RTC Instance |
| Value | between Min_Data=0x01 and Max_Data=0x12 or between Min_Data=0x00 and Max_Data=0x23 |
Definition at line 2086 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetMask | ( | RTC_TypeDef * | RTCx | ) |
Get the Alarm A masks. RTC_ALRMAR MSK4 LL_RTC_ALMA_GetMask
RTC_ALRMAR MSK3 LL_RTC_ALMA_GetMask
RTC_ALRMAR MSK2 LL_RTC_ALMA_GetMask
RTC_ALRMAR MSK1 LL_RTC_ALMA_GetMask.
| RTCx | RTC Instance |
| Returned | value can be can be a combination of the following values:
|
Definition at line 1944 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetMinute | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM A Minutes in BCD format.
| RTCx | RTC Instance |
| Value | between Min_Data=0x00 and Max_Data=0x59 |
Definition at line 2114 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetSecond | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM A Seconds in BCD format.
| RTCx | RTC Instance |
| Value | between Min_Data=0x00 and Max_Data=0x59 |
Definition at line 2142 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetSubSecond | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm A Sub seconds value RCT_ALRMASSR SS LL_RTC_ALMA_GetSubSecond.
| RTCx | RTC Instance |
| Value | between Min_Data=0x00 and Max_Data=0x7FFF |
Definition at line 2237 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetSubSecondMask | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm A Mask the most-significant bits starting at this bit RTC_ALRMASSR MASKSS LL_RTC_ALMA_GetSubSecondMask.
| RTCx | RTC Instance |
| Value | between Min_Data=0x00 and Max_Data=0xF |
Definition at line 2214 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetTime | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm B Time (hour, minute and second) in BCD format.
| RTCx | RTC Instance |
| Combination | of hours, minutes and seconds. |
Definition at line 2189 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetTimeFormat | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm A time format (AM or PM notation) RTC_ALRMAR PM LL_RTC_ALMA_GetTimeFormat.
| RTCx | RTC Instance |
| Returned | value can be one of the following values:
|
Definition at line 2058 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMA_GetWeekDay | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM A Weekday RTC_ALRMAR DU LL_RTC_ALMA_GetWeekDay.
| RTCx | RTC Instance |
| Returned | value can be one of the following values:
|
Definition at line 2031 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_SetDay | ( | RTC_TypeDef * | RTCx, |
| uint32_t | Day | ||
| ) |
Set ALARM A Day in BCD format.
| RTCx | RTC Instance |
| Day | Value between Min_Data=0x01 and Max_Data=0x31 |
| None |
Definition at line 1980 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_SetHour | ( | RTC_TypeDef * | RTCx, |
| uint32_t | Hours | ||
| ) |
Set ALARM A Hours in BCD format.
| RTCx | RTC Instance |
| Hours | Value between Min_Data=0x01 and Max_Data=0x12 or between Min_Data=0x00 and Max_Data=0x23 |
| None |
Definition at line 2072 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_SetMask | ( | RTC_TypeDef * | RTCx, |
| uint32_t | Mask | ||
| ) |
Specify the Alarm A masks. RTC_ALRMAR MSK4 LL_RTC_ALMA_SetMask
RTC_ALRMAR MSK3 LL_RTC_ALMA_SetMask
RTC_ALRMAR MSK2 LL_RTC_ALMA_SetMask
RTC_ALRMAR MSK1 LL_RTC_ALMA_SetMask.
| RTCx | RTC Instance |
| Mask | This parameter can be a combination of the following values:
|
| None |
Definition at line 1924 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_SetMinute | ( | RTC_TypeDef * | RTCx, |
| uint32_t | Minutes | ||
| ) |
Set ALARM A Minutes in BCD format.
| RTCx | RTC Instance |
| Minutes | Value between Min_Data=0x00 and Max_Data=0x59 |
| None |
Definition at line 2100 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_SetSecond | ( | RTC_TypeDef * | RTCx, |
| uint32_t | Seconds | ||
| ) |
Set ALARM A Seconds in BCD format.
| RTCx | RTC Instance |
| Seconds | Value between Min_Data=0x00 and Max_Data=0x59 |
| None |
Definition at line 2128 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_SetSubSecond | ( | RTC_TypeDef * | RTCx, |
| uint32_t | Subsecond | ||
| ) |
Set Alarm A Sub seconds value RCT_ALRMASSR SS LL_RTC_ALMA_SetSubSecond.
| RTCx | RTC Instance |
| Subsecond | Value between Min_Data=0x00 and Max_Data=0x7FFF |
| None |
Definition at line 2226 of file stm32l4xx_ll_rtc.h.
| __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.
| RTCx | RTC Instance |
| Mask | Value between Min_Data=0x00 and Max_Data=0xF |
| None |
Definition at line 2203 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_SetTimeFormat | ( | RTC_TypeDef * | RTCx, |
| uint32_t | TimeFormat | ||
| ) |
Set Alarm A time format (AM/24-hour or PM notation) RTC_ALRMAR PM LL_RTC_ALMA_SetTimeFormat.
| RTCx | RTC Instance |
| TimeFormat | This parameter can be one of the following values:
|
| None |
Definition at line 2045 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMA_SetWeekDay | ( | RTC_TypeDef * | RTCx, |
| uint32_t | WeekDay | ||
| ) |
Set ALARM A Weekday RTC_ALRMAR DU LL_RTC_ALMA_SetWeekDay.
| RTCx | RTC Instance |
| WeekDay | This parameter can be one of the following values:
|
| None |
Definition at line 2013 of file stm32l4xx_ll_rtc.h.