adc17 2.0.0.0
|
This file contains API for ADC 17 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 | adc17_t |
ADC 17 Click context object. More... | |
struct | adc17_cfg_t |
ADC 17 Click configuration object. More... | |
Enumerations | |
enum | adc17_return_value_t { ADC17_OK = 0 , ADC17_ERROR = -1 } |
ADC 17 Click return value data. More... | |
Functions | |
void | adc17_cfg_setup (adc17_cfg_t *cfg) |
ADC 17 configuration object setup function. | |
err_t | adc17_init (adc17_t *ctx, adc17_cfg_t *cfg) |
ADC 17 initialization function. | |
err_t | adc17_default_cfg (adc17_t *ctx) |
ADC 17 default configuration function. | |
err_t | adc17_write_setup_byte (adc17_t *ctx, uint8_t setup_byte) |
ADC 17 write setup byte function. | |
err_t | adc17_write_config_byte (adc17_t *ctx, uint8_t config_byte) |
ADC 17 write config byte function. | |
err_t | adc17_set_channel (adc17_t *ctx, uint8_t channel) |
ADC 17 set channel function. | |
err_t | adc17_get_voltage (adc17_t *ctx, float *voltage) |
ADC 17 get voltage function. | |
This file contains API for ADC 17 Click Driver.
enum adc17_return_value_t |