|
void | rtc12_cfg_setup (rtc12_cfg_t *cfg) |
| RTC 12 configuration object setup function.
|
|
err_t | rtc12_init (rtc12_t *ctx, rtc12_cfg_t *cfg) |
| RTC 12 initialization function.
|
|
err_t | rtc12_default_cfg (rtc12_t *ctx) |
| RTC 12 default configuration function.
|
|
err_t | rtc12_generic_write (rtc12_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| RTC 12 data writing function.
|
|
err_t | rtc12_generic_read (rtc12_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| RTC 12 data reading function.
|
|
err_t | rtc12_set_ctrl_reg (rtc12_t *ctx, rtc12_control_t rtc_ctrl) |
| RTC 12 set control register function.
|
|
err_t | rtc12_get_ctrl_reg (rtc12_t *ctx, rtc12_control_t *rtc_ctrl) |
| RTC 12 get control register function.
|
|
err_t | rtc12_get_time (rtc12_t *ctx, rtc12_time_t *rtc_time) |
| RTC 12 get time function.
|
|
err_t | rtc12_set_time (rtc12_t *ctx, rtc12_time_t rtc_time) |
| RTC 12 set time function.
|
|
err_t | rtc12_get_date (rtc12_t *ctx, rtc12_date_t *rtc_date) |
| RTC 12 get date function.
|
|
err_t | rtc12_set_date (rtc12_t *ctx, rtc12_date_t rtc_date) |
| RTC 12 get time function.
|
|
err_t | rtc12_get_alarm_0 (rtc12_t *ctx, rtc12_alarm_t *rtc_alarm) |
| RTC 12 get alarm 0 function.
|
|
err_t | rtc12_set_alarm_0 (rtc12_t *ctx, rtc12_alarm_t rtc_alarm) |
| RTC 12 get alarm 0 function.
|
|
err_t | rtc12_get_alarm_1 (rtc12_t *ctx, rtc12_alarm_t *rtc_alarm) |
| RTC 12 get alarm 1 function.
|
|
err_t | rtc12_set_alarm_1 (rtc12_t *ctx, rtc12_alarm_t rtc_alarm) |
| RTC 12 get alarm 1 function.
|
|
uint8_t | rtc12_check_int (rtc12_t *ctx) |
| RTC 12 check interrupt state function.
|
|
uint8_t | rtc12_check_power_fail (rtc12_t *ctx) |
| RTC 12 check power fail state function.
|
|
This file contains API for RTC 12 Click Driver.