OSPI Instance Write Command Structure.
Data Fields | |
| uint8_t | cmd |
| uint32_t | cmdAddr |
| uint8_t | numAddrBytes |
| void * | txDataBuf |
| uint32_t | txDataLen |
| uint32_t | writeTimeout |
| uint8_t OSPI_WriteCmdParams::cmd |
[IN] Command Opcode
| 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.
| uint8_t OSPI_WriteCmdParams::numAddrBytes |
[IN] Number of address bytes used to send cmd address
| void* OSPI_WriteCmdParams::txDataBuf |
[IN] Buffer containing command data
| uint32_t OSPI_WriteCmdParams::txDataLen |
[IN] Length of response buffer
| uint32_t OSPI_WriteCmdParams::writeTimeout |
[IN] Timeout of the specific write