99 #define LTC2412_CS QUIKEVAL_CS 105 uint16_t miso_timeout
float LTC2412_code_to_voltage(int32_t adc_code, float LTC2412_lsb, int32_t LTC2412_offset_code)
Calculates the LTC2412 input voltage.
static float LTC2412_lsb
Ideal LSB voltage for a perfect part.
void LTC2412_read(uint8_t cs, uint32_t *adc_code)
Reads the LTC2412 result.
int8_t LTC2412_EOC_timeout(uint8_t cs, uint16_t miso_timeout)
Checks for EOC with a specified timeout.
static int32_t LTC2412_offset_code
Ideal offset for a perfect part.