STM32F4xx_HAL_Driver
1.8.3
|
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. @rmtoll ALRMBR MSK4 LL_RTC_ALMB_SetMask ALRMBR MSK3 LL_RTC_ALMB_SetMask ALRMBR MSK2 LL_RTC_ALMB_SetMask ALRMBR MSK1 LL_RTC_ALMB_SetMask. More... | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetMask (RTC_TypeDef *RTCx) |
Get the Alarm B masks. @rmtoll ALRMBR MSK4 LL_RTC_ALMB_GetMask ALRMBR MSK3 LL_RTC_ALMB_GetMask ALRMBR MSK2 LL_RTC_ALMB_GetMask 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) @rmtoll 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 ) @rmtoll 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 @rmtoll ALRMBR DU LL_RTC_ALMB_SetWeekDay. More... | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetWeekDay (RTC_TypeDef *RTCx) |
Get ALARM B Weekday @rmtoll 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) @rmtoll 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) @rmtoll 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 @rmtoll 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. 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) |
Mask the most-significant bits of the subseconds field starting from the bit specified in parameter Mask. More... | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSubSecondMask (RTC_TypeDef *RTCx) |
Get Alarm B subseconds mask @rmtoll ALRMBSSR MASKSS LL_RTC_ALMB_GetSubSecondMask. More... | |
__STATIC_INLINE void | LL_RTC_ALMB_SetSubSecond (RTC_TypeDef *RTCx, uint32_t Subsecond) |
Set Alarm B subseconds value @rmtoll ALRMBSSR SS LL_RTC_ALMB_SetSubSecond. More... | |
__STATIC_INLINE uint32_t | LL_RTC_ALMB_GetSubSecond (RTC_TypeDef *RTCx) |
Get Alarm B subseconds value @rmtoll 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 @rmtoll 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.
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 2197 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_Disable | ( | RTC_TypeDef * | RTCx | ) |
Disable Alarm B.
RTCx | RTC Instance |
None |
Definition at line 1935 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_DisableWeekday | ( | RTC_TypeDef * | RTCx | ) |
Disable AlarmB Week day selection (DU[3:0] represents the date ) @rmtoll ALRMBR WDSEL LL_RTC_ALMB_DisableWeekday.
RTCx | RTC Instance |
None |
Definition at line 1998 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_Enable | ( | RTC_TypeDef * | RTCx | ) |
Enable Alarm B.
RTCx | RTC Instance |
None |
Definition at line 1923 of file stm32f4xx_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) @rmtoll ALRMBR WDSEL LL_RTC_ALMB_EnableWeekday.
RTCx | RTC Instance |
None |
Definition at line 1987 of file stm32f4xx_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 2026 of file stm32f4xx_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 2118 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetMask | ( | RTC_TypeDef * | RTCx | ) |
Get the Alarm B masks. @rmtoll ALRMBR MSK4 LL_RTC_ALMB_GetMask
ALRMBR MSK3 LL_RTC_ALMB_GetMask
ALRMBR MSK2 LL_RTC_ALMB_GetMask
ALRMBR MSK1 LL_RTC_ALMB_GetMask.
RTCx | RTC Instance |
Returned | value can be can be a combination of the following values:
|
Definition at line 1976 of file stm32f4xx_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 2146 of file stm32f4xx_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 2174 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetSubSecond | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm B subseconds value @rmtoll ALRMBSSR SS LL_RTC_ALMB_GetSubSecond.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data=0x7FFF |
Definition at line 2271 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetSubSecondMask | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm B subseconds mask @rmtoll ALRMBSSR MASKSS LL_RTC_ALMB_GetSubSecondMask.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data=0xF |
Definition at line 2248 of file stm32f4xx_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 2222 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetTimeFormat | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B time format (AM or PM notation) @rmtoll ALRMBR PM LL_RTC_ALMB_GetTimeFormat.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 2090 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetWeekDay | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM B Weekday @rmtoll ALRMBR DU LL_RTC_ALMB_GetWeekDay.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 2063 of file stm32f4xx_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 2012 of file stm32f4xx_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 2104 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetMask | ( | RTC_TypeDef * | RTCx, |
uint32_t | Mask | ||
) |
Specify the Alarm B masks. @rmtoll ALRMBR MSK4 LL_RTC_ALMB_SetMask
ALRMBR MSK3 LL_RTC_ALMB_SetMask
ALRMBR MSK2 LL_RTC_ALMB_SetMask
ALRMBR MSK1 LL_RTC_ALMB_SetMask.
RTCx | RTC Instance |
Mask | This parameter can be a combination of the following values:
|
None |
Definition at line 1956 of file stm32f4xx_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 2132 of file stm32f4xx_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 2160 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetSubSecond | ( | RTC_TypeDef * | RTCx, |
uint32_t | Subsecond | ||
) |
Set Alarm B subseconds value @rmtoll ALRMBSSR SS LL_RTC_ALMB_SetSubSecond.
RTCx | RTC Instance |
Subsecond | Value between Min_Data=0x00 and Max_Data=0x7FFF |
None |
Definition at line 2260 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetSubSecondMask | ( | RTC_TypeDef * | RTCx, |
uint32_t | Mask | ||
) |
Mask the most-significant bits of the subseconds field starting from the bit specified in parameter Mask.
RTCx | RTC Instance |
Mask | Value between Min_Data=0x00 and Max_Data=0xF |
None |
Definition at line 2237 of file stm32f4xx_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) @rmtoll ALRMBR PM LL_RTC_ALMB_SetTimeFormat.
RTCx | RTC Instance |
TimeFormat | This parameter can be one of the following values:
|
None |
Definition at line 2077 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMB_SetWeekDay | ( | RTC_TypeDef * | RTCx, |
uint32_t | WeekDay | ||
) |
Set ALARM B Weekday @rmtoll ALRMBR DU LL_RTC_ALMB_SetWeekDay.
RTCx | RTC Instance |
WeekDay | This parameter can be one of the following values:
|
None |
Definition at line 2045 of file stm32f4xx_ll_rtc.h.