STM32L443xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_RTC_DATE_SetYear (RTC_TypeDef *RTCx, uint32_t Year) |
Set Year in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetYear (RTC_TypeDef *RTCx) |
Get Year in BCD format. | |
__STATIC_INLINE void | LL_RTC_DATE_SetWeekDay (RTC_TypeDef *RTCx, uint32_t WeekDay) |
Set Week day. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetWeekDay (RTC_TypeDef *RTCx) |
Get Week day. | |
__STATIC_INLINE void | LL_RTC_DATE_SetMonth (RTC_TypeDef *RTCx, uint32_t Month) |
Set Month in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetMonth (RTC_TypeDef *RTCx) |
Get Month in BCD format. | |
__STATIC_INLINE void | LL_RTC_DATE_SetDay (RTC_TypeDef *RTCx, uint32_t Day) |
Set Day in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetDay (RTC_TypeDef *RTCx) |
Get Day in BCD format. | |
__STATIC_INLINE void | LL_RTC_DATE_Config (RTC_TypeDef *RTCx, uint32_t WeekDay, uint32_t Day, uint32_t Month, uint32_t Year) |
Set date (WeekDay, Day, Month and Year) in BCD format. | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_Get (RTC_TypeDef *RTCx) |
Get date (WeekDay, Day, Month and Year) in BCD format. |
__STATIC_INLINE void LL_RTC_DATE_Config | ( | RTC_TypeDef * | RTCx, |
uint32_t | WeekDay, | ||
uint32_t | Day, | ||
uint32_t | Month, | ||
uint32_t | Year | ||
) |
Set date (WeekDay, Day, Month and Year) in BCD format.
RTCx | RTC Instance |
WeekDay | This parameter can be one of the following values: |
Day | Value between Min_Data=0x01 and Max_Data=0x31 |
Month | This parameter can be one of the following values: |
Year | Value between Min_Data=0x00 and Max_Data=0x99 |
None |
Definition at line 1999 of file stm32l4xx_ll_rtc.h.
Referenced by LL_RTC_DATE_Init().
__STATIC_INLINE uint32_t LL_RTC_DATE_Get | ( | RTC_TypeDef * | RTCx | ) |
Get date (WeekDay, Day, Month and Year) in BCD format.
RTCx | RTC Instance |
Combination | of WeekDay, Day, Month and Year (Format: 0xWWDDMMYY). |
Definition at line 2027 of file stm32l4xx_ll_rtc.h.
References RTC_OFFSET_DAY, RTC_OFFSET_MONTH, and RTC_OFFSET_WEEKDAY.
__STATIC_INLINE uint32_t LL_RTC_DATE_GetDay | ( | RTC_TypeDef * | RTCx | ) |
Get Day in BCD format.
RTCx | RTC Instance |
Value | between Min_Data=0x01 and Max_Data=0x31 |
Definition at line 1959 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_DATE_GetMonth | ( | RTC_TypeDef * | RTCx | ) |
Get Month in BCD format.
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 1929 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_DATE_GetWeekDay | ( | RTC_TypeDef * | RTCx | ) |
Get Week day.
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 1875 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_DATE_GetYear | ( | RTC_TypeDef * | RTCx | ) |
Get Year in BCD format.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data=0x99 |
Definition at line 1836 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DATE_SetDay | ( | RTC_TypeDef * | RTCx, |
uint32_t | Day | ||
) |
Set Day in BCD format.
RTCx | RTC Instance |
Day | Value between Min_Data=0x01 and Max_Data=0x31 |
None |
Definition at line 1943 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DATE_SetMonth | ( | RTC_TypeDef * | RTCx, |
uint32_t | Month | ||
) |
Set Month in BCD format.
RTCx | RTC Instance |
Month | This parameter can be one of the following values: |
None |
Definition at line 1901 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DATE_SetWeekDay | ( | RTC_TypeDef * | RTCx, |
uint32_t | WeekDay | ||
) |
Set Week day.
RTCx | RTC Instance |
WeekDay | This parameter can be one of the following values: |
None |
Definition at line 1855 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DATE_SetYear | ( | RTC_TypeDef * | RTCx, |
uint32_t | Year | ||
) |
Set Year in BCD format.
RTCx | RTC Instance |
Year | Value between Min_Data=0x00 and Max_Data=0x99 |
None |
Definition at line 1820 of file stm32l4xx_ll_rtc.h.