struct ad5933_dev * device
Definition: main.c:77
enum input_status ltc2488_data_process(const uint32_t *adc_code, int32_t *adc_value)
Extracts the actual 17-Bit ADC value from the ADC code, returns the 32-bit sign extended value along ...
Definition: ltc2488.c:74
int32_t ltc2488_read_write(struct no_os_spi_desc *desc, uint8_t buff_cmd, uint32_t *adc_buff)
Reads/writes data from/to LTC2488 ADC that accepts a 8 bit configuration and returns a 24 bit result.
Definition: ltc2488.c:192
int32_t ltc2488_init(struct ltc2488_dev **device, struct ltc2488_dev_init *init_param)
Initialize the ltc2488 device structure.
Definition: ltc2488.c:132
float ltc2488_code_to_voltage(const int32_t *adc_data)
Calculates the voltage corresponding to an adc code, given the reference voltage (in volts)....
Definition: ltc2488.c:106
int32_t ltc2488_remove(struct ltc2488_dev *dev)
Free any resource used by the driver.
Definition: ltc2488.c:171