|
void | adc15_cfg_setup (adc15_cfg_t *cfg) |
| ADC 15 configuration object setup function.
|
|
err_t | adc15_init (adc15_t *ctx, adc15_cfg_t *cfg) |
| ADC 15 initialization function.
|
|
err_t | adc15_default_cfg (adc15_t *ctx) |
| ADC 15 default configuration function.
|
|
err_t | adc15_adc_write (adc15_t *ctx, uint8_t *data_in, uint8_t len) |
| Data writing function.
|
|
err_t | adc15_reg_write (adc15_t *ctx, uint8_t reg, uint16_t data_in) |
| Register writing function.
|
|
err_t | adc15_multiple_reg_write (adc15_t *ctx, uint8_t reg, uint16_t *data_in, uint8_t data_size) |
| Multiple register writing function.
|
|
err_t | adc15_adc_read (adc15_t *ctx, uint8_t *data_out, uint8_t len) |
| Data reading function.
|
|
err_t | adc15_reg_read (adc15_t *ctx, uint8_t reg, uint16_t *data_out) |
| Register reading function.
|
|
err_t | adc15_multiple_reg_read (adc15_t *ctx, uint8_t reg, uint16_t *data_out, uint8_t data_size) |
| Multiple registern reading function.
|
|
err_t | adc15_adc_transfer (adc15_t *ctx, uint8_t *data_in, uint8_t *data_out, uint8_t len) |
| Data transfer function.
|
|
err_t | adc15_ltc_write (adc15_t *ctx, uint8_t oct, uint16_t dac, uint8_t cfg) |
| LTC writing function.
|
|
err_t | adc15_set_frequency (adc15_t *ctx, uint32_t frequency) |
| Set sampling frequency.
|
|
err_t | adc15_read_adc_value (adc15_t *ctx, uint16_t *status, int32_t *ch1_out, int32_t *ch2_out) |
| Get raw adc value.
|
|
err_t | adc15_read_voltage (adc15_t *ctx, uint16_t *status, float *ch1_out, float *ch2_out) |
| Get voltage value.
|
|
uint8_t | adc15_data_ready (adc15_t *ctx) |
| Get data ready state.
|
|
err_t | adc15_set_gain (adc15_t *ctx, adc15_channel_t channel, adc15_gain_t gain) |
| Set gain for channel.
|
|
err_t | adc15_set_word_len (adc15_t *ctx, adc15_word_t word_len) |
| Set word len.
|
|
This file contains API for ADC 15 Click Driver.