QSPI_WriteConfig_TypeDef Struct Reference

QSPI Device Write Instruction Configuration Structure.

#include <em_qspi.h>

Data Fields

uint8_t opCode
Write opcode.
uint8_t dummyCycles
Number of dummy read clock cycles.
QSPI_TransferType_TypeDef addrTransfer
Transfer type used for address.
QSPI_TransferType_TypeDef dataTransfer
Transfer type used for data.
bool autoWEL
Enable/disable automatic issuing of WEL (Write Enable Latch) command before a write operation.

QSPI Device Write Instruction Configuration Structure.

Field Documentation

opCode

uint8_t QSPI_WriteConfig_TypeDef::opCode

Write opcode.

dummyCycles

uint8_t QSPI_WriteConfig_TypeDef::dummyCycles

Number of dummy read clock cycles.

addrTransfer

QSPI_TransferType_TypeDef QSPI_WriteConfig_TypeDef::addrTransfer

Transfer type used for address.

dataTransfer

QSPI_TransferType_TypeDef QSPI_WriteConfig_TypeDef::dataTransfer

Transfer type used for data.

autoWEL

bool QSPI_WriteConfig_TypeDef::autoWEL

Enable/disable automatic issuing of WEL (Write Enable Latch) command before a write operation.

When writing to a flash device, the WEL within the flash device must be high before a write sequence can be issued. The QSPI peripheral can automatically issue the WEL command before triggering a write sequence. The command used for enabling the WEL is WREN (0x06) and is common between devices.