i2cisolator 2.0.0.0
|
This file contains API for I2C isolator Click driver. More...
#include "drv_digital_out.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | i2cisolator_t |
Click ctx object definition. More... | |
struct | i2cisolator_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | I2CISOLATOR_MAP_MIKROBUS(cfg, mikrobus) |
#define | I2CISOLATOR_RETVAL uint8_t |
#define | I2CISOLATOR_OK 0x00 |
#define | I2CISOLATOR_INIT_ERROR 0xFF |
Functions | |
void | i2cisolator_cfg_setup (i2cisolator_cfg_t *cfg) |
Config Object Initialization function. | |
I2CISOLATOR_RETVAL | i2cisolator_init (i2cisolator_t *ctx, i2cisolator_cfg_t *cfg) |
Initialization function. | |
void | i2cisolator_default_cfg (i2cisolator_t *ctx) |
Click Default Configuration function. | |
void | i2cisolator_generic_write (i2cisolator_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | i2cisolator_generic_read (i2cisolator_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
This file contains API for I2C isolator Click driver.