Go to the source code of this file.
|
|
void | rtc_init (void) |
| | Initialise the RTC system.
|
| bool | rtc_set_datetime (const datetime_t *t) |
| | Set the RTC to the specified time.
|
| bool | rtc_get_datetime (datetime_t *t) |
| | Get the current time from the RTC.
|
|
bool | rtc_running (void) |
| | Is the RTC running?
|
| void | rtc_set_alarm (const datetime_t *t, rtc_callback_t user_callback) |
| | Set a time in the future for the RTC to call a user provided callback.
|
|
void | rtc_enable_alarm (void) |
| | Enable the RTC alarm (if inactive).
|
|
void | rtc_disable_alarm (void) |
| | Disable the RTC alarm (if active).
|
| bool | rtc_run_from_external_source (uint32_t src_hz, uint gpio_pin) |
| | Run the RTC from an external clock source through GPIO.
|