5 const uint8_t reg, uint8_t *data,
8 const uint8_t reg, uint8_t *data,
iic_index_t
Enum of IICs. Functions use a switch numbered from 0..NUM_IICS-1.
void iic_destroy(const iic_index_t iic)
Close the shared memory handle for the specified IIC index.
bool iic_write_register(const iic_index_t iic, const uint8_t addr, const uint8_t reg, uint8_t *data, uint16_t length)
bool iic_read_register(const iic_index_t iic, const uint8_t addr, const uint8_t reg, uint8_t *data, uint16_t length)
void iic_init(const iic_index_t iic)
Initialize the IIC specified by the index with a shared memory handle and a buffer size of 4096 bytes...