i2cmux5 2.0.0.0
|
This file contains API for I2C MUX 5 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 | i2cmux5_t |
I2C MUX 5 Click context object. More... | |
struct | i2cmux5_cfg_t |
I2C MUX 5 Click configuration object. More... | |
Functions | |
void | i2cmux5_cfg_setup (i2cmux5_cfg_t *cfg) |
I2C MUX 5 configuration object setup function. | |
err_t | i2cmux5_init (i2cmux5_t *ctx, i2cmux5_cfg_t *cfg) |
I2C MUX 5 initialization function. | |
void | i2cmux5_default_cfg (i2cmux5_t *ctx) |
I2C MUX 5 default configuration function. | |
void | i2cmux5_hw_reset (i2cmux5_t *ctx) |
I2C MUX 5 HW reset function. | |
void | i2cmux5_dev_enable (i2cmux5_t *ctx) |
I2C MUX 5 enable the device function. | |
uint8_t | i2cmux5_check_rdy (i2cmux5_t *ctx) |
I2C MUX 5 check rdy function. | |
uint8_t | i2cmux5_check_alert (i2cmux5_t *ctx) |
I2C MUX 5 check alert function. | |
err_t | i2cmux5_generic_write (i2cmux5_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
I2C MUX 5 I2C writing function. | |
err_t | i2cmux5_generic_read (i2cmux5_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
I2C MUX 5 I2C reading function. | |
uint8_t | i2cmux5_check_ch_alert (i2cmux5_t *ctx, uint8_t n_channel) |
I2C MUX 5 check channel alert function. | |
void | i2cmux5_channel_write_byte (i2cmux5_t *ctx, uint8_t sel_ch, uint8_t ch_slave_addr, uint8_t reg, uint8_t tx_data) |
I2C MUX 5 I2C channel writing function. | |
uint8_t | i2cmux5_channel_read_byte (i2cmux5_t *ctx, uint8_t sel_ch, uint8_t ch_slave_addr, uint8_t reg) |
I2C MUX 5 I2C channel reading function. | |
This file contains API for I2C MUX 5 Click Driver.