117 #define LTC2380_CS QUIKEVAL_CS 123 #define LTC2380_ADDRESS 0x00 130 int32_t *ptr_adc_code
137 uint8_t gain_compression,
float LTC2380_code_to_voltage(int32_t adc_code, uint8_t gain_compression, float vref)
Calculates the LTC2380 input voltage given the binary data and lsb weight.
void LTC2380_read(uint8_t cs, int32_t *ptr_adc_code)
Reads the LTC2380 and returns 32-bit data in 2's complement format.