AM64x MCU+ SDK  10.01.00
OSPI_Transaction Struct Reference

Detailed Description

Data structure used with OSPI_Transfers - OSPI_lld_readDirect, OSPI_lld_writeDirect, OSPI_lld_readIndirect, OSPI_lld_writeIndirect.

It indicates how many OSPI_FrameFormat frames are sent and received from and to the buffer buf.

Data Fields

uint32_t count
 
void * buf
 
uint32_t addrOffset
 
uint32_t status
 
uint32_t dataLen
 
uint32_t transferOffset
 
uint32_t transferTimeout
 
uint32_t state
 

Field Documentation

◆ count

uint32_t OSPI_Transaction::count

[IN] Number of frames for this transaction

◆ buf

void* OSPI_Transaction::buf

[IN] void * to a buffer to receive/send data

◆ addrOffset

uint32_t OSPI_Transaction::addrOffset

[IN] Address offset to write to an OSPI flash device.

◆ status

uint32_t OSPI_Transaction::status

◆ dataLen

uint32_t OSPI_Transaction::dataLen

[IN] Length of response buffer

◆ transferOffset

uint32_t OSPI_Transaction::transferOffset

[IN] Holds the offset for the current transfer

◆ transferTimeout

uint32_t OSPI_Transaction::transferTimeout

[IN] Timeout of the specific transfer

◆ state

uint32_t OSPI_Transaction::state

[IN] Transaction State