STM32F4xx_HAL_Driver
1.8.3
|
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. @rmtoll ALRMAR MSK4 LL_RTC_ALMA_SetMask ALRMAR MSK3 LL_RTC_ALMA_SetMask ALRMAR MSK2 LL_RTC_ALMA_SetMask ALRMAR MSK1 LL_RTC_ALMA_SetMask. More... | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetMask (RTC_TypeDef *RTCx) |
Get the Alarm A masks. @rmtoll ALRMAR MSK4 LL_RTC_ALMA_GetMask ALRMAR MSK3 LL_RTC_ALMA_GetMask ALRMAR MSK2 LL_RTC_ALMA_GetMask 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) @rmtoll 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 ) @rmtoll 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 @rmtoll ALRMAR DU LL_RTC_ALMA_SetWeekDay. More... | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetWeekDay (RTC_TypeDef *RTCx) |
Get ALARM A Weekday @rmtoll 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) @rmtoll 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) @rmtoll 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 @rmtoll 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. 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) |
Mask the most-significant bits of the subseconds field starting from the bit specified in parameter Mask. More... | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSubSecondMask (RTC_TypeDef *RTCx) |
Get Alarm A subseconds mask @rmtoll ALRMASSR MASKSS LL_RTC_ALMA_GetSubSecondMask. More... | |
__STATIC_INLINE void | LL_RTC_ALMA_SetSubSecond (RTC_TypeDef *RTCx, uint32_t Subsecond) |
Set Alarm A subseconds value @rmtoll ALRMASSR SS LL_RTC_ALMA_SetSubSecond. More... | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSubSecond (RTC_TypeDef *RTCx) |
Get Alarm A subseconds value @rmtoll 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 @rmtoll 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.
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 1829 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMA_Disable | ( | RTC_TypeDef * | RTCx | ) |
Disable Alarm A.
RTCx | RTC Instance |
None |
Definition at line 1567 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMA_DisableWeekday | ( | RTC_TypeDef * | RTCx | ) |
Disable AlarmA Week day selection (DU[3:0] represents the date ) @rmtoll ALRMAR WDSEL LL_RTC_ALMA_DisableWeekday.
RTCx | RTC Instance |
None |
Definition at line 1630 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMA_Enable | ( | RTC_TypeDef * | RTCx | ) |
Enable Alarm A.
RTCx | RTC Instance |
None |
Definition at line 1555 of file stm32f4xx_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) @rmtoll ALRMAR WDSEL LL_RTC_ALMA_EnableWeekday.
RTCx | RTC Instance |
None |
Definition at line 1619 of file stm32f4xx_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 1658 of file stm32f4xx_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 1750 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetMask | ( | RTC_TypeDef * | RTCx | ) |
Get the Alarm A masks. @rmtoll ALRMAR MSK4 LL_RTC_ALMA_GetMask
ALRMAR MSK3 LL_RTC_ALMA_GetMask
ALRMAR MSK2 LL_RTC_ALMA_GetMask
ALRMAR MSK1 LL_RTC_ALMA_GetMask.
RTCx | RTC Instance |
Returned | value can be can be a combination of the following values:
|
Definition at line 1608 of file stm32f4xx_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 1778 of file stm32f4xx_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 1806 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetSubSecond | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm A subseconds value @rmtoll ALRMASSR SS LL_RTC_ALMA_GetSubSecond.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data=0x7FFF |
Definition at line 1903 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetSubSecondMask | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm A subseconds mask @rmtoll ALRMASSR MASKSS LL_RTC_ALMA_GetSubSecondMask.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data=0xF |
Definition at line 1880 of file stm32f4xx_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 1854 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetTimeFormat | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm A time format (AM or PM notation) @rmtoll ALRMAR PM LL_RTC_ALMA_GetTimeFormat.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 1722 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetWeekDay | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM A Weekday @rmtoll ALRMAR DU LL_RTC_ALMA_GetWeekDay.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 1695 of file stm32f4xx_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 1644 of file stm32f4xx_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 1736 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMA_SetMask | ( | RTC_TypeDef * | RTCx, |
uint32_t | Mask | ||
) |
Specify the Alarm A masks. @rmtoll ALRMAR MSK4 LL_RTC_ALMA_SetMask
ALRMAR MSK3 LL_RTC_ALMA_SetMask
ALRMAR MSK2 LL_RTC_ALMA_SetMask
ALRMAR MSK1 LL_RTC_ALMA_SetMask.
RTCx | RTC Instance |
Mask | This parameter can be a combination of the following values:
|
None |
Definition at line 1588 of file stm32f4xx_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 1764 of file stm32f4xx_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 1792 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMA_SetSubSecond | ( | RTC_TypeDef * | RTCx, |
uint32_t | Subsecond | ||
) |
Set Alarm A subseconds value @rmtoll ALRMASSR SS LL_RTC_ALMA_SetSubSecond.
RTCx | RTC Instance |
Subsecond | Value between Min_Data=0x00 and Max_Data=0x7FFF |
None |
Definition at line 1892 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMA_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 1869 of file stm32f4xx_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) @rmtoll ALRMAR PM LL_RTC_ALMA_SetTimeFormat.
RTCx | RTC Instance |
TimeFormat | This parameter can be one of the following values:
|
None |
Definition at line 1709 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMA_SetWeekDay | ( | RTC_TypeDef * | RTCx, |
uint32_t | WeekDay | ||
) |
Set ALARM A Weekday @rmtoll ALRMAR DU LL_RTC_ALMA_SetWeekDay.
RTCx | RTC Instance |
WeekDay | This parameter can be one of the following values:
|
None |
Definition at line 1677 of file stm32f4xx_ll_rtc.h.