|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_RTC_ALMB_Enable (RTC_TypeDef *RTCx) |
| Enable Alarm B. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_Disable (RTC_TypeDef *RTCx) |
| Disable Alarm B. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_SetMask (RTC_TypeDef *RTCx, uint32_t Mask) |
| Specify the Alarm B masks. RTC_ALRMBR MSK4 LL_RTC_ALMB_SetMask RTC_ALRMBR MSK3 LL_RTC_ALMB_SetMask RTC_ALRMBR MSK2 LL_RTC_ALMB_SetMask RTC_ALRMBR MSK1 LL_RTC_ALMB_SetMask. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetMask (RTC_TypeDef *RTCx) |
| Get the Alarm B masks. RTC_ALRMBR MSK4 LL_RTC_ALMB_GetMask RTC_ALRMBR MSK3 LL_RTC_ALMB_GetMask RTC_ALRMBR MSK2 LL_RTC_ALMB_GetMask RTC_ALRMBR MSK1 LL_RTC_ALMB_GetMask. More... | |
| __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) RTC_ALRMBR WDSEL LL_RTC_ALMB_EnableWeekday. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_DisableWeekday (RTC_TypeDef *RTCx) |
| Disable AlarmB Week day selection (DU[3:0] represents the date ) RTC_ALRMBR WDSEL LL_RTC_ALMB_DisableWeekday. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_SetDay (RTC_TypeDef *RTCx, uint32_t Day) |
| Set ALARM B Day in BCD format. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetDay (RTC_TypeDef *RTCx) |
| Get ALARM B Day in BCD format. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_SetWeekDay (RTC_TypeDef *RTCx, uint32_t WeekDay) |
| Set ALARM B Weekday RTC_ALRMBR DU LL_RTC_ALMB_SetWeekDay. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetWeekDay (RTC_TypeDef *RTCx) |
| Get ALARM B Weekday RTC_ALRMBR DU LL_RTC_ALMB_GetWeekDay. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_SetTimeFormat (RTC_TypeDef *RTCx, uint32_t TimeFormat) |
| Set ALARM B time format (AM/24-hour or PM notation) RTC_ALRMBR PM LL_RTC_ALMB_SetTimeFormat. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetTimeFormat (RTC_TypeDef *RTCx) |
| Get ALARM B time format (AM or PM notation) RTC_ALRMBR PM LL_RTC_ALMB_GetTimeFormat. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_SetHour (RTC_TypeDef *RTCx, uint32_t Hours) |
| Set ALARM B Hours in BCD format. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetHour (RTC_TypeDef *RTCx) |
| Get ALARM B Hours in BCD format. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_SetMinute (RTC_TypeDef *RTCx, uint32_t Minutes) |
| Set ALARM B Minutes in BCD format. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetMinute (RTC_TypeDef *RTCx) |
| Get ALARM B Minutes in BCD format. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_SetSecond (RTC_TypeDef *RTCx, uint32_t Seconds) |
| Set ALARM B Seconds in BCD format. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSecond (RTC_TypeDef *RTCx) |
| Get ALARM B Seconds in BCD format. More... | |
| __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 RTC_ALRMBR PM LL_RTC_ALMB_ConfigTime RTC_ALRMBR HT LL_RTC_ALMB_ConfigTime RTC_ALRMBR HU LL_RTC_ALMB_ConfigTime RTC_ALRMBR MNT LL_RTC_ALMB_ConfigTime RTC_ALRMBR MNU LL_RTC_ALMB_ConfigTime RTC_ALRMBR ST LL_RTC_ALMB_ConfigTime RTC_ALRMBR SU LL_RTC_ALMB_ConfigTime. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetTime (RTC_TypeDef *RTCx) |
| Get Alarm B Time (hour, minute and second) in BCD format. More... | |
| __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. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSubSecondMask (RTC_TypeDef *RTCx) |
| Get Alarm B Mask the most-significant bits starting at this bit RTC_ALRMBSSR MASKSS LL_RTC_ALMB_GetSubSecondMask. More... | |
| __STATIC_INLINE void | LL_RTC_ALMB_SetSubSecond (RTC_TypeDef *RTCx, uint32_t Subsecond) |
| Set Alarm B Sub seconds value RTC_ALRMBSSR SS LL_RTC_ALMB_SetSubSecond. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSubSecond (RTC_TypeDef *RTCx) |
| Get Alarm B Sub seconds value RTC_ALRMBSSR SS LL_RTC_ALMB_GetSubSecond. More... | |
| __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 RTC_ALRMBR PM LL_RTC_ALMB_ConfigTime
RTC_ALRMBR HT LL_RTC_ALMB_ConfigTime
RTC_ALRMBR HU LL_RTC_ALMB_ConfigTime
RTC_ALRMBR MNT LL_RTC_ALMB_ConfigTime
RTC_ALRMBR MNU LL_RTC_ALMB_ConfigTime
RTC_ALRMBR ST LL_RTC_ALMB_ConfigTime
RTC_ALRMBR SU LL_RTC_ALMB_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 2531 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMB_Disable | ( | RTC_TypeDef * | RTCx | ) |
Disable Alarm B.
| RTCx | RTC Instance |
| None |
Definition at line 2269 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 ) RTC_ALRMBR WDSEL LL_RTC_ALMB_DisableWeekday.
| RTCx | RTC Instance |
| None |
Definition at line 2332 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMB_Enable | ( | RTC_TypeDef * | RTCx | ) |
Enable Alarm B.
| RTCx | RTC Instance |
| None |
Definition at line 2257 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) RTC_ALRMBR WDSEL LL_RTC_ALMB_EnableWeekday.
| RTCx | RTC Instance |
| None |
Definition at line 2321 of file stm32l4xx_ll_rtc.h.
| __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 2360 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 2452 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMB_GetMask | ( | RTC_TypeDef * | RTCx | ) |
Get the Alarm B masks. RTC_ALRMBR MSK4 LL_RTC_ALMB_GetMask
RTC_ALRMBR MSK3 LL_RTC_ALMB_GetMask
RTC_ALRMBR MSK2 LL_RTC_ALMB_GetMask
RTC_ALRMBR MSK1 LL_RTC_ALMB_GetMask.
| RTCx | RTC Instance |
| Returned | value can be can be a combination of the following values:
|
Definition at line 2310 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 2480 of file stm32l4xx_ll_rtc.h.
| __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 2508 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMB_GetSubSecond | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm B Sub seconds value RTC_ALRMBSSR SS LL_RTC_ALMB_GetSubSecond.
| RTCx | RTC Instance |
| Value | between Min_Data=0x00 and Max_Data=0x7FFF |
Definition at line 2603 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 RTC_ALRMBSSR MASKSS LL_RTC_ALMB_GetSubSecondMask.
| RTCx | RTC Instance |
| Value | between Min_Data=0x00 and Max_Data=0xF |
Definition at line 2580 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 2555 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMB_GetTimeFormat | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B time format (AM or PM notation) RTC_ALRMBR PM LL_RTC_ALMB_GetTimeFormat.
| RTCx | RTC Instance |
| Returned | value can be one of the following values:
|
Definition at line 2424 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_ALMB_GetWeekDay | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B Weekday RTC_ALRMBR DU LL_RTC_ALMB_GetWeekDay.
| RTCx | RTC Instance |
| Returned | value can be one of the following values:
|
Definition at line 2397 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 2346 of file stm32l4xx_ll_rtc.h.
| __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 2438 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMB_SetMask | ( | RTC_TypeDef * | RTCx, |
| uint32_t | Mask | ||
| ) |
Specify the Alarm B masks. RTC_ALRMBR MSK4 LL_RTC_ALMB_SetMask
RTC_ALRMBR MSK3 LL_RTC_ALMB_SetMask
RTC_ALRMBR MSK2 LL_RTC_ALMB_SetMask
RTC_ALRMBR MSK1 LL_RTC_ALMB_SetMask.
| RTCx | RTC Instance |
| Mask | This parameter can be a combination of the following values:
|
| None |
Definition at line 2290 of file stm32l4xx_ll_rtc.h.
| __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 2466 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 2494 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 RTC_ALRMBSSR SS LL_RTC_ALMB_SetSubSecond.
| RTCx | RTC Instance |
| Subsecond | Value between Min_Data=0x00 and Max_Data=0x7FFF |
| None |
Definition at line 2592 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 | Value between Min_Data=0x00 and Max_Data=0xF |
| None |
Definition at line 2569 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) RTC_ALRMBR PM LL_RTC_ALMB_SetTimeFormat.
| RTCx | RTC Instance |
| TimeFormat | This parameter can be one of the following values:
|
| None |
Definition at line 2411 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_ALMB_SetWeekDay | ( | RTC_TypeDef * | RTCx, |
| uint32_t | WeekDay | ||
| ) |
Set ALARM B Weekday RTC_ALRMBR DU LL_RTC_ALMB_SetWeekDay.
| RTCx | RTC Instance |
| WeekDay | This parameter can be one of the following values:
|
| None |
Definition at line 2379 of file stm32l4xx_ll_rtc.h.