adc7 2.0.0.0
|
This file contains API for ADC 7 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | adc7_t |
Click ctx object definition. More... | |
struct | adc7_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | adc7_cfg_setup (adc7_cfg_t *cfg) |
Config Object Initialization function. | |
void | adc7_default_cfg (adc7_t *ctx) |
Default Configuration Initialization function. | |
ADC7_RETVAL | adc7_init (adc7_t *ctx, adc7_cfg_t *cfg) |
Initialization function. | |
uint8_t | adc7_set_config (adc7_t *ctx, uint8_t gain_config, uint8_t down_samp_factor, uint8_t filter_type) |
Configuration set function. | |
uint8_t | adc7_check_data_ready (adc7_t *ctx) |
Data Ready Check Function. | |
uint8_t | adc7_check_busy (adc7_t *ctx) |
Busy Check Function. | |
void | adc7_set_clock (adc7_t *ctx, uint8_t state) |
Set Clock. | |
void | adc7_preset_mode (adc7_t *ctx, uint8_t state) |
Preset Mode. | |
uint8_t | adc7_read_bytes (adc7_t *ctx, uint8_t n_bytes, uint8_t *data_out) |
Read Bytes Function. | |
void | adc7_start_conv_cycle (adc7_t *ctx) |
Start Conversion Function. | |
uint8_t | adc7_read_results (adc7_t *ctx, float *voltage) |
Start Conversion Function. | |
This file contains API for ADC 7 Click driver.