|
void | rtc11_cfg_setup (rtc11_cfg_t *cfg) |
| RTC 11 configuration object setup function.
|
|
err_t | rtc11_init (rtc11_t *ctx, rtc11_cfg_t *cfg) |
| RTC 11 initialization function.
|
|
void | rtc11_generic_write (rtc11_t *ctx, uint8_t reg, uint8_t *wr_data, uint16_t n_len) |
| RTC 11 data writing function.
|
|
void | rtc11_generic_read (rtc11_t *ctx, uint8_t reg, uint8_t *rd_data, uint16_t n_len) |
| RTC 11 data reading function.
|
|
uint8_t | rtc11_check_irq_1 (rtc11_t *ctx) |
| Check Interrupt 1 pin function.
|
|
uint8_t | rtc11_check_irq_2 (rtc11_t *ctx) |
| Check Interrupt 2 pin function.
|
|
void | rtc11_wdi (rtc11_t *ctx, uint8_t state) |
| Watchdog reset function.
|
|
void | rtc11_ext_int (rtc11_t *ctx, uint8_t state) |
| External interrupt function.
|
|
void | rtc11_set_time_hundredths (rtc11_t *ctx, uint8_t hundredths) |
| Set hundredths function.
|
|
void | rtc11_set_time_seconds (rtc11_t *ctx, uint8_t seconds) |
| Set seconds function.
|
|
void | rtc11_set_time_minutes (rtc11_t *ctx, uint8_t minutes) |
| Set minutes function.
|
|
void | rtc11_set_time_hours (rtc11_t *ctx, uint8_t hours) |
| Set hours function.
|
|
uint8_t | rtc11_get_time_hundredths (rtc11_t *ctx) |
| Get hundredths function.
|
|
uint8_t | rtc11_get_time_seconds (rtc11_t *ctx) |
| Get seconds function.
|
|
uint8_t | rtc11_get_time_minutes (rtc11_t *ctx) |
| Get minutes function.
|
|
uint8_t | rtc11_get_time_hours (rtc11_t *ctx) |
| Get hours function.
|
|
uint8_t | rtc11_get_date_day (rtc11_t *ctx) |
| Get day function.
|
|
void | rtc11_set_date_day (rtc11_t *ctx, uint8_t date_day) |
| Set day function.
|
|
uint8_t | rtc11_get_date_month (rtc11_t *ctx) |
| Get month function.
|
|
void | rtc11_set_date_month (rtc11_t *ctx, uint8_t date_mth) |
| Set month function.
|
|
uint8_t | rtc11_get_date_year (rtc11_t *ctx) |
| Get year function.
|
|
void | rtc11_set_date_year (rtc11_t *ctx, uint16_t date_yrs) |
| Set year function.
|
|
uint8_t | rtc11_get_century_flag (rtc11_t *ctx) |
| Get century flag function.
|
|
uint8_t | rtc11_get_day_of_the_week (rtc11_t *ctx) |
| Get day of the week function.
|
|
void | rtc11_set_day_of_the_week (rtc11_t *ctx, uint8_t w_day) |
| Set day of the week function.
|
|
void | rtc11_set_ala_time_hundredths (rtc11_t *ctx, uint8_t hundredths) |
| Set alarm time hundredths function.
|
|
void | rtc11_set_ala_time_seconds (rtc11_t *ctx, uint8_t seconds) |
| Set alarm time seconds function.
|
|
void | rtc11_set_ala_time_minutes (rtc11_t *ctx, uint8_t minutes) |
| Set alarm time minutes function.
|
|
void | rtc11_set_ala_time_hours (rtc11_t *ctx, uint8_t hours) |
| Set alarm time hours function.
|
|
uint8_t | rtc11_get_ala_time_hundredths (rtc11_t *ctx) |
| Get alarm time hundredths function.
|
|
uint8_t | rtc11_get_ala_time_seconds (rtc11_t *ctx) |
| Get alarm time seconds function.
|
|
uint8_t | rtc11_get_ala_time_minutes (rtc11_t *ctx) |
| Get alarm time minutes function.
|
|
uint8_t | rtc11_get_ala_time_hours (rtc11_t *ctx) |
| Get alarm time hours function.
|
|
uint8_t | rtc11_get_ala_date_day (rtc11_t *ctx) |
| Get alarm time days function.
|
|
void | rtc11_set_ala_date_day (rtc11_t *ctx, uint8_t date_day) |
| Set alarm time day function.
|
|
uint8_t | rtc11_get_ala_date_month (rtc11_t *ctx) |
| Get alarm time month function.
|
|
void | rtc11_set_ala_date_month (rtc11_t *ctx, uint8_t date_mth) |
| Set alarm time month function.
|
|
uint8_t | rtc11_get_ala_day_of_the_week (rtc11_t *ctx) |
| Get alarm time day of the week function.
|
|
void | rtc11_set_ala_day_of_the_week (rtc11_t *ctx, uint8_t w_day) |
| Set alarm time day of the week function.
|
|
void | rtc11_soft_rst (rtc11_t *ctx) |
| Software Reset function.
|
|
err_t | rtc11_set_time (rtc11_t *ctx, rtc11_time_t rtc_time) |
| Set time hours, minutes and seconds function.
|
|
void | rtc11_get_time (rtc11_t *ctx, rtc11_time_t *rtc_time) |
| Get time hours, minutes and seconds function.
|
|
err_t | rtc11_set_date (rtc11_t *ctx, rtc11_date_t rtc_date) |
| Set date day of the week, day, month and year function.
|
|
void | rtc11_get_date (rtc11_t *ctx, rtc11_date_t *rtc_date) |
| Get date day of the week, day, month and year function.
|
|
void | rtc11_stp_sys_slk (rtc11_t *ctx, uint8_t state) |
| Stop the clocking system function.
|
|
void | rtc11_auto_rst (rtc11_t *ctx, uint8_t state) |
| Auto reset enable function.
|
|
void | rtc11_write_rtc (rtc11_t *ctx, uint8_t state) |
| Write RTC enable function.
|
|
void | rtc11_cen_en (rtc11_t *ctx, uint8_t state) |
| Century Enable function.
|
|
void | rtc11_bat_low_int_en (rtc11_t *ctx, uint8_t state) |
| Battery Low Interrupt Enable function.
|
|
void | rtc11_timer_int_en (rtc11_t *ctx, uint8_t state) |
| Timer Interrupt Enable function.
|
|
void | rtc11_alarm_int_en (rtc11_t *ctx, uint8_t state) |
| Alarm Interrupt Enable function.
|
|
void | rtc11_xt2_int_en (rtc11_t *ctx, uint8_t state) |
| XT2 Interrupt Enable function.
|
|
void | rtc11_xt1_int_en (rtc11_t *ctx, uint8_t state) |
| XT1 Interrupt Enable function.
|
|
void | rtc11_bat_mode_en (rtc11_t *ctx, uint8_t state) |
| Batmode enable function.
|
|
This file contains API for RTC 11 Click Driver.