80 #define address1 0b00000000 // I2C Device address 1 81 #define address2 0b00001111 // I2C Device address 2 83 #define AC_ADDR_0 0x20 84 #define SC_ADDR_0 0x50 int8_t i2c_scwritelong(uint8_t address, uint8_t channel, uint8_t data_SCMREG, uint8_t dimming_value)
SCMODE Write Command Long Format to write 2 "value" bytes to device at "address". ...
int8_t i2c_scwriteshort_scread(uint8_t address, uint8_t channel, uint8_t data_SCMREG, uint8_t *values)
SCMODE Write Short + SCMODE Read Command.
static uint8_t channel
LTC2305 Channel selection.
int8_t i2c_acread(uint8_t address, uint8_t *values)
ACMODE Read Command to read 3 data bytes from device at "address".
int8_t i2c_acwrite(uint8_t address, uint8_t value)
ACMODE Write Command to write a "value" byte to device at "address".
int8_t i2c_scwriteshort(uint8_t address, uint8_t channel, uint8_t data_SCMREG)
SCMODE Write Command Short Format to write a "value" byte to device at "address". ...
int8_t i2c_bcread(uint8_t *value)
BCMODE Read Command.