> 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::spi_configure_cb

> Callback function for SPI configuration.

```cpp showLineNumbers={false}
int hololink::emulation::spi_configure_cb(
    void *ctxt,
    struct AddressValuePair *addr_val,
    int max_count
)
```

Callback function for SPI configuration.

**Returns:** The number of address-value pairs configured.

**Parameters**

The context pointer.

The address-value pair. Addresses are those written to the SPI controller registers at SPI\_CTRL.

The maximum number of address-value pairs to configure.