expand19
2.1.0.0
|
This file contains API for Expand 19 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 | expand19_t |
Expand 19 Click context object. More... | |
struct | expand19_cfg_t |
Expand 19 Click configuration object. More... | |
Enumerations | |
enum | expand19_return_value_t { EXPAND19_OK = 0, EXPAND19_ERROR = -1 } |
Expand 19 Click return value data. More... | |
Functions | |
void | expand19_cfg_setup (expand19_cfg_t *cfg) |
Expand 19 configuration object setup function. More... | |
err_t | expand19_init (expand19_t *ctx, expand19_cfg_t *cfg) |
Expand 19 initialization function. More... | |
err_t | expand19_default_cfg (expand19_t *ctx) |
Expand 19 default configuration function. More... | |
err_t | expand19_write_register (expand19_t *ctx, uint8_t reg, uint8_t data_in) |
Expand 19 write register function. More... | |
err_t | expand19_read_register (expand19_t *ctx, uint8_t reg, uint8_t *data_out) |
Expand 19 read register function. More... | |
void | expand19_set_rst_pin (expand19_t *ctx, uint8_t state) |
Expand 19 set RST pin function. More... | |
void | expand19_reset_device (expand19_t *ctx) |
Expand 19 reset device function. More... | |
uint8_t | expand19_get_int_pin (expand19_t *ctx) |
Expand 19 get INT pin function. More... | |
err_t | expand19_set_pin_direction (expand19_t *ctx, uint8_t direction, uint8_t pin_mask) |
Expand 19 set pin direction function. More... | |
err_t | expand19_set_all_pins_direction (expand19_t *ctx, uint8_t direction) |
Expand 19 set all pins direction function. More... | |
err_t | expand19_set_all_pins_value (expand19_t *ctx, uint8_t set_mask) |
Expand 19 set all pins value function. More... | |
err_t | expand19_set_pin_value (expand19_t *ctx, uint8_t clr_mask, uint8_t set_mask) |
Expand 19 set pin value function. More... | |
err_t | expand19_read_port_value (expand19_t *ctx, uint8_t *data_out) |
Expand 19 read port value function. More... | |
This file contains API for Expand 19 Click Driver.