aboutsummaryrefslogtreecommitdiffstats
path: root/sw/lib/LTC24XX_general.h
diff options
context:
space:
mode:
Diffstat (limited to 'sw/lib/LTC24XX_general.h')
-rw-r--r--sw/lib/LTC24XX_general.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/lib/LTC24XX_general.h b/sw/lib/LTC24XX_general.h
index 42fd65a..6215063 100644
--- a/sw/lib/LTC24XX_general.h
+++ b/sw/lib/LTC24XX_general.h
@@ -123,6 +123,8 @@ ongoing work.
#ifndef LTC24XX_general_H
#define LTC24XX_general_H
+#include <stdint.h>
+
//! Define the SPI CS pin
#ifndef LTC24XX_CS
#define LTC24XX_CS QUIKEVAL_CS
@@ -341,6 +343,8 @@ void LTC24XX_SPI_2ch_ping_pong_24bit_data(uint8_t cs, //!< Chip Select
int32_t *code //!< 4 byte conversion code read from LTC24XX
);
+#if 0
+
// Read functions for I2C interface ADCs with a 32 bit output word. These functions are used with both
// Single-ended and differential parts, as there is no interpretation of the data done in
// the function. Also note that these functions can be used for devices that have shorter output lengths,
@@ -410,6 +414,8 @@ int8_t LTC24XX_I2C_16bit_command_24bit_data(uint8_t i2c_address, //!< I2
uint16_t eoc_timeout //!< Timeout (in milliseconds)
);
+#endif
+
//! Calculates the voltage corresponding to an ADC code, given the reference voltage.
//! Applies to Single-Ended input parts (LTC2400-type input)
//! @return Returns voltage calculated from ADC code.