72 const uint8_t reg, uint8_t *data,
87 const uint8_t reg, uint8_t *data,
91 uint32_t *register_map,
92 const uint32_t rm_length);
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_set_slave_mode(const iic_index_t iic, const uint8_t addr, uint32_t *register_map, const uint32_t rm_length)
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_reset(const iic_index_t iic)
void iic_slave_mode_handler(const iic_index_t iic)
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...