Driver for a Linear Technology LTC2309 analog to digital converter.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
http://www.linear.com/product/LTC2309
http://cds.linear.com/docs/en/datasheet/2309fd.pdf
This code has been tested using a Libelium Raspberry Pi to Arduino shields connection bridge:
http://www.cooking-hacks.com/index.php/Raspberry-pi-to-arduino-shield-connection-bridge.html
Installed on a Raspberry Pi:
Macros | |
LTC2309_I2C_ADDR | LTC2309 8-bit I2C address selected by AD1:0 |
Initialization | |
ltc2309_init_i2c | Initialize device on I2C bus |
Control | |
ltc2309_sample_differential_bipolar | Sample channel in differential pair mode, bipolar |
ltc2309_sample_differential_unipolar | Sample channel in differential pair mode, unipolar |
ltc2309_sample_single_ended_bipolar | Sample channel in single-ended mode, bipolar |
ltc2309_sample_single_ended_unipolar | Sample channel in single-ended mode, unipolar |