|
void | rtc20_cfg_setup (rtc20_cfg_t *cfg) |
| RTC 20 configuration object setup function.
|
|
err_t | rtc20_init (rtc20_t *ctx, rtc20_cfg_t *cfg) |
| RTC 20 initialization function.
|
|
err_t | rtc20_generic_write (rtc20_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| RTC 20 I2C writing function.
|
|
err_t | rtc20_generic_read (rtc20_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| RTC 20 I2C reading function.
|
|
void | rtc20_wdi_pin_state (rtc20_t *ctx, uint8_t pin_state) |
| RTC 20 I2C reading function.
|
|
void | rtc20_ext_pin_state (rtc20_t *ctx, uint8_t pin_state) |
| RTC 20 I2C reading function.
|
|
err_t | rtc20_set_time (rtc20_t *ctx, rtc20_time_t rtc_time) |
| RTC 20 set time function.
|
|
err_t | rtc20_get_time (rtc20_t *ctx, rtc20_time_t *rtc_time) |
| RTC 20 get time function.
|
|
err_t | rtc20_set_date (rtc20_t *ctx, rtc20_date_t rtc_date) |
| RTC 20 set date function.
|
|
err_t | rtc20_get_date (rtc20_t *ctx, rtc20_date_t *rtc_date) |
| RTC 20 get date function.
|
|
err_t | rtc20_set_alarm (rtc20_t *ctx, rtc20_time_t rtc_alarm_time, rtc20_date_t rtc_alarm_date) |
| RTC 20 set alarm function.
|
|
err_t | rtc20_get_alarm (rtc20_t *ctx, rtc20_time_t *rtc_alarm_time, rtc20_date_t *rtc_alarm_date) |
| RTC 20 get alarm function.
|
|
err_t | rtc20_get_status (rtc20_t *ctx, uint8_t *status) |
| RTC 20 get status function.
|
|
err_t | rtc20_set_ctrl_signals (rtc20_t *ctx, rtc20_ctrl_signals_t ctrl_signals) |
| RTC 20 set ctrl signals function.
|
|
err_t | rtc20_get_ctrl_signals (rtc20_t *ctx, rtc20_ctrl_signals_t *ctrl_signals) |
| RTC 20 get ctrl signals function.
|
|
uint8_t | rtc20_get_ir1_pin (rtc20_t *ctx) |
| RTC 20 get IR1 pin function.
|
|
uint8_t | rtc20_get_ir2_pin (rtc20_t *ctx) |
| RTC 20 get IR2 pin function.
|
|
This file contains API for RTC 20 Click Driver.