analogmux3 2.0.0.0
|
This file contains API for Analog MUX 3 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "drv_analog_in.h"
Go to the source code of this file.
Data Structures | |
struct | analogmux3_t |
Analog MUX 3 Click context object. More... | |
struct | analogmux3_cfg_t |
Analog MUX 3 Click configuration object. More... | |
Enumerations | |
enum | analogmux3_return_value_t { ANALOGMUX3_OK = 0 , ANALOGMUX3_ERROR = -1 } |
Analog MUX 3 Click return value data. More... | |
Functions | |
void | analogmux3_cfg_setup (analogmux3_cfg_t *cfg) |
Analog MUX 3 configuration object setup function. | |
err_t | analogmux3_init (analogmux3_t *ctx, analogmux3_cfg_t *cfg) |
Analog MUX 3 initialization function. | |
err_t | analogmux3_default_cfg (analogmux3_t *ctx) |
Analog MUX 3 default configuration function. | |
err_t | analogmux3_generic_write (analogmux3_t *ctx, uint8_t data_in) |
Analog MUX 3 data writing function. | |
void | analogmux3_hw_reset (analogmux3_t *ctx) |
Analog MUX 3 reset the device function. | |
err_t | analogmux3_set_channel (analogmux3_t *ctx, uint8_t mux_ch) |
Analog MUX 3 set channel function. | |
err_t | analogmux3_read_an_pin_value (analogmux3_t *ctx, uint16_t *data_out) |
Analog MUX 3 read AN pin value function. | |
err_t | analogmux3_read_an_pin_voltage (analogmux3_t *ctx, float *data_out) |
Analog MUX 3 read AN pin voltage level function. | |
This file contains API for Analog MUX 3 Click Driver.