Data Fields
_qspi_handle Struct Reference
Peripheral Driver » HAL Driver » QSPI » Structures » QSPI handle

QSPI handle Structure definition. More...

`#include <gr55xx_hal_qspi.h>`

## Data Fields
ssi_regs_t * | p_instance
qspi_init_t | init
uint8_t * | p_tx_buffer
__IO uint32_t | tx_xfer_size
__IO uint32_t | tx_xfer_count
uint8_t * | p_rx_buffer
__IO uint32_t | rx_xfer_size
__IO uint32_t | rx_xfer_count
void(* | write_fifo )(struct _qspi_handle *p_qspi)
void(* | read_fifo )(struct _qspi_handle *p_qspi)
dma_handle_t * | p_dma
__IO hal_lock_t | lock
__IO hal_qspi_state_t | state
__IO uint32_t | error_code
uint32_t | timeout
uint32_t | retention [9]

## Detailed Description

QSPI handle Structure definition.

## Field Documentation

## ◆ error_code

__IO uint32_t _qspi_handle::error_code

QSPI Error code

## ◆ init

qspi_init_t _qspi_handle::init

QSPI communication parameters

## ◆ lock

__IO hal_lock_t _qspi_handle::lock

Locking object

## ◆ p_dma

dma_handle_t* _qspi_handle::p_dma

QSPI Rx/Tx DMA Handle parameters

## ◆ p_instance

ssi_regs_t* _qspi_handle::p_instance

QSPI registers base address

## ◆ p_rx_buffer

uint8_t* _qspi_handle::p_rx_buffer

Pointer to QSPI Rx transfer Buffer

## ◆ p_tx_buffer

uint8_t* _qspi_handle::p_tx_buffer

Pointer to QSPI Tx transfer Buffer

## ◆ read_fifo

void(* _qspi_handle::read_fifo) (struct _qspi_handle *p_qspi)

Pointer to QSPI Rx transfer FIFO read function

## ◆ retention

uint32_t _qspi_handle::retention[9]

DMA important register information.

## ◆ rx_xfer_count

__IO uint32_t _qspi_handle::rx_xfer_count

QSPI Rx Transfer Counter

## ◆ rx_xfer_size

__IO uint32_t _qspi_handle::rx_xfer_size

QSPI Rx Transfer size

## ◆ state

__IO hal_qspi_state_t _qspi_handle::state

QSPI communication state

## ◆ timeout

uint32_t _qspi_handle::timeout

Timeout for the QSPI memory access

## ◆ tx_xfer_count

__IO uint32_t _qspi_handle::tx_xfer_count

QSPI Tx Transfer Counter

## ◆ tx_xfer_size

__IO uint32_t _qspi_handle::tx_xfer_size

QSPI Tx Transfer size

## ◆ write_fifo

void(* _qspi_handle::write_fifo) (struct _qspi_handle *p_qspi)

Pointer to QSPI Tx transfer FIFO write function

The documentation for this struct was generated from the following file:

- gr55xx_hal_qspi.h