STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__STATIC_INLINE void | LL_RTC_DATE_SetYear (RTC_TypeDef *RTCx, uint32_t Year) |
Set Year in BCD format. More... | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetYear (RTC_TypeDef *RTCx) |
Get Year in BCD format. More... | |
__STATIC_INLINE void | LL_RTC_DATE_SetWeekDay (RTC_TypeDef *RTCx, uint32_t WeekDay) |
Set Week day @rmtoll DR WDU LL_RTC_DATE_SetWeekDay. More... | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetWeekDay (RTC_TypeDef *RTCx) |
Get Week day. More... | |
__STATIC_INLINE void | LL_RTC_DATE_SetMonth (RTC_TypeDef *RTCx, uint32_t Month) |
Set Month in BCD format. More... | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetMonth (RTC_TypeDef *RTCx) |
Get Month in BCD format. More... | |
__STATIC_INLINE void | LL_RTC_DATE_SetDay (RTC_TypeDef *RTCx, uint32_t Day) |
Set Day in BCD format. More... | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_GetDay (RTC_TypeDef *RTCx) |
Get Day in BCD format. More... | |
__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 @rmtoll DR WDU LL_RTC_DATE_Config DR MT LL_RTC_DATE_Config DR MU LL_RTC_DATE_Config DR DT LL_RTC_DATE_Config DR DU LL_RTC_DATE_Config DR YT LL_RTC_DATE_Config DR YU LL_RTC_DATE_Config. More... | |
__STATIC_INLINE uint32_t | LL_RTC_DATE_Get (RTC_TypeDef *RTCx) |
Get date (WeekDay, Day, Month and Year) in BCD format. More... | |
__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 @rmtoll DR WDU LL_RTC_DATE_Config
DR MT LL_RTC_DATE_Config
DR MU LL_RTC_DATE_Config
DR DT LL_RTC_DATE_Config
DR DU LL_RTC_DATE_Config
DR YT LL_RTC_DATE_Config
DR YU LL_RTC_DATE_Config.
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 1500 of file stm32f4xx_ll_rtc.h.
__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 1528 of file stm32f4xx_ll_rtc.h.
__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 1460 of file stm32f4xx_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 1430 of file stm32f4xx_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 1376 of file stm32f4xx_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 1337 of file stm32f4xx_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 1444 of file stm32f4xx_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 1402 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DATE_SetWeekDay | ( | RTC_TypeDef * | RTCx, |
uint32_t | WeekDay | ||
) |
Set Week day @rmtoll DR WDU LL_RTC_DATE_SetWeekDay.
RTCx | RTC Instance |
WeekDay | This parameter can be one of the following values:
|
None |
Definition at line 1356 of file stm32f4xx_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 1321 of file stm32f4xx_ll_rtc.h.