expand13 2.0.0.0
|
This file contains API for Expand 13 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 | expand13_t |
Expand 13 Click context object. More... | |
struct | expand13_cfg_t |
Expand 13 Click configuration object. More... | |
Enumerations | |
enum | expand13_return_value_t { EXPAND13_OK = 0 , EXPAND13_ERROR = -1 } |
Expand 13 Click return value data. More... | |
Functions | |
void | expand13_cfg_setup (expand13_cfg_t *cfg) |
Expand 13 configuration object setup function. | |
err_t | expand13_init (expand13_t *ctx, expand13_cfg_t *cfg) |
Expand 13 initialization function. | |
void | expand13_enable_device (expand13_t *ctx) |
Expand 13 enable device function. | |
void | expand13_disable_device (expand13_t *ctx) |
Expand 13 disable device function. | |
uint8_t | expand13_get_int_pin (expand13_t *ctx) |
Expand 13 get int pin function. | |
err_t | expand13_write_all_ports (expand13_t *ctx, uint8_t *ports) |
Expand 13 write all ports function. | |
err_t | expand13_read_all_ports (expand13_t *ctx, uint8_t *ports) |
Expand 13 read all ports function. | |
err_t | expand13_set_port_value (expand13_t *ctx, uint8_t port, uint8_t clr_mask, uint8_t set_mask) |
Expand 13 set port value function. | |
err_t | expand13_read_port_value (expand13_t *ctx, uint8_t port, uint8_t *data_out) |
Expand 13 read port value function. | |
This file contains API for Expand 13 Click Driver.