|
void | adc13_cfg_setup (adc13_cfg_t *cfg) |
| ADC 13 configuration object setup function.
|
|
err_t | adc13_init (adc13_t *ctx, adc13_cfg_t *cfg) |
| ADC 13 initialization function.
|
|
err_t | adc13_default_cfg (adc13_t *ctx) |
| ADC 13 default configuration function.
|
|
err_t | adc13_generic_write (adc13_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| ADC 13 data writing function.
|
|
err_t | adc13_generic_read (adc13_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| ADC 13 data reading function.
|
|
err_t | adc13_send_command (adc13_t *ctx, uint8_t cmd) |
| ADC 13 send command function.
|
|
void | adc13_set_str_pin (adc13_t *ctx, uint8_t state) |
| ADC 13 set STR pin function.
|
|
void | adc13_set_rst_pin (adc13_t *ctx, uint8_t state) |
| ADC 13 set RST pin function.
|
|
uint8_t | adc13_get_dtr_pin (adc13_t *ctx) |
| ADC 13 get DTR pin function.
|
|
void | adc13_reset_by_pin (adc13_t *ctx) |
| ADC 13 reset by pin function.
|
|
err_t | adc13_reset_by_command (adc13_t *ctx) |
| ADC 13 reset by command function.
|
|
void | adc13_power_down (adc13_t *ctx) |
| ADC 13 power down function.
|
|
void | adc13_power_up (adc13_t *ctx) |
| ADC 13 power up function.
|
|
err_t | adc13_read_register (adc13_t *ctx, uint8_t reg, uint8_t *data_out) |
| ADC 13 read register function.
|
|
err_t | adc13_write_register (adc13_t *ctx, uint8_t reg, uint8_t data_in) |
| ADC 13 write register function.
|
|
err_t | adc13_read_registers (adc13_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t count) |
| ADC 13 read registers function.
|
|
err_t | adc13_write_registers (adc13_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t count) |
| ADC 13 write registers function.
|
|
err_t | adc13_set_register_bits (adc13_t *ctx, uint8_t reg, uint8_t bit_mask, uint8_t data_in) |
| ADC 13 set register bits function.
|
|
err_t | adc13_get_register_bits (adc13_t *ctx, uint8_t reg, uint8_t bit_mask, uint8_t *data_out) |
| ADC 13 get register bits function.
|
|
err_t | adc13_read_raw_data (adc13_t *ctx, int32_t *data_out) |
| ADC 13 read raw data function.
|
|
err_t | adc13_measure_voltage (adc13_t *ctx, float vref, float *voltage) |
| ADC 13 measure voltage function.
|
|
err_t | adc13_measure_temperature (adc13_t *ctx, float *temperature) |
| ADC 13 measure temperature function.
|
|
err_t | adc13_set_input_channel (adc13_t *ctx, uint8_t pos, uint8_t neg) |
| ADC 13 set input channel function.
|
|
err_t | adc13_set_voltage_reference (adc13_t *ctx, uint8_t pos, uint8_t neg) |
| ADC 13 set voltage reference function.
|
|
err_t | adc13_set_gain (adc13_t *ctx, uint8_t gain) |
| ADC 13 set gain function.
|
|
err_t | adc13_set_sample_rate (adc13_t *ctx, uint8_t s_rate) |
| ADC 13 set sample rate function.
|
|
This file contains API for ADC 13 Click Driver.