i2c1wire 2.0.0.0
|
This file contains API for I2C 1 Wire 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 | i2c1wire_t |
Click ctx object definition. More... | |
struct | i2c1wire_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | i2c1wire_cfg_setup (i2c1wire_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | i2c1wire_init (i2c1wire_t *ctx, i2c1wire_cfg_t *cfg) |
Initialization function. | |
err_t | i2c1wire_generic_write (i2c1wire_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Generic write function. | |
err_t | i2c1wire_generic_read (i2c1wire_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Generic read function. | |
void | i2c1wire_soft_reset (i2c1wire_t *ctx) |
Software reset function. | |
uint8_t | i2c1wire_set_config (i2c1wire_t *ctx, uint8_t cfg) |
Set configuration function. | |
uint8_t | i2c1wire_set_channel (i2c1wire_t *ctx, uint8_t chan) |
Set channel function. | |
void | i2c1wire_set_read_pointer (i2c1wire_t *ctx, uint8_t ptr) |
Set read pointer function. | |
void | i2c1wire_one_wire_reset (i2c1wire_t *ctx) |
Reset function. | |
void | i2c1wire_write_byte_one_wire (i2c1wire_t *ctx, uint8_t input) |
Write byte function. | |
uint8_t | i2c1wire_read_byte_one_wire (i2c1wire_t *ctx) |
Read byte function. | |
This file contains API for I2C 1 Wire Click driver.