AM261x MCU+ SDK: OSPI_WriteCmdParams Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
OSPI_WriteCmdParams Struct Reference

## Detailed Description

OSPI Instance Write Command Structure.

## Data Fields
uint8_t | cmd
uint32_t | cmdAddr
uint8_t | numAddrBytes
void * | txDataBuf
uint32_t | txDataLen
uint32_t | writeTimeout

## Field Documentation

## ◆ cmd

uint8_t OSPI_WriteCmdParams::cmd

[IN] Command Opcode

## ◆ cmdAddr

uint32_t OSPI_WriteCmdParams::cmdAddr

[IN] Address required by the command. Usually needed in writing to flash registers. Should be initialized to OSPI_CMD_INVALID_ADDR if not used.

## ◆ numAddrBytes

uint8_t OSPI_WriteCmdParams::numAddrBytes

[IN] Number of address bytes used to send cmd address

## ◆ txDataBuf

void* OSPI_WriteCmdParams::txDataBuf

[IN] Buffer containing command data

## ◆ txDataLen

uint32_t OSPI_WriteCmdParams::txDataLen

[IN] Length of response buffer

## ◆ writeTimeout

uint32_t OSPI_WriteCmdParams::writeTimeout

[IN] Timeout of the specific write