Typedefs | Enumerations
HAL QSPI state
Peripheral Driver » HAL Driver » QSPI » Enumerations

## Typedefs
typedef enum _qspi_memorymapped_idx_e | qspi_memorymapped_idx_e
| KEY index enum for memorymapped mode, use to modify any parameter quickly. More...

## Enumerations
enum | hal_qspi_state_t { HAL_QSPI_STATE_RESET = 0x00, HAL_QSPI_STATE_READY = 0x01, HAL_QSPI_STATE_BUSY = 0x02, HAL_QSPI_STATE_BUSY_INDIRECT_TX = 0x12, HAL_QSPI_STATE_BUSY_INDIRECT_RX = 0x22, HAL_QSPI_STATE_BUSY_MEM_MAPPED = 0x82U, HAL_QSPI_STATE_ABORT = 0x08, HAL_QSPI_STATE_ERROR = 0x04 }
| HAL QSPI State Enumerations definition. More...
enum | hal_memorymapped_status_t { HAL_MMAPPED_STATE_DEACTIVED = 0x00U, HAL_MMAPPED_STATE_ACTIVED = 0x01U, HAL_MMAPPED_STATE_ERROR = 0xFFU }
| HAL Status structures Of memorymapped definition. More...
enum | _qspi_memorymapped_idx_e { QSPI_MMAPED_IDX_DFS_HARDCCODE_EN = 0x00, QSPI_MMAPED_IDX_DFS = 0x01, QSPI_MMAPED_IDX_INST_EN = 0x02, QSPI_MMAPED_IDX_INST_SIZE = 0x03, QSPI_MMAPED_IDX_INST_VAL = 0x04, QSPI_MMAPED_IDX_ADDR_SIZE = 0x05, QSPI_MMAPED_IDX_INST_ADDR_XFER_FORMAT = 0x06, QSPI_MMAPED_IDX_MODE_BITS_EN = 0x07, QSPI_MMAPED_IDX_MODE_BITS_SIZE = 0x08, QSPI_MMAPED_IDX_MODE_BITS_VAL = 0x09, QSPI_MMAPED_IDX_WAIT_CYCLES = 0x0A, QSPI_MMAPED_IDX_DATA_FRF = 0x0B, QSPI_MMAPED_IDX_PREFETCH_EN = 0x0C, QSPI_MMAPED_IDX_CONT_XFER_EN = 0x0D, QSPI_MMAPED_IDX_CONT_XFER_TOC = 0x0E, QSPI_MMAPED_IDX_EDIAN_MODE = 0x0F }
| KEY index enum for memorymapped mode, use to modify any parameter quickly. More...

## Detailed Description

## Typedef Documentation

## ◆ qspi_memorymapped_idx_e

typedef enum _qspi_memorymapped_idx_e qspi_memorymapped_idx_e

KEY index enum for memorymapped mode, use to modify any parameter quickly.

## Enumeration Type Documentation

## ◆ _qspi_memorymapped_idx_e

enum _qspi_memorymapped_idx_e

KEY index enum for memorymapped mode, use to modify any parameter quickly.

Enumerator
QSPI_MMAPED_IDX_DFS_HARDCCODE_EN | paired value: QSPI_CONCURRENT_XIP_DFS_HARDCODE_ENABLE/QSPI_CONCURRENT_XIP_DFS_HARDCODE_DISABLE
QSPI_MMAPED_IDX_DFS | paired value: data frame size in xip, take effect when enable DFS_HC
QSPI_MMAPED_IDX_INST_EN | paired value: QSPI_CONCURRENT_XIP_INST_ENABLE/QSPI_CONCURRENT_XIP_INST_DISABLE
QSPI_MMAPED_IDX_INST_SIZE | paired value: instruction size for concurrent xip mode
QSPI_MMAPED_IDX_INST_VAL | paired value: instruction data
QSPI_MMAPED_IDX_ADDR_SIZE | paired value: address size for concurrent xip mode
QSPI_MMAPED_IDX_INST_ADDR_XFER_FORMAT | paired value: transfer of inst & address for concurrent xip mode
QSPI_MMAPED_IDX_MODE_BITS_EN | paired value: QSPI_CONCURRENT_XIP_MODE_BITS_ENABLE / QSPI_CONCURRENT_XIP_MODE_BITS_DISABLE
QSPI_MMAPED_IDX_MODE_BITS_SIZE | paired value: mode bits length for xip mode
QSPI_MMAPED_IDX_MODE_BITS_VAL | paired value: mode bits data
QSPI_MMAPED_IDX_WAIT_CYCLES | paired value: wait cycles, 0 ~ 31
QSPI_MMAPED_IDX_DATA_FRF | paired value: frame format for concurrent xip mode
QSPI_MMAPED_IDX_PREFETCH_EN | paired value: QSPI_CONCURRENT_XIP_PREFETCH_ENABLE / QSPI_CONCURRENT_XIP_PREFETCH_DISABLE
QSPI_MMAPED_IDX_CONT_XFER_EN | paired value: QSPI_CONCURRENT_XIP_CONT_XFER_ENABLE / QSPI_CONCURRENT_XIP_CONT_XFER_DISABLE
QSPI_MMAPED_IDX_CONT_XFER_TOC | paired value: timeout count for the continuous transfer, 0 ~ 255
QSPI_MMAPED_IDX_EDIAN_MODE | paired value: endian mode for qspi xip

Definition at line 102 of file gr55xx_hal_qspi.h.

## ◆ hal_memorymapped_status_t

enum hal_memorymapped_status_t

HAL Status structures Of memorymapped definition.

Enumerator
HAL_MMAPPED_STATE_DEACTIVED | Deactived.
HAL_MMAPPED_STATE_ACTIVED | Actived.
HAL_MMAPPED_STATE_ERROR | Actived.

Definition at line 92 of file gr55xx_hal_qspi.h.

## ◆ hal_qspi_state_t

enum hal_qspi_state_t

HAL QSPI State Enumerations definition.

Enumerator
HAL_QSPI_STATE_RESET | Peripheral not initialized
HAL_QSPI_STATE_READY | Peripheral initialized and ready for use
HAL_QSPI_STATE_BUSY | Peripheral in indirect mode and busy
HAL_QSPI_STATE_BUSY_INDIRECT_TX | Peripheral in indirect mode with transmission ongoing
HAL_QSPI_STATE_BUSY_INDIRECT_RX | Peripheral in indirect mode with reception ongoing
HAL_QSPI_STATE_BUSY_MEM_MAPPED | Peripheral in memory mapped mode ongoing
HAL_QSPI_STATE_ABORT | Peripheral with abort request ongoing
HAL_QSPI_STATE_ERROR | Peripheral in error

Definition at line 76 of file gr55xx_hal_qspi.h.