hololink::emulation::i2c_readback_cb

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

Callback function for I2C readback.

Returns: The number of address-value pairs read.

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 read.