Function definitions for RTC driver.
Functions | |
| rtc_status_t | rtc_applyConfig (rtc_instance_t *rtc) |
| Wrapper: Apply I2C + RTC configuration. | |
| rtc_status_t | rtc_enableErrorInterrupt (rtc_instance_t *rtc) |
| Wrapper: Enable RTC error interrupt. | |
| u8 | convert_hour_register (u8 old_reg_val, u8 to_12h) |
| Convert hour register between 12-hour and 24-hour format. | |
RTC (Public API - String Based Functions) | |
Helper function. | |
| const char * | Day_ordinal [] |
| Get ordinal suffix for a given day. | |
| const char *const | DayStrings [] |
| Get string representations for Sunday,Monday ,etc.. | |
| const char *const | MonthStrings [] |
| Get string representations for months. | |
| const char *const | meridiem [] |
| Get string representations for meridiem (AM/PM). | |
| const char * | get_ordinal (u8 day) |
| Get ordinal suffix for a given day. | |
|
extern |
| rtc_status_t rtc_applyConfig | ( | rtc_instance_t * | rtc | ) |
#include <rtc.h>
Wrapper: Apply I2C + RTC configuration.
| rtc | Pointer to RTC instance. |
| rtc_status_t rtc_enableErrorInterrupt | ( | rtc_instance_t * | rtc | ) |
|
extern |
|
extern |
|
extern |