STM32F479xx HAL User Manual
|
Functions | |
HAL_StatusTypeDef | RTC_EnterInitMode (RTC_HandleTypeDef *hrtc) |
Enters the RTC Initialization mode. | |
uint8_t | RTC_ByteToBcd2 (uint8_t Value) |
Converts a 2 digit decimal to BCD format. | |
uint8_t | RTC_Bcd2ToByte (uint8_t Value) |
Converts from 2 digit BCD to Binary. |
uint8_t RTC_Bcd2ToByte | ( | uint8_t | Value | ) |
Converts from 2 digit BCD to Binary.
Value | BCD value to be converted |
Converted | word |
Definition at line 1883 of file stm32f4xx_hal_rtc.c.
Referenced by HAL_RTC_GetAlarm(), HAL_RTC_GetDate(), HAL_RTC_GetTime(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetDate(), HAL_RTC_SetTime(), and HAL_RTCEx_GetTimeStamp().
uint8_t RTC_ByteToBcd2 | ( | uint8_t | Value | ) |
Converts a 2 digit decimal to BCD format.
Value | Byte to be converted |
Converted | byte |
Definition at line 1865 of file stm32f4xx_hal_rtc.c.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetDate(), and HAL_RTC_SetTime().
HAL_StatusTypeDef RTC_EnterInitMode | ( | RTC_HandleTypeDef * | hrtc | ) |
Enters the RTC Initialization mode.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
HAL | status |
Definition at line 1833 of file stm32f4xx_hal_rtc.c.
References HAL_GetTick(), __RTC_HandleTypeDef::Instance, RTC_INIT_MASK, and RTC_TIMEOUT_VALUE.
Referenced by HAL_RTC_DeInit(), HAL_RTC_Init(), HAL_RTC_SetDate(), HAL_RTC_SetTime(), HAL_RTCEx_DeactivateCoarseCalib(), HAL_RTCEx_DeactivateRefClock(), HAL_RTCEx_SetCoarseCalib(), and HAL_RTCEx_SetRefClock().