capextend 2.0.0.0
|
This file contains API for Cap Extend 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 | capextend_t |
Click ctx object definition. More... | |
struct | capextend_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | capextend_cfg_setup (capextend_cfg_t *cfg) |
Config Object Initialization function. | |
CAPEXTEND_RETVAL | capextend_init (capextend_t *ctx, capextend_cfg_t *cfg) |
Initialization function. | |
void | capextend_generic_write (capextend_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | capextend_generic_read (capextend_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
int8_t | capextend_read_msb_buttons (capextend_t *ctx) |
Read MSB buttons function. | |
int8_t | capextend_read_lsb_buttons (capextend_t *ctx) |
Read LSB buttons function. | |
uint16_t | capextend_read_buttons (capextend_t *ctx) |
Read buttons function. | |
void | capextend_reset (capextend_t *ctx) |
Reset function. | |
void | capextend_set_rst_high (capextend_t *ctx) |
Set reset high function. | |
void | capextend_set_rst_low (capextend_t *ctx) |
Set reset low function. | |
uint8_t | capextend_get_int_input (capextend_t *ctx) |
Get interrupt input function. | |
This file contains API for Cap Extend Click driver.