Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
spi_engine_offload_msg Struct Reference

Offload program description. More...

#include <zephyr/drivers/spi/spi_adi_axi_spi_engine.h>

Data Fields

uint32_t * commands
 Array of SPI Engine command words (built with the SPI_ENGINE_CMD_BUILD_* macros) replayed on each trigger.
uint32_t num_commands
 Number of entries in spi_engine_offload_msg::commands.
uint32_t * tx_data
 Optional SDO words preloaded into offload SDO memory, or NULL for read-only programs.
uint32_t tx_len
 Number of entries in spi_engine_offload_msg::tx_data.
uint32_t rx_addr
 Optional consumer-side (DMAC) capture address hint.
uint32_t tx_addr
 Optional producer-side address hint.

Detailed Description

Offload program description.

Field Documentation

◆ commands

uint32_t* spi_engine_offload_msg::commands

Array of SPI Engine command words (built with the SPI_ENGINE_CMD_BUILD_* macros) replayed on each trigger.

◆ num_commands

uint32_t spi_engine_offload_msg::num_commands

Number of entries in spi_engine_offload_msg::commands.

◆ rx_addr

uint32_t spi_engine_offload_msg::rx_addr

Optional consumer-side (DMAC) capture address hint.

◆ tx_addr

uint32_t spi_engine_offload_msg::tx_addr

Optional producer-side address hint.

◆ tx_data

uint32_t* spi_engine_offload_msg::tx_data

Optional SDO words preloaded into offload SDO memory, or NULL for read-only programs.

◆ tx_len

uint32_t spi_engine_offload_msg::tx_len

Number of entries in spi_engine_offload_msg::tx_data.


The documentation for this struct was generated from the following file: