RTEMS 6.1-rc1
Data Structures | Enumerator | Variables
Flexspi

Data Structures

struct  _flexspi_ahbBuffer_config
 
struct  _flexspi_config
 FLEXSPI configuration structure. More...
 
struct  _flexspi_device_config
 External device configuration items. More...
 
struct  _flexspi_transfer
 Transfer structure for FLEXSPI. More...
 
struct  _flexspi_handle
 Transfer handle structure for FLEXSPI. More...
 

Variables

uint8_t _flexspi_ahbBuffer_config::priority
 
uint8_t _flexspi_ahbBuffer_config::masterIndex
 
uint16_t _flexspi_ahbBuffer_config::bufferSize
 
bool _flexspi_ahbBuffer_config::enablePrefetch
 
flexspi_read_sample_clock_t _flexspi_config::rxSampleClock
 
bool _flexspi_config::enableSckFreeRunning
 
bool _flexspi_config::enableCombination
 
bool _flexspi_config::enableDoze
 
bool _flexspi_config::enableHalfSpeedAccess
 
bool _flexspi_config::enableSckBDiffOpt
 
bool _flexspi_config::enableSameConfigForAll
 
uint16_t _flexspi_config::seqTimeoutCycle
 
uint8_t _flexspi_config::ipGrantTimeoutCycle
 
uint8_t _flexspi_config::txWatermark
 
uint8_t _flexspi_config::rxWatermark
 
bool   _flexspi_config::enableAHBWriteIpTxFifo
 
bool   _flexspi_config::enableAHBWriteIpRxFifo
 
uint8_t   _flexspi_config::ahbGrantTimeoutCycle
 
uint16_t   _flexspi_config::ahbBusTimeoutCycle
 
uint8_t   _flexspi_config::resumeWaitCycle
 
flexspi_ahbBuffer_config_t   _flexspi_config::buffer [FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNT]
 
bool   _flexspi_config::enableClearAHBBufferOpt
 
bool   _flexspi_config::enableReadAddressOpt
 
bool   _flexspi_config::enableAHBPrefetch
 
bool   _flexspi_config::enableAHBBufferable
 
bool   _flexspi_config::enableAHBCachable
 
struct {
   bool   _flexspi_config::enableAHBWriteIpTxFifo
 
   bool   _flexspi_config::enableAHBWriteIpRxFifo
 
   uint8_t   _flexspi_config::ahbGrantTimeoutCycle
 
   uint16_t   _flexspi_config::ahbBusTimeoutCycle
 
   uint8_t   _flexspi_config::resumeWaitCycle
 
   flexspi_ahbBuffer_config_t   _flexspi_config::buffer [FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNT]
 
   bool   _flexspi_config::enableClearAHBBufferOpt
 
   bool   _flexspi_config::enableReadAddressOpt
 
   bool   _flexspi_config::enableAHBPrefetch
 
   bool   _flexspi_config::enableAHBBufferable
 
   bool   _flexspi_config::enableAHBCachable
 
_flexspi_config::ahbConfig
 
uint32_t _flexspi_device_config::flexspiRootClk
 
bool _flexspi_device_config::isSck2Enabled
 
uint32_t _flexspi_device_config::flashSize
 
flexspi_cs_interval_cycle_unit_t _flexspi_device_config::CSIntervalUnit
 
uint16_t _flexspi_device_config::CSInterval
 
uint8_t _flexspi_device_config::CSHoldTime
 
uint8_t _flexspi_device_config::CSSetupTime
 
uint8_t _flexspi_device_config::dataValidTime
 
uint8_t _flexspi_device_config::columnspace
 
bool _flexspi_device_config::enableWordAddress
 
uint8_t _flexspi_device_config::AWRSeqIndex
 
uint8_t _flexspi_device_config::AWRSeqNumber
 
uint8_t _flexspi_device_config::ARDSeqIndex
 
uint8_t _flexspi_device_config::ARDSeqNumber
 
flexspi_ahb_write_wait_unit_t _flexspi_device_config::AHBWriteWaitUnit
 
uint16_t _flexspi_device_config::AHBWriteWaitInterval
 
bool _flexspi_device_config::enableWriteMask
 
uint32_t _flexspi_transfer::deviceAddress
 
flexspi_port_t _flexspi_transfer::port
 
flexspi_command_type_t _flexspi_transfer::cmdType
 
uint8_t _flexspi_transfer::seqIndex
 
uint8_t _flexspi_transfer::SeqNumber
 
uint32_t * _flexspi_transfer::data
 
size_t _flexspi_transfer::dataSize
 
uint32_t _flexspi_handle::state
 
uint8_t * _flexspi_handle::data
 
size_t _flexspi_handle::dataSize
 
size_t _flexspi_handle::transferTotalSize
 
flexspi_transfer_callback_t _flexspi_handle::completionCallback
 
void * _flexspi_handle::userData
 

Driver version

enum  { kStatus_FLEXSPI_Busy = MAKE_STATUS(kStatusGroup_FLEXSPI, 0) , kStatus_FLEXSPI_SequenceExecutionTimeout = MAKE_STATUS(kStatusGroup_FLEXSPI, 1) , kStatus_FLEXSPI_IpCommandSequenceError = MAKE_STATUS(kStatusGroup_FLEXSPI, 2) , kStatus_FLEXSPI_IpCommandGrantTimeout = MAKE_STATUS(kStatusGroup_FLEXSPI, 3) }
 Status structure of FLEXSPI. More...
 
enum  {
  kFLEXSPI_Command_STOP = 0x00U , kFLEXSPI_Command_SDR = 0x01U , kFLEXSPI_Command_RADDR_SDR = 0x02U , kFLEXSPI_Command_CADDR_SDR = 0x03U ,
  kFLEXSPI_Command_MODE1_SDR = 0x04U , kFLEXSPI_Command_MODE2_SDR = 0x05U , kFLEXSPI_Command_MODE4_SDR = 0x06U , kFLEXSPI_Command_MODE8_SDR = 0x07U ,
  kFLEXSPI_Command_WRITE_SDR = 0x08U , kFLEXSPI_Command_READ_SDR = 0x09U , kFLEXSPI_Command_LEARN_SDR = 0x0AU , kFLEXSPI_Command_DATSZ_SDR = 0x0BU ,
  kFLEXSPI_Command_DUMMY_SDR = 0x0CU , kFLEXSPI_Command_DUMMY_RWDS_SDR = 0x0DU , kFLEXSPI_Command_DDR = 0x21U , kFLEXSPI_Command_RADDR_DDR = 0x22U ,
  kFLEXSPI_Command_CADDR_DDR = 0x23U , kFLEXSPI_Command_MODE1_DDR = 0x24U , kFLEXSPI_Command_MODE2_DDR = 0x25U , kFLEXSPI_Command_MODE4_DDR = 0x26U ,
  kFLEXSPI_Command_MODE8_DDR = 0x27U , kFLEXSPI_Command_WRITE_DDR = 0x28U , kFLEXSPI_Command_READ_DDR = 0x29U , kFLEXSPI_Command_LEARN_DDR = 0x2AU ,
  kFLEXSPI_Command_DATSZ_DDR = 0x2BU , kFLEXSPI_Command_DUMMY_DDR = 0x2CU , kFLEXSPI_Command_DUMMY_RWDS_DDR = 0x2DU , kFLEXSPI_Command_JUMP_ON_CS = 0x1FU
}
 CMD definition of FLEXSPI, use to form LUT instruction, _flexspi_command. More...
 
enum  _flexspi_pad { kFLEXSPI_1PAD = 0x00U , kFLEXSPI_2PAD = 0x01U , kFLEXSPI_4PAD = 0x02U , kFLEXSPI_8PAD = 0x03U }
 pad definition of FLEXSPI, use to form LUT instruction. More...
 
enum  _flexspi_flags {
  kFLEXSPI_SequenceExecutionTimeoutFlag = FLEXSPI_INTEN_SEQTIMEOUTEN_MASK , kFLEXSPI_AhbBusTimeoutFlag = FLEXSPI_INTEN_AHBBUSTIMEOUTEN_MASK , kFLEXSPI_SckStoppedBecauseTxEmptyFlag , kFLEXSPI_SckStoppedBecauseRxFullFlag ,
  kFLEXSPI_DataLearningFailedFlag = FLEXSPI_INTEN_DATALEARNFAILEN_MASK , kFLEXSPI_IpTxFifoWatermarkEmptyFlag = FLEXSPI_INTEN_IPTXWEEN_MASK , kFLEXSPI_IpRxFifoWatermarkAvailableFlag = FLEXSPI_INTEN_IPRXWAEN_MASK , kFLEXSPI_AhbCommandSequenceErrorFlag ,
  kFLEXSPI_IpCommandSequenceErrorFlag = FLEXSPI_INTEN_IPCMDERREN_MASK , kFLEXSPI_AhbCommandGrantTimeoutFlag , kFLEXSPI_IpCommandGrantTimeoutFlag , kFLEXSPI_IpCommandExecutionDoneFlag ,
  kFLEXSPI_AllInterruptFlags = 0xFFFU
}
 FLEXSPI interrupt status flags. More...
 
enum  _flexspi_read_sample_clock { kFLEXSPI_ReadSampleClkLoopbackInternally = 0x0U , kFLEXSPI_ReadSampleClkLoopbackFromDqsPad = 0x1U , kFLEXSPI_ReadSampleClkLoopbackFromSckPad = 0x2U , kFLEXSPI_ReadSampleClkExternalInputFromDqsPad = 0x3U }
 FLEXSPI sample clock source selection for Flash Reading. More...
 
enum  _flexspi_cs_interval_cycle_unit { kFLEXSPI_CsIntervalUnit1SckCycle = 0x0U , kFLEXSPI_CsIntervalUnit256SckCycle = 0x1U }
 FLEXSPI interval unit for flash device select. More...
 
enum  _flexspi_ahb_write_wait_unit {
  kFLEXSPI_AhbWriteWaitUnit2AhbCycle = 0x0U , kFLEXSPI_AhbWriteWaitUnit8AhbCycle = 0x1U , kFLEXSPI_AhbWriteWaitUnit32AhbCycle = 0x2U , kFLEXSPI_AhbWriteWaitUnit128AhbCycle = 0x3U ,
  kFLEXSPI_AhbWriteWaitUnit512AhbCycle = 0x4U , kFLEXSPI_AhbWriteWaitUnit2048AhbCycle = 0x5U , kFLEXSPI_AhbWriteWaitUnit8192AhbCycle = 0x6U , kFLEXSPI_AhbWriteWaitUnit32768AhbCycle = 0x7U
}
 FLEXSPI AHB wait interval unit for writing. More...
 
enum  _flexspi_ip_error_code {
  kFLEXSPI_IpCmdErrorNoError = 0x0U , kFLEXSPI_IpCmdErrorJumpOnCsInIpCmd = 0x2U , kFLEXSPI_IpCmdErrorUnknownOpCode = 0x3U , kFLEXSPI_IpCmdErrorSdrDummyInDdrSequence = 0x4U ,
  kFLEXSPI_IpCmdErrorDdrDummyInSdrSequence = 0x5U , kFLEXSPI_IpCmdErrorInvalidAddress = 0x6U , kFLEXSPI_IpCmdErrorSequenceExecutionTimeout = 0xEU , kFLEXSPI_IpCmdErrorFlashBoundaryAcrosss = 0xFU
}
 Error Code when IP command Error detected. More...
 
enum  _flexspi_ahb_error_code {
  kFLEXSPI_AhbCmdErrorNoError = 0x0U , kFLEXSPI_AhbCmdErrorJumpOnCsInWriteCmd = 0x2U , kFLEXSPI_AhbCmdErrorUnknownOpCode = 0x3U , kFLEXSPI_AhbCmdErrorSdrDummyInDdrSequence = 0x4U ,
  kFLEXSPI_AhbCmdErrorDdrDummyInSdrSequence = 0x5U , kFLEXSPI_AhbCmdSequenceExecutionTimeout = 0x6U
}
 Error Code when AHB command Error detected. More...
 
enum  _flexspi_port {
  kFLEXSPI_PortA1 = 0x0U , kFLEXSPI_PortA2 , kFLEXSPI_PortB1 , kFLEXSPI_PortB2 ,
  kFLEXSPI_PortCount
}
 FLEXSPI operation port select. More...
 
enum  _flexspi_arb_command_source { kFLEXSPI_AhbReadCommand = 0x0U , kFLEXSPI_AhbWriteCommand = 0x1U , kFLEXSPI_IpCommand = 0x2U , kFLEXSPI_SuspendedCommand = 0x3U }
 Trigger source of current command sequence granted by arbitrator.
 
enum  _flexspi_command_type { kFLEXSPI_Command , kFLEXSPI_Config , kFLEXSPI_Read , kFLEXSPI_Write }
 Command type. More...
 
typedef enum _flexspi_pad flexspi_pad_t
 pad definition of FLEXSPI, use to form LUT instruction.
 
typedef enum _flexspi_flags flexspi_flags_t
 FLEXSPI interrupt status flags.
 
typedef enum _flexspi_read_sample_clock flexspi_read_sample_clock_t
 FLEXSPI sample clock source selection for Flash Reading.
 
typedef enum _flexspi_cs_interval_cycle_unit flexspi_cs_interval_cycle_unit_t
 FLEXSPI interval unit for flash device select.
 
typedef enum _flexspi_ahb_write_wait_unit flexspi_ahb_write_wait_unit_t
 FLEXSPI AHB wait interval unit for writing.
 
typedef enum _flexspi_ip_error_code flexspi_ip_error_code_t
 Error Code when IP command Error detected.
 
typedef enum _flexspi_ahb_error_code flexspi_ahb_error_code_t
 Error Code when AHB command Error detected.
 
typedef enum _flexspi_port flexspi_port_t
 FLEXSPI operation port select.
 
typedef enum _flexspi_arb_command_source flexspi_arb_command_source_t
 Trigger source of current command sequence granted by arbitrator.
 
typedef enum _flexspi_command_type flexspi_command_type_t
 Command type.
 
typedef struct _flexspi_ahbBuffer_config flexspi_ahbBuffer_config_t
 
typedef struct _flexspi_config flexspi_config_t
 FLEXSPI configuration structure.
 
typedef struct _flexspi_device_config flexspi_device_config_t
 External device configuration items.
 
typedef struct _flexspi_transfer flexspi_transfer_t
 Transfer structure for FLEXSPI.
 
typedef struct _flexspi_handle flexspi_handle_t
 
typedef void(* flexspi_transfer_callback_t) (FLEXSPI_Type *base, flexspi_handle_t *handle, status_t status, void *userData)
 FLEXSPI transfer callback function.
 
#define FSL_FLEXSPI_DRIVER_VERSION   (MAKE_VERSION(2, 5, 0))
 FLEXSPI driver version.
 
#define FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNT   FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNTn(0)
 
#define FLEXSPI_LUT_SEQ(cmd0, pad0, op0, cmd1, pad1, op1)
 Formula to form FLEXSPI instructions in LUT table. More...
 

Initialization and deinitialization

uint32_t FLEXSPI_GetInstance (FLEXSPI_Type *base)
 Get the instance number for FLEXSPI. More...
 
status_t FLEXSPI_CheckAndClearError (FLEXSPI_Type *base, uint32_t status)
 Check and clear IP command execution errors. More...
 
void FLEXSPI_Init (FLEXSPI_Type *base, const flexspi_config_t *config)
 Initializes the FLEXSPI module and internal state. More...
 
void FLEXSPI_GetDefaultConfig (flexspi_config_t *config)
 Gets default settings for FLEXSPI. More...
 
void FLEXSPI_Deinit (FLEXSPI_Type *base)
 Deinitializes the FLEXSPI module. More...
 
void FLEXSPI_UpdateDllValue (FLEXSPI_Type *base, flexspi_device_config_t *config, flexspi_port_t port)
 Update FLEXSPI DLL value depending on currently flexspi root clock. More...
 
void FLEXSPI_SetFlashConfig (FLEXSPI_Type *base, flexspi_device_config_t *config, flexspi_port_t port)
 Configures the connected device parameter. More...
 

Bus Operations

void FLEXSPI_UpdateRxSampleClock (FLEXSPI_Type *base, flexspi_read_sample_clock_t clockSource)
 Update read sample clock source. More...
 
void FLEXSPI_UpdateLUT (FLEXSPI_Type *base, uint32_t index, const uint32_t *cmd, uint32_t count)
 Updates the LUT table. More...
 
status_t FLEXSPI_WriteBlocking (FLEXSPI_Type *base, uint8_t *buffer, size_t size)
 Sends a buffer of data bytes using blocking method. More...
 
status_t FLEXSPI_ReadBlocking (FLEXSPI_Type *base, uint8_t *buffer, size_t size)
 Receives a buffer of data bytes using a blocking method. More...
 
status_t FLEXSPI_TransferBlocking (FLEXSPI_Type *base, flexspi_transfer_t *xfer)
 Execute command to transfer a buffer data bytes using a blocking method. More...
 

Transactional

void FLEXSPI_TransferCreateHandle (FLEXSPI_Type *base, flexspi_handle_t *handle, flexspi_transfer_callback_t callback, void *userData)
 Initializes the FLEXSPI handle which is used in transactional functions. More...
 
status_t FLEXSPI_TransferNonBlocking (FLEXSPI_Type *base, flexspi_handle_t *handle, flexspi_transfer_t *xfer)
 Performs a interrupt non-blocking transfer on the FLEXSPI bus. More...
 
status_t FLEXSPI_TransferGetCount (FLEXSPI_Type *base, flexspi_handle_t *handle, size_t *count)
 Gets the master transfer status during a interrupt non-blocking transfer. More...
 
void FLEXSPI_TransferAbort (FLEXSPI_Type *base, flexspi_handle_t *handle)
 Aborts an interrupt non-blocking transfer early. More...
 
void FLEXSPI_TransferHandleIRQ (FLEXSPI_Type *base, flexspi_handle_t *handle)
 Master interrupt handler. More...
 

Detailed Description

Macro Definition Documentation

◆ FLEXSPI_LUT_SEQ

#define FLEXSPI_LUT_SEQ (   cmd0,
  pad0,
  op0,
  cmd1,
  pad1,
  op1 
)
Value:
FLEXSPI_LUT_NUM_PADS1(pad1) | FLEXSPI_LUT_OPCODE1(cmd1))
#define FLEXSPI_LUT_NUM_PADS0(x)
Definition: MIMXRT1052.h:22264
#define FLEXSPI_LUT_OPERAND1(x)
Definition: MIMXRT1052.h:22276
#define FLEXSPI_LUT_OPCODE1(x)
Definition: MIMXRT1052.h:22288
#define FLEXSPI_LUT_OPERAND0(x)
Definition: MIMXRT1052.h:22258
#define FLEXSPI_LUT_OPCODE0(x)
Definition: MIMXRT1052.h:22270

Formula to form FLEXSPI instructions in LUT table.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Status structure of FLEXSPI.

Enumerator
kStatus_FLEXSPI_Busy 

FLEXSPI is busy

kStatus_FLEXSPI_SequenceExecutionTimeout 

Sequence execution timeout error occurred during FLEXSPI transfer.

kStatus_FLEXSPI_IpCommandSequenceError 

IP command Sequence execution timeout error occurred during FLEXSPI transfer.

kStatus_FLEXSPI_IpCommandGrantTimeout 

IP command grant timeout error occurred during FLEXSPI transfer.

◆ anonymous enum

anonymous enum

CMD definition of FLEXSPI, use to form LUT instruction, _flexspi_command.

Enumerator
kFLEXSPI_Command_STOP 

Stop execution, deassert CS.

kFLEXSPI_Command_SDR 

Transmit Command code to Flash, using SDR mode.

kFLEXSPI_Command_RADDR_SDR 

Transmit Row Address to Flash, using SDR mode.

kFLEXSPI_Command_CADDR_SDR 

Transmit Column Address to Flash, using SDR mode.

kFLEXSPI_Command_MODE1_SDR 

Transmit 1-bit Mode bits to Flash, using SDR mode.

kFLEXSPI_Command_MODE2_SDR 

Transmit 2-bit Mode bits to Flash, using SDR mode.

kFLEXSPI_Command_MODE4_SDR 

Transmit 4-bit Mode bits to Flash, using SDR mode.

kFLEXSPI_Command_MODE8_SDR 

Transmit 8-bit Mode bits to Flash, using SDR mode.

kFLEXSPI_Command_WRITE_SDR 

Transmit Programming Data to Flash, using SDR mode.

kFLEXSPI_Command_READ_SDR 

Receive Read Data from Flash, using SDR mode.

kFLEXSPI_Command_LEARN_SDR 

Receive Read Data or Preamble bit from Flash, SDR mode.

kFLEXSPI_Command_DATSZ_SDR 

Transmit Read/Program Data size (byte) to Flash, SDR mode.

kFLEXSPI_Command_DUMMY_SDR 

Leave data lines undriven by FlexSPI controller.

kFLEXSPI_Command_DUMMY_RWDS_SDR 

Leave data lines undriven by FlexSPI controller, dummy cycles decided by RWDS.

kFLEXSPI_Command_DDR 

Transmit Command code to Flash, using DDR mode.

kFLEXSPI_Command_RADDR_DDR 

Transmit Row Address to Flash, using DDR mode.

kFLEXSPI_Command_CADDR_DDR 

Transmit Column Address to Flash, using DDR mode.

kFLEXSPI_Command_MODE1_DDR 

Transmit 1-bit Mode bits to Flash, using DDR mode.

kFLEXSPI_Command_MODE2_DDR 

Transmit 2-bit Mode bits to Flash, using DDR mode.

kFLEXSPI_Command_MODE4_DDR 

Transmit 4-bit Mode bits to Flash, using DDR mode.

kFLEXSPI_Command_MODE8_DDR 

Transmit 8-bit Mode bits to Flash, using DDR mode.

kFLEXSPI_Command_WRITE_DDR 

Transmit Programming Data to Flash, using DDR mode.

kFLEXSPI_Command_READ_DDR 

Receive Read Data from Flash, using DDR mode.

kFLEXSPI_Command_LEARN_DDR 

Receive Read Data or Preamble bit from Flash, DDR mode.

kFLEXSPI_Command_DATSZ_DDR 

Transmit Read/Program Data size (byte) to Flash, DDR mode.

kFLEXSPI_Command_DUMMY_DDR 

Leave data lines undriven by FlexSPI controller.

kFLEXSPI_Command_DUMMY_RWDS_DDR 

Leave data lines undriven by FlexSPI controller, dummy cycles decided by RWDS.

kFLEXSPI_Command_JUMP_ON_CS 

Stop execution, deassert CS and save operand[7:0] as the instruction start pointer for next sequence

◆ _flexspi_ahb_error_code

Error Code when AHB command Error detected.

Enumerator
kFLEXSPI_AhbCmdErrorNoError 

No error.

kFLEXSPI_AhbCmdErrorJumpOnCsInWriteCmd 

AHB Write command with JMP_ON_CS instruction used in the sequence.

kFLEXSPI_AhbCmdErrorUnknownOpCode 

Unknown instruction opcode in the sequence.

kFLEXSPI_AhbCmdErrorSdrDummyInDdrSequence 

Instruction DUMMY_SDR/DUMMY_RWDS_SDR used in DDR sequence.

kFLEXSPI_AhbCmdErrorDdrDummyInSdrSequence 

Instruction DUMMY_DDR/DUMMY_RWDS_DDR used in SDR sequence.

kFLEXSPI_AhbCmdSequenceExecutionTimeout 

Sequence execution timeout.

◆ _flexspi_ahb_write_wait_unit

FLEXSPI AHB wait interval unit for writing.

Enumerator
kFLEXSPI_AhbWriteWaitUnit2AhbCycle 

AWRWAIT unit is 2 ahb clock cycle.

kFLEXSPI_AhbWriteWaitUnit8AhbCycle 

AWRWAIT unit is 8 ahb clock cycle.

kFLEXSPI_AhbWriteWaitUnit32AhbCycle 

AWRWAIT unit is 32 ahb clock cycle.

kFLEXSPI_AhbWriteWaitUnit128AhbCycle 

AWRWAIT unit is 128 ahb clock cycle.

kFLEXSPI_AhbWriteWaitUnit512AhbCycle 

AWRWAIT unit is 512 ahb clock cycle.

kFLEXSPI_AhbWriteWaitUnit2048AhbCycle 

AWRWAIT unit is 2048 ahb clock cycle.

kFLEXSPI_AhbWriteWaitUnit8192AhbCycle 

AWRWAIT unit is 8192 ahb clock cycle.

kFLEXSPI_AhbWriteWaitUnit32768AhbCycle 

AWRWAIT unit is 32768 ahb clock cycle.

◆ _flexspi_command_type

Command type.

Enumerator
kFLEXSPI_Command 

FlexSPI operation: Only command, both TX and Rx buffer are ignored.

kFLEXSPI_Config 

FlexSPI operation: Configure device mode, the TX fifo size is fixed in LUT.

◆ _flexspi_cs_interval_cycle_unit

FLEXSPI interval unit for flash device select.

Enumerator
kFLEXSPI_CsIntervalUnit1SckCycle 

Chip selection interval: CSINTERVAL * 1 serial clock cycle.

kFLEXSPI_CsIntervalUnit256SckCycle 

Chip selection interval: CSINTERVAL * 256 serial clock cycle.

◆ _flexspi_flags

FLEXSPI interrupt status flags.

Enumerator
kFLEXSPI_SequenceExecutionTimeoutFlag 

Sequence execution timeout.

kFLEXSPI_AhbBusTimeoutFlag 

AHB Bus timeout.

kFLEXSPI_SckStoppedBecauseTxEmptyFlag 

SCK is stopped during command sequence because Async TX FIFO empty.

kFLEXSPI_SckStoppedBecauseRxFullFlag 

SCK is stopped during command sequence because Async RX FIFO full.

kFLEXSPI_DataLearningFailedFlag 

Data learning failed.

kFLEXSPI_IpTxFifoWatermarkEmptyFlag 

IP TX FIFO WaterMark empty.

kFLEXSPI_IpRxFifoWatermarkAvailableFlag 

IP RX FIFO WaterMark available.

kFLEXSPI_AhbCommandSequenceErrorFlag 

AHB triggered Command Sequences Error.

kFLEXSPI_IpCommandSequenceErrorFlag 

IP triggered Command Sequences Error.

kFLEXSPI_AhbCommandGrantTimeoutFlag 

AHB triggered Command Sequences Grant Timeout.

kFLEXSPI_IpCommandGrantTimeoutFlag 

IP triggered Command Sequences Grant Timeout.

kFLEXSPI_IpCommandExecutionDoneFlag 

IP triggered Command Sequences Execution finished.

kFLEXSPI_AllInterruptFlags 

All flags.

◆ _flexspi_ip_error_code

Error Code when IP command Error detected.

Enumerator
kFLEXSPI_IpCmdErrorNoError 

No error.

kFLEXSPI_IpCmdErrorJumpOnCsInIpCmd 

IP command with JMP_ON_CS instruction used.

kFLEXSPI_IpCmdErrorUnknownOpCode 

Unknown instruction opcode in the sequence.

kFLEXSPI_IpCmdErrorSdrDummyInDdrSequence 

Instruction DUMMY_SDR/DUMMY_RWDS_SDR used in DDR sequence.

kFLEXSPI_IpCmdErrorDdrDummyInSdrSequence 

Instruction DUMMY_DDR/DUMMY_RWDS_DDR used in SDR sequence.

kFLEXSPI_IpCmdErrorInvalidAddress 

Flash access start address exceed the whole flash address range (A1/A2/B1/B2).

kFLEXSPI_IpCmdErrorSequenceExecutionTimeout 

Sequence execution timeout.

kFLEXSPI_IpCmdErrorFlashBoundaryAcrosss 

Flash boundary crossed.

◆ _flexspi_pad

pad definition of FLEXSPI, use to form LUT instruction.

Enumerator
kFLEXSPI_1PAD 

Transmit command/address and transmit/receive data only through DATA0/DATA1.

kFLEXSPI_2PAD 

Transmit command/address and transmit/receive data only through DATA[1:0].

kFLEXSPI_4PAD 

Transmit command/address and transmit/receive data only through DATA[3:0].

kFLEXSPI_8PAD 

Transmit command/address and transmit/receive data only through DATA[7:0].

◆ _flexspi_port

FLEXSPI operation port select.

Enumerator
kFLEXSPI_PortA1 

Access flash on A1 port.

kFLEXSPI_PortA2 

Access flash on A2 port.

kFLEXSPI_PortB1 

Access flash on B1 port.

kFLEXSPI_PortB2 

Access flash on B2 port.

◆ _flexspi_read_sample_clock

FLEXSPI sample clock source selection for Flash Reading.

Enumerator
kFLEXSPI_ReadSampleClkLoopbackInternally 

Dummy Read strobe generated by FlexSPI Controller and loopback internally.

kFLEXSPI_ReadSampleClkLoopbackFromDqsPad 

Dummy Read strobe generated by FlexSPI Controller and loopback from DQS pad.

kFLEXSPI_ReadSampleClkLoopbackFromSckPad 

SCK output clock and loopback from SCK pad.

kFLEXSPI_ReadSampleClkExternalInputFromDqsPad 

Flash provided Read strobe and input from DQS pad.

Function Documentation

◆ FLEXSPI_CheckAndClearError()

status_t FLEXSPI_CheckAndClearError ( FLEXSPI_Type base,
uint32_t  status 
)

Check and clear IP command execution errors.

Parameters
baseFLEXSPI base pointer.
statusinterrupt status.

◆ FLEXSPI_Deinit()

void FLEXSPI_Deinit ( FLEXSPI_Type base)

Deinitializes the FLEXSPI module.

Clears the FLEXSPI state and FLEXSPI module registers.

Parameters
baseFLEXSPI peripheral base address.

brief Deinitializes the FLEXSPI module.

Clears the FLEXSPI state and FLEXSPI module registers. param base FLEXSPI peripheral base address.

◆ FLEXSPI_GetDefaultConfig()

void FLEXSPI_GetDefaultConfig ( flexspi_config_t config)

Gets default settings for FLEXSPI.

Parameters
configFLEXSPI configuration structure.

brief Gets default settings for FLEXSPI.

param config FLEXSPI configuration structure.

◆ FLEXSPI_GetInstance()

uint32_t FLEXSPI_GetInstance ( FLEXSPI_Type base)

Get the instance number for FLEXSPI.

Parameters
baseFLEXSPI base pointer.

◆ FLEXSPI_Init()

void FLEXSPI_Init ( FLEXSPI_Type base,
const flexspi_config_t config 
)

Initializes the FLEXSPI module and internal state.

This function enables the clock for FLEXSPI and also configures the FLEXSPI with the input configure parameters. Users should call this function before any FLEXSPI operations.

Parameters
baseFLEXSPI peripheral base address.
configFLEXSPI configure structure.

brief Initializes the FLEXSPI module and internal state.

This function enables the clock for FLEXSPI and also configures the FLEXSPI with the input configure parameters. Users should call this function before any FLEXSPI operations.

param base FLEXSPI peripheral base address. param config FLEXSPI configure structure.

◆ FLEXSPI_ReadBlocking()

status_t FLEXSPI_ReadBlocking ( FLEXSPI_Type base,
uint8_t *  buffer,
size_t  size 
)

Receives a buffer of data bytes using a blocking method.

Note
This function blocks via polling until all bytes have been sent.
Parameters
baseFLEXSPI peripheral base address
bufferThe data bytes to send
sizeThe number of data bytes to receive
Return values
kStatus_Successread success without error
kStatus_FLEXSPI_SequenceExecutionTimeoutsequence execution timeout
kStatus_FLEXSPI_IpCommandSequenceErrorIP command sequencen error detected
kStatus_FLEXSPI_IpCommandGrantTimeoutIP command grant timeout detected

brief Receives a buffer of data bytes using a blocking method. note This function blocks via polling until all bytes have been sent. param base FLEXSPI peripheral base address param buffer The data bytes to send param size The number of data bytes to receive retval kStatus_Success read success without error retval kStatus_FLEXSPI_SequenceExecutionTimeout sequence execution timeout retval kStatus_FLEXSPI_IpCommandSequenceError IP command sequence error detected retval kStatus_FLEXSPI_IpCommandGrantTimeout IP command grant timeout detected

◆ FLEXSPI_SetFlashConfig()

void FLEXSPI_SetFlashConfig ( FLEXSPI_Type base,
flexspi_device_config_t config,
flexspi_port_t  port 
)

Configures the connected device parameter.

This function configures the connected device relevant parameters, such as the size, command, and so on. The flash configuration value cannot have a default value. The user needs to configure it according to the connected device.

Parameters
baseFLEXSPI peripheral base address.
configFlash configuration parameters.
portFLEXSPI Operation port.

brief Configures the connected device parameter.

This function configures the connected device relevant parameters, such as the size, command, and so on. The flash configuration value cannot have a default value. The user needs to configure it according to the connected device.

param base FLEXSPI peripheral base address. param config Flash configuration parameters. param port FLEXSPI Operation port.

◆ FLEXSPI_TransferAbort()

void FLEXSPI_TransferAbort ( FLEXSPI_Type base,
flexspi_handle_t handle 
)

Aborts an interrupt non-blocking transfer early.

Note
This API can be called at any time when an interrupt non-blocking transfer initiates to abort the transfer early.
Parameters
baseFLEXSPI peripheral base address.
handlepointer to flexspi_handle_t structure which stores the transfer state

brief Aborts an interrupt non-blocking transfer early.

note This API can be called at any time when an interrupt non-blocking transfer initiates to abort the transfer early.

param base FLEXSPI peripheral base address. param handle pointer to flexspi_handle_t structure which stores the transfer state

◆ FLEXSPI_TransferBlocking()

status_t FLEXSPI_TransferBlocking ( FLEXSPI_Type base,
flexspi_transfer_t xfer 
)

Execute command to transfer a buffer data bytes using a blocking method.

Parameters
baseFLEXSPI peripheral base address
xferpointer to the transfer structure.
Return values
kStatus_Successcommand transfer success without error
kStatus_FLEXSPI_SequenceExecutionTimeoutsequence execution timeout
kStatus_FLEXSPI_IpCommandSequenceErrorIP command sequence error detected
kStatus_FLEXSPI_IpCommandGrantTimeoutIP command grant timeout detected

brief Execute command to transfer a buffer data bytes using a blocking method. param base FLEXSPI peripheral base address param xfer pointer to the transfer structure. retval kStatus_Success command transfer success without error retval kStatus_FLEXSPI_SequenceExecutionTimeout sequence execution timeout retval kStatus_FLEXSPI_IpCommandSequenceError IP command sequence error detected retval kStatus_FLEXSPI_IpCommandGrantTimeout IP command grant timeout detected

◆ FLEXSPI_TransferCreateHandle()

void FLEXSPI_TransferCreateHandle ( FLEXSPI_Type base,
flexspi_handle_t handle,
flexspi_transfer_callback_t  callback,
void *  userData 
)

Initializes the FLEXSPI handle which is used in transactional functions.

Parameters
baseFLEXSPI peripheral base address.
handlepointer to flexspi_handle_t structure to store the transfer state.
callbackpointer to user callback function.
userDatauser parameter passed to the callback function.

brief Initializes the FLEXSPI handle which is used in transactional functions.

param base FLEXSPI peripheral base address. param handle pointer to flexspi_handle_t structure to store the transfer state. param callback pointer to user callback function. param userData user parameter passed to the callback function.

◆ FLEXSPI_TransferGetCount()

status_t FLEXSPI_TransferGetCount ( FLEXSPI_Type base,
flexspi_handle_t handle,
size_t *  count 
)

Gets the master transfer status during a interrupt non-blocking transfer.

Parameters
baseFLEXSPI peripheral base address.
handlepointer to flexspi_handle_t structure which stores the transfer state.
countNumber of bytes transferred so far by the non-blocking transaction.
Return values
kStatus_InvalidArgumentcount is Invalid.
kStatus_SuccessSuccessfully return the count.

brief Gets the master transfer status during a interrupt non-blocking transfer.

param base FLEXSPI peripheral base address. param handle pointer to flexspi_handle_t structure which stores the transfer state. param count Number of bytes transferred so far by the non-blocking transaction. retval kStatus_InvalidArgument count is Invalid. retval kStatus_Success Successfully return the count.

◆ FLEXSPI_TransferHandleIRQ()

void FLEXSPI_TransferHandleIRQ ( FLEXSPI_Type base,
flexspi_handle_t handle 
)

Master interrupt handler.

Parameters
baseFLEXSPI peripheral base address.
handlepointer to flexspi_handle_t structure.

brief Master interrupt handler.

param base FLEXSPI peripheral base address. param handle pointer to flexspi_handle_t structure.

◆ FLEXSPI_TransferNonBlocking()

status_t FLEXSPI_TransferNonBlocking ( FLEXSPI_Type base,
flexspi_handle_t handle,
flexspi_transfer_t xfer 
)

Performs a interrupt non-blocking transfer on the FLEXSPI bus.

Note
Calling the API returns immediately after transfer initiates. The user needs to call FLEXSPI_GetTransferCount to poll the transfer status to check whether the transfer is finished. If the return status is not kStatus_FLEXSPI_Busy, the transfer is finished. For FLEXSPI_Read, the dataSize should be multiple of rx watermark level, or FLEXSPI could not read data properly.
Parameters
baseFLEXSPI peripheral base address.
handlepointer to flexspi_handle_t structure which stores the transfer state.
xferpointer to flexspi_transfer_t structure.
Return values
kStatus_SuccessSuccessfully start the data transmission.
kStatus_FLEXSPI_BusyPrevious transmission still not finished.

brief Performs a interrupt non-blocking transfer on the FLEXSPI bus.

note Calling the API returns immediately after transfer initiates. The user needs to call FLEXSPI_GetTransferCount to poll the transfer status to check whether the transfer is finished. If the return status is not kStatus_FLEXSPI_Busy, the transfer is finished. For FLEXSPI_Read, the dataSize should be multiple of rx watermark level, or FLEXSPI could not read data properly.

param base FLEXSPI peripheral base address. param handle pointer to flexspi_handle_t structure which stores the transfer state. param xfer pointer to flexspi_transfer_t structure. retval kStatus_Success Successfully start the data transmission. retval kStatus_FLEXSPI_Busy Previous transmission still not finished.

◆ FLEXSPI_UpdateDllValue()

void FLEXSPI_UpdateDllValue ( FLEXSPI_Type base,
flexspi_device_config_t config,
flexspi_port_t  port 
)

Update FLEXSPI DLL value depending on currently flexspi root clock.

Parameters
baseFLEXSPI peripheral base address.
configFlash configuration parameters.
portFLEXSPI Operation port.

brief Update FLEXSPI DLL value depending on currently flexspi root clock.

param base FLEXSPI peripheral base address. param config Flash configuration parameters. param port FLEXSPI Operation port.

◆ FLEXSPI_UpdateLUT()

void FLEXSPI_UpdateLUT ( FLEXSPI_Type base,
uint32_t  index,
const uint32_t *  cmd,
uint32_t  count 
)

Updates the LUT table.

Parameters
baseFLEXSPI peripheral base address.
indexFrom which index start to update. It could be any index of the LUT table, which also allows user to update command content inside a command. Each command consists of up to 8 instructions and occupy 4*32-bit memory.
cmdCommand sequence array.
countNumber of sequences.

brief Updates the LUT table.

param base FLEXSPI peripheral base address. param index From which index start to update. It could be any index of the LUT table, which also allows user to update command content inside a command. Each command consists of up to 8 instructions and occupy 4*32-bit memory. param cmd Command sequence array. param count Number of sequences.

◆ FLEXSPI_UpdateRxSampleClock()

void FLEXSPI_UpdateRxSampleClock ( FLEXSPI_Type base,
flexspi_read_sample_clock_t  clockSource 
)

Update read sample clock source.

Parameters
baseFLEXSPI peripheral base address.
clockSourceclockSource of type flexspi_read_sample_clock_t

brief Update read sample clock source

param base FLEXSPI peripheral base address. param clockSource clockSource of type flexspi_read_sample_clock_t

◆ FLEXSPI_WriteBlocking()

status_t FLEXSPI_WriteBlocking ( FLEXSPI_Type base,
uint8_t *  buffer,
size_t  size 
)

Sends a buffer of data bytes using blocking method.

Note
This function blocks via polling until all bytes have been sent.
Parameters
baseFLEXSPI peripheral base address
bufferThe data bytes to send
sizeThe number of data bytes to send
Return values
kStatus_Successwrite success without error
kStatus_FLEXSPI_SequenceExecutionTimeoutsequence execution timeout
kStatus_FLEXSPI_IpCommandSequenceErrorIP command sequence error detected
kStatus_FLEXSPI_IpCommandGrantTimeoutIP command grant timeout detected

brief Sends a buffer of data bytes using blocking method. note This function blocks via polling until all bytes have been sent. param base FLEXSPI peripheral base address param buffer The data bytes to send param size The number of data bytes to send retval kStatus_Success write success without error retval kStatus_FLEXSPI_SequenceExecutionTimeout sequence execution timeout retval kStatus_FLEXSPI_IpCommandSequenceError IP command sequence error detected retval kStatus_FLEXSPI_IpCommandGrantTimeout IP command grant timeout detected

Variable Documentation

◆ ahbBusTimeoutCycle [1/2]

uint16_t _flexspi_config::ahbBusTimeoutCycle

Timeout wait cycle for AHB read/write access, timeout after ahbBusTimeoutCycle*1024 AHB clock cycles.

◆  [2/2]

uint16_t { ... } ::ahbBusTimeoutCycle

Timeout wait cycle for AHB read/write access, timeout after ahbBusTimeoutCycle*1024 AHB clock cycles.

◆ ahbGrantTimeoutCycle [1/2]

uint8_t _flexspi_config::ahbGrantTimeoutCycle

Timeout wait cycle for AHB command grant, timeout after ahbGrantTimeoutCyle*1024 AHB clock cycles.

◆  [2/2]

uint8_t { ... } ::ahbGrantTimeoutCycle

Timeout wait cycle for AHB command grant, timeout after ahbGrantTimeoutCyle*1024 AHB clock cycles.

◆ AHBWriteWaitInterval

uint16_t _flexspi_device_config::AHBWriteWaitInterval

AHB write wait interval, multiply AHB write interval unit to get the AHB write wait cycles.

◆ AHBWriteWaitUnit

flexspi_ahb_write_wait_unit_t _flexspi_device_config::AHBWriteWaitUnit

AHB write wait unit.

◆ ARDSeqIndex

uint8_t _flexspi_device_config::ARDSeqIndex

Sequence ID for AHB read command.

◆ ARDSeqNumber

uint8_t _flexspi_device_config::ARDSeqNumber

Sequence number for AHB read command.

◆ AWRSeqIndex

uint8_t _flexspi_device_config::AWRSeqIndex

Sequence ID for AHB write command.

◆ AWRSeqNumber

uint8_t _flexspi_device_config::AWRSeqNumber

Sequence number for AHB write command.

◆ buffer [1/2]

flexspi_ahbBuffer_config_t _flexspi_config::buffer[FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNT]

AHB buffer size.

◆  [2/2]

flexspi_ahbBuffer_config_t { ... } ::buffer[FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNT]

AHB buffer size.

◆ bufferSize

uint16_t _flexspi_ahbBuffer_config::bufferSize

AHB buffer size in byte.

◆ cmdType

flexspi_command_type_t _flexspi_transfer::cmdType

Execution command type.

◆ columnspace

uint8_t _flexspi_device_config::columnspace

Column space size.

◆ completionCallback

flexspi_transfer_callback_t _flexspi_handle::completionCallback

Callback for users while transfer finish or error occurred

◆ CSHoldTime

uint8_t _flexspi_device_config::CSHoldTime

CS line hold time.

◆ CSInterval

uint16_t _flexspi_device_config::CSInterval

CS line assert interval, multiply CS interval unit to get the CS line assert interval cycles.

◆ CSIntervalUnit

flexspi_cs_interval_cycle_unit_t _flexspi_device_config::CSIntervalUnit

CS interval unit, 1 or 256 cycle.

◆ CSSetupTime

uint8_t _flexspi_device_config::CSSetupTime

CS line setup time.

◆ data [1/2]

uint32_t* _flexspi_transfer::data

Data buffer.

◆ data [2/2]

uint8_t* _flexspi_handle::data

Data buffer.

◆ dataSize [1/2]

size_t _flexspi_transfer::dataSize

Data size in bytes.

◆ dataSize [2/2]

size_t _flexspi_handle::dataSize

Remaining Data size in bytes.

◆ dataValidTime

uint8_t _flexspi_device_config::dataValidTime

Data valid time for external device.

◆ deviceAddress

uint32_t _flexspi_transfer::deviceAddress

Operation device address.

◆  [1/2]

bool { ... } ::enableAHBBufferable

Enable/disable AHB bufferable write access support, when enabled, FLEXSPI return before waiting for command execution finished.

◆ enableAHBBufferable [2/2]

bool _flexspi_config::enableAHBBufferable

Enable/disable AHB bufferable write access support, when enabled, FLEXSPI return before waiting for command execution finished.

◆ enableAHBCachable [1/2]

bool _flexspi_config::enableAHBCachable

Enable AHB bus cachable read access support.

◆  [2/2]

bool { ... } ::enableAHBCachable

Enable AHB bus cachable read access support.

◆ enableAHBPrefetch [1/2]

bool _flexspi_config::enableAHBPrefetch

Enable/disable AHB read prefetch feature, when enabled, FLEXSPI will fetch more data than current AHB burst.

◆  [2/2]

bool { ... } ::enableAHBPrefetch

Enable/disable AHB read prefetch feature, when enabled, FLEXSPI will fetch more data than current AHB burst.

◆  [1/2]

bool { ... } ::enableAHBWriteIpRxFifo

Enable AHB bus write access to IP RX FIFO.

◆ enableAHBWriteIpRxFifo [2/2]

bool _flexspi_config::enableAHBWriteIpRxFifo

Enable AHB bus write access to IP RX FIFO.

◆  [1/2]

bool { ... } ::enableAHBWriteIpTxFifo

Enable AHB bus write access to IP TX FIFO.

◆ enableAHBWriteIpTxFifo [2/2]

bool _flexspi_config::enableAHBWriteIpTxFifo

Enable AHB bus write access to IP TX FIFO.

◆ enableClearAHBBufferOpt [1/2]

bool _flexspi_config::enableClearAHBBufferOpt

Enable/disable automatically clean AHB RX Buffer and TX Buffer when FLEXSPI returns STOP mode ACK.

◆  [2/2]

bool { ... } ::enableClearAHBBufferOpt

Enable/disable automatically clean AHB RX Buffer and TX Buffer when FLEXSPI returns STOP mode ACK.

◆ enableCombination

bool _flexspi_config::enableCombination

Enable/disable combining PORT A and B Data Pins (SIOA[3:0] and SIOB[3:0]) to support Flash Octal mode.

◆ enableDoze

bool _flexspi_config::enableDoze

Enable/disable doze mode support.

◆ enableHalfSpeedAccess

bool _flexspi_config::enableHalfSpeedAccess

Enable/disable divide by 2 of the clock for half speed commands.

◆ enablePrefetch

bool _flexspi_ahbBuffer_config::enablePrefetch

AHB Read Prefetch Enable for current AHB RX Buffer corresponding Master, allows prefetch disable/enable separately for each master.

◆ enableReadAddressOpt [1/2]

bool _flexspi_config::enableReadAddressOpt

Enable/disable remove AHB read burst start address alignment limitation. when enable, there is no AHB read burst start address alignment limitation.

◆  [2/2]

bool { ... } ::enableReadAddressOpt

Enable/disable remove AHB read burst start address alignment limitation. when enable, there is no AHB read burst start address alignment limitation.

◆ enableSameConfigForAll

bool _flexspi_config::enableSameConfigForAll

Enable/disable same configuration for all connected devices when enabled, same configuration in FLASHA1CRx is applied to all.

◆ enableSckBDiffOpt

bool _flexspi_config::enableSckBDiffOpt

Enable/disable SCKB pad use as SCKA differential clock output, when enable, Port B flash access is not available.

◆ enableSckFreeRunning

bool _flexspi_config::enableSckFreeRunning

Enable/disable SCK output free-running.

◆ enableWordAddress

bool _flexspi_device_config::enableWordAddress

If enable word address.

◆ enableWriteMask

bool _flexspi_device_config::enableWriteMask

Enable/Disable FLEXSPI drive DQS pin as write mask when writing to external device.

◆ flashSize

uint32_t _flexspi_device_config::flashSize

Flash size in KByte.

◆ flexspiRootClk

uint32_t _flexspi_device_config::flexspiRootClk

FLEXSPI serial root clock.

◆ ipGrantTimeoutCycle

uint8_t _flexspi_config::ipGrantTimeoutCycle

Timeout wait cycle for IP command grant, timeout after ipGrantTimeoutCycle*1024 AHB clock cycles.

◆ isSck2Enabled

bool _flexspi_device_config::isSck2Enabled

FLEXSPI use SCK2.

◆ masterIndex

uint8_t _flexspi_ahbBuffer_config::masterIndex

AHB Master ID the AHB RX Buffer is assigned.

◆ port

flexspi_port_t _flexspi_transfer::port

Operation port.

◆ priority

uint8_t _flexspi_ahbBuffer_config::priority

This priority for AHB Master Read which this AHB RX Buffer is assigned.

◆  [1/2]

uint8_t { ... } ::resumeWaitCycle

Wait cycle for idle state before suspended command sequence resume, timeout after ahbBusTimeoutCycle AHB clock cycles.

◆ resumeWaitCycle [2/2]

uint8_t _flexspi_config::resumeWaitCycle

Wait cycle for idle state before suspended command sequence resume, timeout after ahbBusTimeoutCycle AHB clock cycles.

◆ rxSampleClock

flexspi_read_sample_clock_t _flexspi_config::rxSampleClock

Sample Clock source selection for Flash Reading.

◆ rxWatermark

uint8_t _flexspi_config::rxWatermark

FLEXSPI receive watermark value.

◆ seqIndex

uint8_t _flexspi_transfer::seqIndex

Sequence ID for command.

◆ SeqNumber

uint8_t _flexspi_transfer::SeqNumber

Sequence number for command.

◆ seqTimeoutCycle

uint16_t _flexspi_config::seqTimeoutCycle

Timeout wait cycle for command sequence execution, timeout after ahbGrantTimeoutCyle*1024 serial root clock cycles.

◆ state

uint32_t _flexspi_handle::state

Internal state for FLEXSPI transfer

◆ transferTotalSize

size_t _flexspi_handle::transferTotalSize

Total Data size in bytes.

◆ txWatermark

uint8_t _flexspi_config::txWatermark

FLEXSPI IP transmit watermark value.

◆ userData

void* _flexspi_handle::userData

FLEXSPI callback function parameter.