STM8L15x Standard Peripherals Drivers
|
Functions | |
static uint8_t | Bcd2ToByte (uint8_t Value) |
Converts from 2 digit BCD to Binary format. | |
static uint8_t | ByteToBcd2 (uint8_t Value) |
Converts a 2 digit decimal to BCD format. |
Function Documentation
Converts from 2 digit BCD to Binary format.
Definition at line 2214 of file stm8l15x_rtc.c.
Referenced by RTC_GetAlarm(), RTC_GetDate(), RTC_GetTime(), RTC_SetAlarm(), RTC_SetDate(), and RTC_SetTime().
Converts a 2 digit decimal to BCD format.
Definition at line 2196 of file stm8l15x_rtc.c.
Referenced by RTC_SetAlarm(), RTC_SetDate(), and RTC_SetTime().