rtc7 2.0.0.0
|
This file contains API for RTC 7 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | rtc7_time_t |
struct | rtc7_t |
Click ctx object definition. More... | |
struct | rtc7_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | rtc7_cfg_setup (rtc7_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | rtc7_init (rtc7_t *ctx, rtc7_cfg_t *cfg) |
Initialization function. | |
err_t | rtc7_generic_write (rtc7_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
err_t | rtc7_generic_read (rtc7_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
err_t | rtc7_write_reg (rtc7_t *ctx, uint8_t reg, uint8_t data_in) |
Write one byte function. | |
err_t | rtc7_read_reg (rtc7_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Read one byte function. | |
err_t | rtc7_init_time (rtc7_t *ctx, int8_t time_zone) |
Initialization function. | |
err_t | rtc7_set_osc (rtc7_t *ctx, uint8_t enable_osc, uint8_t clk_in, uint8_t clk_out) |
Oscillator Set function. | |
err_t | rtc7_set_timer (rtc7_t *ctx, uint8_t enable_timer, uint8_t timer_freq) |
Timer Set function. | |
err_t | rtc7_reset (rtc7_t *ctx) |
Reset function. | |
err_t | rtc7_get_gmt_time (rtc7_t *ctx, rtc7_time_t *gmt_time) |
Get Gmt Time function. | |
err_t | rtc7_get_local_time (rtc7_t *ctx, rtc7_time_t *local_time) |
Get Local Time function. | |
err_t | rtc7_set_gmt_time (rtc7_t *ctx, rtc7_time_t *time) |
Set Gmt Time function. | |
uint8_t | rtc7_check_interrupt (rtc7_t *ctx) |
Interrupt Check function. | |
uint8_t | rtc7_check_psw (rtc7_t *ctx) |
Power Switch Control function. | |
This file contains API for RTC 7 Click driver.