|
void | adc23_cfg_setup (adc23_cfg_t *cfg) |
| ADC 23 configuration object setup function.
|
|
err_t | adc23_init (adc23_t *ctx, adc23_cfg_t *cfg) |
| ADC 23 initialization function.
|
|
err_t | adc23_default_cfg (adc23_t *ctx) |
| ADC 23 default configuration function.
|
|
err_t | adc23_generic_write (adc23_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| ADC 23 data writing function.
|
|
err_t | adc23_generic_read (adc23_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| ADC 23 data reading function.
|
|
err_t | adc23_generic_transfer (adc23_t *ctx, uint8_t *data_in, uint8_t *data_out, uint8_t len) |
| ADC 23 data transfer function.
|
|
err_t | adc23_read_reg_cmd (adc23_t *ctx, uint8_t reg, uint16_t *data_out, uint8_t *reg_data_out) |
| ADC 23 read register command function.
|
|
err_t | adc23_read_reg_data (adc23_t *ctx, uint8_t reg, uint32_t *data_out, uint8_t *reg_data_out) |
| ADC 23 read register data function.
|
|
err_t | adc23_write_reg_cmd (adc23_t *ctx, uint8_t reg, uint8_t data_in, uint16_t *data_out) |
| ADC 23 write register command function.
|
|
err_t | adc23_write_reg_data (adc23_t *ctx, uint8_t reg, uint8_t data_in, uint32_t *data_out) |
| ADC 23 write register data function.
|
|
err_t | adc23_sw_reset (adc23_t *ctx) |
| ADC 23 software reset function.
|
|
err_t | adc23_start_conversion (adc23_t *ctx) |
| ADC 23 start conversion function.
|
|
err_t | adc23_stop_conversion (adc23_t *ctx) |
| ADC 23 stop conversion function.
|
|
err_t | adc23_read_conversion_data (adc23_t *ctx, int32_t *adc_data) |
| ADC 23 read conversion data function.
|
|
err_t | adc23_get_voltage (adc23_t *ctx, float *voltage) |
| ADC 23 read get voltage level function.
|
|
void | adc23_set_start (adc23_t *ctx) |
| ADC 23 set start function.
|
|
void | adc23_set_stop (adc23_t *ctx) |
| ADC 23 set stop function.
|
|
void | adc23_hw_reset (adc23_t *ctx) |
| ADC 23 hardware reset function.
|
|
uint8_t | adc23_get_data_ready (adc23_t *ctx) |
| ADC 23 get data ready function.
|
|
This file contains API for ADC 23 Click Driver.