> 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_transaction

> Execute a host-issued I2C transaction.

```cpp showLineNumbers={false}
void hololink::emulation::i2c_transaction(
    I2CControllerCtxt *i2c_ctxt,
    uint32_t value
)
```

Execute a host-issued I2C transaction.

Called by `common/i2c.cpp`'s i2c\_configure\_cb whenever the host writes the I2C control register. The argument `value` packs the command in the low 16 bits and the peripheral address in the high bits — see linux/STM32 i2c\_transaction for the decoding.