|
void | adc12_cfg_setup (adc12_cfg_t *cfg) |
| ADC 12 configuration object setup function. More...
|
|
err_t | adc12_init (adc12_t *ctx, adc12_cfg_t *cfg) |
| ADC 12 initialization function. More...
|
|
err_t | adc12_send_cmd (adc12_t *ctx, uint8_t cmd_byte) |
| ADC 12 send command function. More...
|
|
err_t | adc12_read_data (adc12_t *ctx, uint16_t *data_out) |
| ADC 12 read data function. More...
|
|
void | adc12_set_sd_mode (adc12_t *ctx, uint8_t sd_mode) |
| ADC 12 set the Single-Ended/Differential Inputs function. More...
|
|
uint8_t | adc12_get_sd_mode (adc12_t *ctx) |
| ADC 12 get the Single-Ended/Differential Inputs function. More...
|
|
void | adc12_set_pd_mode (adc12_t *ctx, uint8_t pd_mode) |
| ADC 12 set the Power-Down mode function. More...
|
|
uint8_t | adc12_get_pd_mode (adc12_t *ctx) |
| ADC 12 get the Power-Down mode function. More...
|
|
err_t | adc12_read_raw_data (adc12_t *ctx, uint8_t ch, uint16_t *data_out) |
| ADC 12 read raw ADC data function. More...
|
|
err_t | adc12_read_voltage (adc12_t *ctx, uint8_t ch, uint16_t vref, float *data_out) |
| ADC 12 read voltage function. More...
|
|
This file contains API for ADC 12 Click Driver.