77 #define LTC2480_CS QUIKEVAL_CS 83 #define LTC2480_GAIN_1 0x00 84 #define LTC2480_GAIN_4 0x10 85 #define LTC2480_GAIN_8 0x20 86 #define LTC2480_GAIN_16 0x30 87 #define LTC2480_GAIN_32 0x40 88 #define LTC2480_GAIN_64 0x50 89 #define LTC2480_GAIN_128 0x60 90 #define LTC2480_GAIN_256 0x70 102 uint32_t *ptr_adc_code
static uint8_t rejection_mode
The LTC2498 rejection mode settings.
void LTC2480_set_modes(uint8_t cs, uint8_t gain, uint8_t rejection_mode)
Function to set the input voltage gain and frequency rejection mode.
float LTC2480_code_to_voltage(uint32_t adc_code, float vref, uint8_t gain)
Calculates the LTC2480 input voltage given the binary data, reference voltage and input gain...
void LTC2480_read(uint8_t cs, uint32_t *ptr_adc_code)
Reads the LTC2480 and returns 24-bit data.