![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Library for LTC2492: 24-Bit, 4-Channel Delta Sigma ADCs with Easy Drive Input Current Cancellation. More...
Library for LTC2492: 24-Bit, 4-Channel Delta Sigma ADCs with Easy Drive Input Current Cancellation.
Definition in file LTC2492.cpp.
Go to the source code of this file.
Functions | |
| int8_t | LTC2492_EOC_timeout (uint8_t cs, uint16_t miso_timeout) |
| Checks for EOC with a specified timeout. More... | |
| void | LTC2492_read (uint8_t cs, uint8_t adc_command_high, uint8_t adc_command_low, int32_t *adc_code) |
| Reads from LTC2492. More... | |
| float | LTC2492_code_to_voltage (int32_t adc_code, float vref) |
| Calculates the voltage corresponding to an adc code, given the reference (in volts) More... | |
| float LTC2492_code_to_voltage | ( | int32_t | adc_code, |
| float | vref | ||
| ) |
Calculates the voltage corresponding to an adc code, given the reference (in volts)
| adc_code | Code read from adc |
| vref | VRef (in volts) |
Definition at line 84 of file LTC2492.cpp.
| int8_t LTC2492_EOC_timeout | ( | uint8_t | cs, |
| uint16_t | miso_timeout | ||
| ) |
Checks for EOC with a specified timeout.
| cs | Chip Select pin |
| miso_timeout | Timeout (in milliseconds) |
Definition at line 72 of file LTC2492.cpp.
| void LTC2492_read | ( | uint8_t | cs, |
| uint8_t | adc_command_high, | ||
| uint8_t | adc_command_low, | ||
| int32_t * | adc_code | ||
| ) |
Reads from LTC2492.
| cs | Chip select |
| adc_command_high | High byte command written to LTC2492 |
| adc_command_low | Low byte command written to LTC2492 |
| adc_code | 4 byte conversion code read from LTC2492 |
Definition at line 78 of file LTC2492.cpp.