Structure defines OpenCores I2C Device.
bool ltc2489Read(I2C_Device *dev, int addr)
Reads the LTC ADC at I2C address 'addr'.
bool i2cRead(I2C_Device *dev, i2cAddr addr, uint8_t *bytes, int len)
Reads from the I2C device.
static bool errRebase(const char *name)
Rebases the cause of the error message.
Reads a value from the LTC2489 ADC.