99 data = (channel << 4) | data_SCMREG;
110 uint8_t command = 0x80;
113 command |= ((channel << 4) | data_SCMREG);
127 command |= ((channel << 4) | data_SCMREG);
int8_t i2c_scwriteshort_scread(uint8_t address, uint8_t channel, uint8_t data_SCMREG, uint8_t *values)
SCMODE Write Short + SCMODE Read Command.
int8_t i2c_write_byte(uint8_t address, uint8_t value)
Write "value" byte to device at "address".
int8_t i2c_read_block_data(uint8_t address, uint8_t command, uint8_t length, uint8_t *values)
Read a block of data, starting at register specified by "command" and ending at (command + length - 1...
Header File for Linduino Libraries and Demo Code.
static uint8_t channel
LTC2305 Channel selection.
int8_t i2c_bcread(uint8_t *value)
BCMODE Read Command.
union LT_union_int32_4bytes data
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_write_byte_data(uint8_t address, uint8_t command, uint8_t value)
Write a byte of data to register specified by "command".
LT3965 - Octal Matrix LED Bypass Switch.
int8_t i2c_acwrite(uint8_t address, uint8_t value)
ACMODE Write Command to write a "value" byte to device at "address".
LT_I2C: Routines to communicate with ATmega328P's hardware I2C port.
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_acread(uint8_t address, uint8_t *values)
ACMODE Read Command to read 3 data bytes from device at "address".
int8_t i2c_read_byte(uint8_t address, uint8_t *value)
Read a byte, store in "value".