hololink::emulation::i2c_configure_cb

View as Markdown
int hololink::emulation::i2c_configure_cb(
void *ctxt,
struct AddressValuePair *addr_val,
int max_count
)

Callback function for I2C configuration.

Returns: The number of address-value pairs configured.

Parameters

ctxt
void *

The context pointer.

addr_val
struct AddressValuePair *

The address-value pair. Addresses are those written to the i2c controller registers at 0x30000200.

max_count
int

The maximum number of address-value pairs to configure.