STM32L443xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_RTC_ALMA_Enable (RTC_TypeDef *RTCx) |
Enable Alarm A. | |
__STATIC_INLINE void | LL_RTC_ALMA_Disable (RTC_TypeDef *RTCx) |
Disable Alarm A. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetMask (RTC_TypeDef *RTCx, uint32_t Mask) |
Specify the Alarm A masks. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetMask (RTC_TypeDef *RTCx) |
Get the Alarm A masks. | |
__STATIC_INLINE void | LL_RTC_ALMA_EnableWeekday (RTC_TypeDef *RTCx) |
Enable AlarmA Week day selection (DU[3:0] represents the week day. | |
__STATIC_INLINE void | LL_RTC_ALMA_DisableWeekday (RTC_TypeDef *RTCx) |
Disable AlarmA Week day selection (DU[3:0] represents the date ) | |
__STATIC_INLINE void | LL_RTC_ALMA_SetDay (RTC_TypeDef *RTCx, uint32_t Day) |
Set ALARM A Day in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetDay (RTC_TypeDef *RTCx) |
Get ALARM A Day in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetWeekDay (RTC_TypeDef *RTCx, uint32_t WeekDay) |
Set ALARM A Weekday. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetWeekDay (RTC_TypeDef *RTCx) |
Get ALARM A Weekday. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetTimeFormat (RTC_TypeDef *RTCx, uint32_t TimeFormat) |
Set Alarm A time format (AM/24-hour or PM notation) | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetTimeFormat (RTC_TypeDef *RTCx) |
Get Alarm A time format (AM or PM notation) | |
__STATIC_INLINE void | LL_RTC_ALMA_SetHour (RTC_TypeDef *RTCx, uint32_t Hours) |
Set ALARM A Hours in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetHour (RTC_TypeDef *RTCx) |
Get ALARM A Hours in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetMinute (RTC_TypeDef *RTCx, uint32_t Minutes) |
Set ALARM A Minutes in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetMinute (RTC_TypeDef *RTCx) |
Get ALARM A Minutes in BCD format. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetSecond (RTC_TypeDef *RTCx, uint32_t Seconds) |
Set ALARM A Seconds in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSecond (RTC_TypeDef *RTCx) |
Get ALARM A Seconds in BCD format. | |
__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. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetTime (RTC_TypeDef *RTCx) |
Get Alarm B Time (hour, minute and second) in BCD format. | |
__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. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSubSecondMask (RTC_TypeDef *RTCx) |
Get Alarm A Mask the most-significant bits starting at this bit. | |
__STATIC_INLINE void | LL_RTC_ALMA_SetSubSecond (RTC_TypeDef *RTCx, uint32_t Subsecond) |
Set Alarm A Sub seconds value. | |
__STATIC_INLINE uint32_t | LL_RTC_ALMA_GetSubSecond (RTC_TypeDef *RTCx) |
Get Alarm A Sub seconds value. |
__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.
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 2327 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_Init().
__STATIC_INLINE void LL_RTC_ALMA_Disable | ( | RTC_TypeDef * | RTCx | ) |
Disable Alarm A.
RTCx | RTC Instance |
None |
Definition at line 2065 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 )
RTCx | RTC Instance |
None |
Definition at line 2128 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_Init().
__STATIC_INLINE void LL_RTC_ALMA_Enable | ( | RTC_TypeDef * | RTCx | ) |
Enable Alarm A.
RTCx | RTC Instance |
None |
Definition at line 2053 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)
RTCx | RTC Instance |
None |
Definition at line 2117 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_Init().
__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 2156 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 2248 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_GetTime().
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetMask | ( | RTC_TypeDef * | RTCx | ) |
Get the Alarm A masks.
RTCx | RTC Instance |
Returned | value can be can be a combination of the following values: |
Definition at line 2106 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 2276 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_GetTime().
__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 2304 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_GetTime().
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetSubSecond | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm A Sub seconds value.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data=0x7FFF |
Definition at line 2457 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.
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 2378 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 2351 of file stm32l4xx_ll_rtc.h.
References LL_RTC_ALMA_GetHour(), LL_RTC_ALMA_GetMinute(), LL_RTC_ALMA_GetSecond(), RTC_OFFSET_HOUR, and RTC_OFFSET_MINUTE.
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetTimeFormat | ( | RTC_TypeDef * | RTCx | ) |
Get Alarm A time format (AM or PM notation)
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 2220 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetWeekDay | ( | RTC_TypeDef * | RTCx | ) |
Get ALARM A Weekday.
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 2193 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 2142 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_Init().
__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 2234 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMA_SetMask | ( | RTC_TypeDef * | RTCx, |
uint32_t | Mask | ||
) |
Specify the Alarm A masks.
RTCx | RTC Instance |
Mask | This parameter can be a combination of the following values: |
None |
Definition at line 2086 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_Init().
__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 2262 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 2290 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.
RTCx | RTC Instance |
Subsecond | Value between Min_Data=0x00 and Max_Data=0x7FFF |
None |
Definition at line 2446 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 | 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 2366 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)
RTCx | RTC Instance |
TimeFormat | This parameter can be one of the following values: |
None |
Definition at line 2207 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_ALMA_SetWeekDay | ( | RTC_TypeDef * | RTCx, |
uint32_t | WeekDay | ||
) |
Set ALARM A Weekday.
RTCx | RTC Instance |
WeekDay | This parameter can be one of the following values: |
None |
Definition at line 2175 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_Init().