Functions | |
| HAL_StatusTypeDef | RTC_EnterInitMode (RTC_HandleTypeDef *hrtc) |
| Enters the RTC Initialization mode. More... | |
| uint8_t | RTC_ByteToBcd2 (uint8_t Value) |
| Converts a 2 digit decimal to BCD format. More... | |
| uint8_t | RTC_Bcd2ToByte (uint8_t Value) |
| Converts from 2 digit BCD to Binary. More... | |
| uint8_t RTC_Bcd2ToByte | ( | uint8_t | Value | ) |
Converts from 2 digit BCD to Binary.
| Value | BCD value to be converted |
| Converted | word |
| uint8_t RTC_ByteToBcd2 | ( | uint8_t | Value | ) |
Converts a 2 digit decimal to BCD format.
| Value | Byte to be converted |
| Converted | byte |
| 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 |