analogmux2 2.0.0.0
|
This file contains API for Analog MUX 2 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_analog_in.h"
Go to the source code of this file.
Data Structures | |
struct | analogmux2_t |
Analog MUX 2 Click context object. More... | |
struct | analogmux2_cfg_t |
Analog MUX 2 Click configuration object. More... | |
Functions | |
void | analogmux2_cfg_setup (analogmux2_cfg_t *cfg) |
Analog MUX 2 configuration object setup function. | |
err_t | analogmux2_init (analogmux2_t *ctx, analogmux2_cfg_t *cfg) |
Analog MUX 2 initialization function. | |
void | analogmux2_default_cfg (analogmux2_t *ctx) |
Analog MUX 2 default configuration function. | |
void | analogmux2_hw_reset (analogmux2_t *ctx) |
Analog MUX 2 reset the device function. | |
err_t | analogmux2_generic_write (analogmux2_t *ctx, uint8_t tx_data) |
Analog MUX 2 I2C writing function. | |
uint8_t | analogmux2_generic_read (analogmux2_t *ctx) |
Analog MUX 2 I2C reading function. | |
err_t | analogmux2_set_channel (analogmux2_t *ctx, uint8_t mux_ch) |
Analog MUX 2 set channel function. | |
uint8_t | analogmux2_get_channel (analogmux2_t *ctx) |
Analog MUX 2 get channel function. | |
err_t | analogmux2_read_an_pin_value (analogmux2_t *ctx, uint16_t *data_out) |
Analog MUX 2 read AN pin value function. | |
err_t | analogmux2_read_an_pin_voltage (analogmux2_t *ctx, float *data_out) |
Analog MUX 2 read AN pin voltage level function. | |
This file contains API for Analog MUX 2 Click Driver.