i2cextend2 2.0.0.0
|
This file contains API for I2C Extend 2 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 | i2cextend2_t |
I2C Extend 2 Click context object. More... | |
struct | i2cextend2_cfg_t |
I2C Extend 2 Click configuration object. More... | |
Enumerations | |
enum | i2cextend2_return_value_t { I2CEXTEND2_OK = 0 , I2CEXTEND2_ERROR = -1 } |
I2C Extend 2 Click return value data. More... | |
Functions | |
void | i2cextend2_cfg_setup (i2cextend2_cfg_t *cfg) |
I2C Extend 2 configuration object setup function. | |
err_t | i2cextend2_init (i2cextend2_t *ctx, i2cextend2_cfg_t *cfg) |
I2C Extend 2 initialization function. | |
void | i2cextend2_rmt_write (i2cextend2_t *ctx, uint8_t reg, uint8_t tx_data) |
Generic write data in Remote Mode function. | |
uint8_t | i2cextend2_rmt_read (i2cextend2_t *ctx, uint8_t reg) |
Generic read data in Remote Mode function. | |
void | i2cextend2_rmt_multi_write (i2cextend2_t *ctx, uint8_t reg, uint8_t *p_tx_data, uint8_t n_bytes) |
Generic multi write data in Remote Mode function. | |
void | i2cextend2_rmt_multi_read (i2cextend2_t *ctx, uint8_t reg, uint8_t *p_rx_data, uint8_t n_bytes) |
Generic multi read data in Remote Mode function. | |
void | i2cextend2_enable (i2cextend2_t *ctx, uint8_t en_extend) |
Enable extend function. | |
This file contains API for I2C Extend 2 Click Driver.