adc11 2.0.0.0
|
This file contains API for ADC 11 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | adc11_t |
ADC 11 Click context object. More... | |
struct | adc11_cfg_t |
ADC 11 Click configuration object. More... | |
struct | adc11_calibration_data_t |
ADC 11 Click calibration object. More... | |
Macros | |
#define | ADC11_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | adc11_return_value_t { ADC11_OK = 0 , ADC11_ERROR = -1 } |
ADC 11 Click return value data. More... | |
Functions | |
void | adc11_cfg_setup (adc11_cfg_t *cfg) |
ADC 11 configuration object setup function. | |
err_t | adc11_init (adc11_t *ctx, adc11_cfg_t *cfg) |
ADC 11 initialization function. | |
err_t | adc11_generic_read (adc11_t *ctx, uint16_t *adc_data) |
ADC 11 data reading function. | |
err_t | adc11_set_calibration (adc11_t *ctx, adc11_calibration_data_t *adc_val) |
ADC 11 set calibration function. | |
err_t | adc11_get_voltage (adc11_t *ctx, adc11_calibration_data_t *adc_val, float *voltage) |
ADC 11 get voltage function. | |
This file contains API for ADC 11 Click Driver.
enum adc11_return_value_t |