hololink::emulation::i2c_transaction

View as Markdown
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.