OpenOCD
dw_spi_transaction Struct Reference

Arguments for transaction helper function. More...

Data Fields

uint64_t buffer
 Pointer to data buffer to send over SPI. More...
 
uint64_t data_reg
 Pointer to DR register. More...
 
uint8_t read_flag
 When 1, store RX FIFO data to dw_spi_transaction::buffer. More...
 
uint32_t size
 Size of dw_spi_transaction::buffer. More...
 
uint64_t status_reg
 Pointer to SR register. More...
 

Detailed Description

Arguments for transaction helper function.

Definition at line 23 of file dw-spi-helper.h.

Field Documentation

◆ buffer

uint64_t dw_spi_transaction::buffer

Pointer to data buffer to send over SPI.

Return values are stored in place of output data when dw_spi_transaction::read_flag is 1.

Definition at line 24 of file dw-spi-helper.h.

Referenced by dw_spi_ctrl_transaction().

◆ data_reg

uint64_t dw_spi_transaction::data_reg

Pointer to DR register.

Definition at line 30 of file dw-spi-helper.h.

Referenced by dw_spi_ctrl_transaction().

◆ read_flag

uint8_t dw_spi_transaction::read_flag

When 1, store RX FIFO data to dw_spi_transaction::buffer.

Definition at line 31 of file dw-spi-helper.h.

Referenced by dw_spi_ctrl_transaction().

◆ size

uint32_t dw_spi_transaction::size

Size of dw_spi_transaction::buffer.

Definition at line 28 of file dw-spi-helper.h.

Referenced by dw_spi_ctrl_transaction().

◆ status_reg

uint64_t dw_spi_transaction::status_reg

Pointer to SR register.

Definition at line 29 of file dw-spi-helper.h.

Referenced by dw_spi_ctrl_transaction().


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