STM32L443xx HAL User Manual
|
Functions | |
__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 ) | |
__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. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetWeekDay (RTC_TypeDef *RTCx) |
Get ALARM B Weekday. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetTimeFormat (RTC_TypeDef *RTCx, uint32_t TimeFormat) |
Set ALARM B time format (AM/24-hour or PM notation) | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetTimeFormat (RTC_TypeDef *RTCx) |
Get ALARM B time format (AM or PM notation) | |
__STATIC_INLINE void | LL_RTC_ALMB_SetHour (RTC_TypeDef *RTCx, uint32_t Hours) |
Set ALARM B Hours in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetHour (RTC_TypeDef *RTCx) |
Get ALARM B Hours in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetMinute (RTC_TypeDef *RTCx, uint32_t Minutes) |
Set ALARM B Minutes in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetMinute (RTC_TypeDef *RTCx) |
Get ALARM B Minutes in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetSecond (RTC_TypeDef *RTCx, uint32_t Seconds) |
Set ALARM B Seconds in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSecond (RTC_TypeDef *RTCx) |
Get ALARM B Seconds in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMB_ConfigTime (RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, uint32_t Minutes, uint32_t Seconds) |
Set Alarm B Time (hour, minute and second) in BCD format. | |
__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. | |
__STATIC_INLINE void | LL_RTC_ALMB_SetSubSecond (RTC_TypeDef *RTCx, uint32_t Subsecond) |
Set Alarm B Sub seconds value. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSubSecond (RTC_TypeDef *RTCx) |
Get Alarm B Sub seconds value. |
__STATIC_INLINE void LL_RTC_ALMB_ConfigTime | ( | RTC_TypeDef * | RTCx, |
uint32_t | Format12_24, | ||
uint32_t | Hours, | ||
uint32_t | Minutes, | ||
uint32_t | Seconds | ||
) |
Set Alarm B Time (hour, minute and second) in BCD format.
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 2752 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMB_Init().
__STATIC_INLINE void LL_RTC_ALMB_Disable | ( | RTC_TypeDef * | RTCx | ) |
Disable Alarm B.
RTCx | RTC Instance |
None |
Definition at line 2490 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_DisableWeekday | ( | RTC_TypeDef * | RTCx | ) |
Disable AlarmB Week day selection (DU[3:0] represents the date )
RTCx | RTC Instance |
None |
Definition at line 2553 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMB_Init().
__STATIC_INLINE void LL_RTC_ALMB_Enable | ( | RTC_TypeDef * | RTCx | ) |
Enable Alarm B.
RTCx | RTC Instance |
None |
Definition at line 2478 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_EnableWeekday | ( | RTC_TypeDef * | RTCx | ) |
Enable AlarmB Week day selection (DU[3:0] represents the week day.
DT[1:0] is do not care)
RTCx | RTC Instance |
None |
Definition at line 2542 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMB_Init().
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetDay | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B Day in BCD format.
RTCx | RTC Instance |
Value | between Min_Data=0x01 and Max_Data=0x31 |
Definition at line 2581 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetHour | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B 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 2673 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMB_GetTime().
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetMask | ( | RTC_TypeDef * | RTCx | ) |
Get the Alarm B masks.
RTCx | RTC Instance |
Returned | value can be can be a combination of the following values: |
Definition at line 2531 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetMinute | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B Minutes in BCD format.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data=0x59 |
Definition at line 2701 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMB_GetTime().
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetSecond | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B Seconds in BCD format.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data=0x59 |
Definition at line 2729 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMB_GetTime().
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetSubSecond | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm B Sub seconds value.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data=0x7FFF |
Definition at line 2882 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetSubSecondMask | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm B Mask the most-significant bits starting at this bit.
RTCx | RTC Instance |
If | binary mode is none, Value between Min_Data=0x0 and Max_Data=0xF else Value between Min_Data=0x0 and Max_Data=0x3F |
Definition at line 2803 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_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 2776 of file stm32l4xx_ll_rtc.h.
References LL_RTC_ALMB_GetHour(), LL_RTC_ALMB_GetMinute(), LL_RTC_ALMB_GetSecond(), RTC_OFFSET_HOUR, and RTC_OFFSET_MINUTE.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetTimeFormat | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B time format (AM or PM notation)
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 2645 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetWeekDay | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B Weekday.
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 2618 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetDay | ( | RTC_TypeDef * | RTCx, |
uint32_t | Day | ||
) |
Set ALARM B Day in BCD format.
RTCx | RTC Instance |
Day | Value between Min_Data=0x01 and Max_Data=0x31 |
None |
Definition at line 2567 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMB_Init().
__STATIC_INLINE void LL_RTC_ALMB_SetHour | ( | RTC_TypeDef * | RTCx, |
uint32_t | Hours | ||
) |
Set ALARM B 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 2659 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetMask | ( | RTC_TypeDef * | RTCx, |
uint32_t | Mask | ||
) |
Specify the Alarm B masks.
RTCx | RTC Instance |
Mask | This parameter can be a combination of the following values: |
None |
Definition at line 2511 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMB_Init().
__STATIC_INLINE void LL_RTC_ALMB_SetMinute | ( | RTC_TypeDef * | RTCx, |
uint32_t | Minutes | ||
) |
Set ALARM B Minutes in BCD format.
RTCx | RTC Instance |
Minutes | between Min_Data=0x00 and Max_Data=0x59 |
None |
Definition at line 2687 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetSecond | ( | RTC_TypeDef * | RTCx, |
uint32_t | Seconds | ||
) |
Set ALARM B Seconds in BCD format.
RTCx | RTC Instance |
Seconds | Value between Min_Data=0x00 and Max_Data=0x59 |
None |
Definition at line 2715 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetSubSecond | ( | RTC_TypeDef * | RTCx, |
uint32_t | Subsecond | ||
) |
Set Alarm B Sub seconds value.
RTCx | RTC Instance |
Subsecond | Value between Min_Data=0x00 and Max_Data=0x7FFF |
None |
Definition at line 2871 of file stm32l4xx_ll_rtc.h.
__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.
RTCx | RTC Instance |
Mask | If binary mode is none, Value between Min_Data=0x0 and Max_Data=0xF else Value between Min_Data=0x0 and Max_Data=0x3F |
None |
Definition at line 2791 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetTimeFormat | ( | RTC_TypeDef * | RTCx, |
uint32_t | TimeFormat | ||
) |
Set ALARM B time format (AM/24-hour or PM notation)
RTCx | RTC Instance |
TimeFormat | This parameter can be one of the following values: |
None |
Definition at line 2632 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetWeekDay | ( | RTC_TypeDef * | RTCx, |
uint32_t | WeekDay | ||
) |
Set ALARM B Weekday.
RTCx | RTC Instance |
WeekDay | This parameter can be one of the following values: |
None |
Definition at line 2600 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMB_Init().