|
void | adc18_cfg_setup (adc18_cfg_t *cfg) |
| ADC 18 configuration object setup function.
|
|
err_t | adc18_init (adc18_t *ctx, adc18_cfg_t *cfg) |
| ADC 18 initialization function.
|
|
err_t | adc18_default_cfg (adc18_t *ctx) |
| ADC 18 default configuration function.
|
|
err_t | adc18_write_register (adc18_t *ctx, uint8_t reg, uint32_t data_in) |
| ADC 18 write register function.
|
|
err_t | adc18_read_register (adc18_t *ctx, uint8_t reg, uint32_t *data_out) |
| ADC 18 read register function.
|
|
err_t | adc18_enable_spi_crc (adc18_t *ctx) |
| ADC 18 enable spi crc function.
|
|
err_t | adc18_disable_spi_crc (adc18_t *ctx) |
| ADC 18 disable spi crc function.
|
|
err_t | adc18_check_communication (adc18_t *ctx) |
| ADC 18 check communication function.
|
|
void | adc18_reset_device (adc18_t *ctx) |
| ADC 18 reset device function.
|
|
uint8_t | adc18_get_rdy_pin (adc18_t *ctx) |
| ADC 18 get rdy pin function.
|
|
uint8_t | adc18_get_int_pin (adc18_t *ctx) |
| ADC 18 get int pin function.
|
|
err_t | adc18_start_conversion (adc18_t *ctx, uint8_t data_rate) |
| ADC 18 start conversion function.
|
|
err_t | adc18_stop_conversion (adc18_t *ctx) |
| ADC 18 stop conversion function.
|
|
err_t | adc18_set_conversion_mode (adc18_t *ctx, uint8_t mode) |
| ADC 18 set conversion mode function.
|
|
err_t | adc18_set_active_channel (adc18_t *ctx, uint8_t channel) |
| ADC 18 set active channel function.
|
|
err_t | adc18_read_raw_adc (adc18_t *ctx, int32_t *raw_adc) |
| ADC 18 read raw adc function.
|
|
err_t | adc18_read_voltage (adc18_t *ctx, float *voltage) |
| ADC 18 read voltage function.
|
|
This file contains API for ADC 18 Click Driver.