|
void | rtc18_cfg_setup (rtc18_cfg_t *cfg) |
| RTC 18 configuration object setup function.
|
|
err_t | rtc18_init (rtc18_t *ctx, rtc18_cfg_t *cfg) |
| RTC 18 initialization function.
|
|
err_t | rtc18_default_cfg (rtc18_t *ctx) |
| RTC 18 default configuration function.
|
|
err_t | rtc18_generic_write (rtc18_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| RTC 18 I2C writing function.
|
|
err_t | rtc18_generic_read (rtc18_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| RTC 18 I2C reading function.
|
|
err_t | rtc18_write_register (rtc18_t *ctx, uint8_t reg, uint8_t data_in) |
| RTC 18 write register function.
|
|
err_t | rtc18_read_register (rtc18_t *ctx, uint8_t reg, uint8_t *data_out) |
| RTC 18 read register function.
|
|
void | rtc18_set_evi_pin (rtc18_t *ctx, uint8_t state) |
| RTC 18 set EVI pin function.
|
|
uint8_t | rtc18_get_int_pin (rtc18_t *ctx) |
| RTC 18 get int pin function.
|
|
err_t | rtc18_clear_periodic_interrupt (rtc18_t *ctx) |
| RTC 18 clear periodic interrupt function.
|
|
err_t | rtc18_set_time (rtc18_t *ctx, rtc18_time_t *time) |
| RTC 18 set time function.
|
|
err_t | rtc18_read_time (rtc18_t *ctx, rtc18_time_t *time) |
| RTC 18 read time function.
|
|
err_t | rtc18_set_date (rtc18_t *ctx, rtc18_date_t *date) |
| RTC 18 set date function.
|
|
err_t | rtc18_read_date (rtc18_t *ctx, rtc18_date_t *date) |
| RTC 18 read date function.
|
|
err_t | rtc18_read_temperature (rtc18_t *ctx, float *temperature) |
| RTC 18 read temperature function.
|
|
err_t | rtc18_write_eeprom (rtc18_t *ctx, uint8_t address, uint8_t data_in) |
| RTC 18 write eeprom function.
|
|
err_t | rtc18_read_eeprom (rtc18_t *ctx, uint8_t address, uint8_t *data_out) |
| RTC 18 read eeprom function.
|
|
This file contains API for RTC 18 Click Driver.