STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
HAL_StatusTypeDef | RTC_EnterInitMode (RTC_HandleTypeDef *hrtc) |
Enters the RTC Initialization mode. More... | |
HAL_StatusTypeDef | RTC_ExitInitMode (RTC_HandleTypeDef *hrtc) |
Exits the RTC Initialization mode. More... | |
uint8_t | RTC_ByteToBcd2 (uint8_t number) |
Converts a 2-digit number from decimal to BCD format. More... | |
uint8_t | RTC_Bcd2ToByte (uint8_t number) |
Converts a 2-digit number from BCD to decimal format. More... | |
uint8_t RTC_Bcd2ToByte | ( | uint8_t | number | ) |
Converts a 2-digit number from BCD to decimal format.
number | BCD-formatted number (from 00 to 99) to be converted |
Converted | word |
Definition at line 1892 of file stm32f4xx_hal_rtc.c.
uint8_t RTC_ByteToBcd2 | ( | uint8_t | number | ) |
Converts a 2-digit number from decimal to BCD format.
number | decimal-formatted number (from 0 to 99) to be converted |
Converted | byte |
Definition at line 1874 of file stm32f4xx_hal_rtc.c.
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 1813 of file stm32f4xx_hal_rtc.c.
HAL_StatusTypeDef RTC_ExitInitMode | ( | RTC_HandleTypeDef * | hrtc | ) |
Exits the RTC Initialization mode.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
HAL | status |
Definition at line 1848 of file stm32f4xx_hal_rtc.c.