hololink::emulation::spi_readback_cb
hololink::emulation::spi_readback_cb
Callback function for SPI readback.
Returns: The number of address-value pairs read.
Parameters
ctxt
The context pointer.
addr_val
The address-value pair. Addresses are those written to the SPI controller registers at SPI_CTRL.
max_count
The maximum number of address-value pairs to read.