hololink::emulation::spi_configure_cb
hololink::emulation::spi_configure_cb
Callback function for SPI configuration.
Returns: The number of address-value pairs configured.
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 configure.