![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Library for LTC2485: 24-Bit Delta Sigma ADC with Easy Drive Input Current Cancellation and I2C Interface. More...
Library for LTC2485: 24-Bit Delta Sigma ADC with Easy Drive Input Current Cancellation and I2C Interface.
Definition in file LTC2485.cpp.
Go to the source code of this file.
Functions | |
int8_t | LTC2485_read (uint8_t i2c_address, uint8_t adc_command, int32_t *adc_code, uint16_t eoc_timeout) |
Reads from LTC2485 ADC that accepts an 8 bit configuration and returns a 24 bit result. More... | |
int8_t LTC2485_read | ( | uint8_t | i2c_address, |
uint8_t | adc_command, | ||
int32_t * | adc_code, | ||
uint16_t | eoc_timeout | ||
) |
Reads from LTC2485 ADC that accepts an 8 bit configuration and returns a 24 bit result.
i2c_address | I2C address (7-bit format) for part |
adc_command | Command byte written to LTC2485. Example: (LTC2485_R60 | LTC2485_SPEED_2X) |
adc_code | Conversion code read from LTC2485. The LTC2485's 32-bit code is converted to 24-bits inside this function. |
eoc_timeout | Timeout in ms |
Definition at line 70 of file LTC2485.cpp.