116 #define LTC2473_I2C_ADDRESS 0x14 // Low 125 #define LTC2473_ENABLE_PROGRAMMING 0x80 126 #define LTC2473_SPS_208 0x00 127 #define LTC2473_SPS_833 0x20 128 #define LTC2473_SLEEP 0x10 uint8_t LTC2473_read(uint8_t i2c_address, int32_t *adc_code, uint16_t timeout)
Reads from LTC2473.
static uint8_t adc_command
float LTC2473_code_to_voltage(int32_t adc_code, float vref)
Calculates the voltage corresponding to an ADC code, given the reference (in volts) ...
uint8_t LTC2473_write(uint8_t i2c_address, uint8_t adc_command)
Writes to the LTC2473.