expand8 2.0.0.0
|
This file contains API for Expand 8 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | expand8_t |
Expand 8 Click context object. More... | |
struct | expand8_cfg_t |
Expand 8 Click configuration object. More... | |
Enumerations | |
enum | expand8_return_value_t { EXPAND8_OK = 0 , EXPAND8_ERROR = -1 } |
Expand 8 Click return value data. More... | |
Functions | |
void | expand8_cfg_setup (expand8_cfg_t *cfg) |
Expand 8 configuration object setup function. | |
err_t | expand8_init (expand8_t *ctx, expand8_cfg_t *cfg) |
Expand 8 initialization function. | |
err_t | expand8_generic_write (expand8_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Expand 8 data writing function. | |
err_t | expand8_generic_read (expand8_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Expand 8 data reading function. | |
void | expand8_write_data (expand8_t *ctx, uint8_t addr, uint8_t tx_data) |
Generic write data function. | |
uint8_t | expand8_read_data (expand8_t *ctx, uint8_t addr) |
Generic read data function. | |
err_t | expand8_set_port (expand8_t *ctx, uint8_t sel_port, uint8_t sel_imped) |
Set port function. | |
This file contains API for Expand 8 Click Driver.