i2cisolator4 2.0.0.0
|
This file contains API for I2C Isolator 4 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 | i2cisolator4_t |
I2C Isolator 4 Click context object. More... | |
struct | i2cisolator4_cfg_t |
I2C Isolator 4 Click configuration object. More... | |
Macros | |
#define | I2CISOLATOR4_SET_DEV_ADDR 0x00 |
I2C Isolator 4 device address setting. | |
#define | I2CISOLATOR4_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | i2cisolator4_return_value_t { I2CISOLATOR4_OK = 0 , I2CISOLATOR4_ERROR = -1 } |
I2C Isolator 4 Click return value data. More... | |
Functions | |
void | i2cisolator4_cfg_setup (i2cisolator4_cfg_t *cfg) |
I2C Isolator 4 configuration object setup function. | |
err_t | i2cisolator4_init (i2cisolator4_t *ctx, i2cisolator4_cfg_t *cfg) |
I2C Isolator 4 initialization function. | |
err_t | i2cisolator4_generic_write (i2cisolator4_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
I2C Isolator 4 I2C writing function. | |
err_t | i2cisolator4_generic_read (i2cisolator4_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
I2C Isolator 4 I2C reading function. | |
err_t | i2cisolator4_set_slave_address (i2cisolator4_t *ctx, uint8_t address) |
I2C Isolator 4 set I2C Slave address function. | |
This file contains API for I2C Isolator 4 Click Driver.