> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sensor-bridge/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sensor-bridge/_mcp/server.

# hololink::emulation::i2c_readback_cb

> Callback function for I2C readback.

```cpp showLineNumbers={false}
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**

The context pointer.

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

The maximum number of address-value pairs to read.