| M480 BSP V3.05.001 The Board Support Package for M480 Series

Data Structures
qspi_reg.h File Reference

QSPI register definition header file. More...

Go to the source code of this file.

## Data Structures
struct | QSPI_T

## Macros
#define | QSPI_CTL_QSPIEN_Pos (0)
#define | QSPI_CTL_QSPIEN_Msk (0x1ul << QSPI_CTL_QSPIEN_Pos)
#define | QSPI_CTL_RXNEG_Pos (1)
#define | QSPI_CTL_RXNEG_Msk (0x1ul << QSPI_CTL_RXNEG_Pos)
#define | QSPI_CTL_TXNEG_Pos (2)
#define | QSPI_CTL_TXNEG_Msk (0x1ul << QSPI_CTL_TXNEG_Pos)
#define | QSPI_CTL_CLKPOL_Pos (3)
#define | QSPI_CTL_CLKPOL_Msk (0x1ul << QSPI_CTL_CLKPOL_Pos)
#define | QSPI_CTL_SUSPITV_Pos (4)
#define | QSPI_CTL_SUSPITV_Msk (0xful << QSPI_CTL_SUSPITV_Pos)
#define | QSPI_CTL_DWIDTH_Pos (8)
#define | QSPI_CTL_DWIDTH_Msk (0x1ful << QSPI_CTL_DWIDTH_Pos)
#define | QSPI_CTL_LSB_Pos (13)
#define | QSPI_CTL_LSB_Msk (0x1ul << QSPI_CTL_LSB_Pos)
#define | QSPI_CTL_HALFDPX_Pos (14)
#define | QSPI_CTL_HALFDPX_Msk (0x1ul << QSPI_CTL_HALFDPX_Pos)
#define | QSPI_CTL_RXONLY_Pos (15)
#define | QSPI_CTL_RXONLY_Msk (0x1ul << QSPI_CTL_RXONLY_Pos)
#define | QSPI_CTL_TWOBIT_Pos (16)
#define | QSPI_CTL_TWOBIT_Msk (0x1ul << QSPI_CTL_TWOBIT_Pos)
#define | QSPI_CTL_UNITIEN_Pos (17)
#define | QSPI_CTL_UNITIEN_Msk (0x1ul << QSPI_CTL_UNITIEN_Pos)
#define | QSPI_CTL_SLAVE_Pos (18)
#define | QSPI_CTL_SLAVE_Msk (0x1ul << QSPI_CTL_SLAVE_Pos)
#define | QSPI_CTL_REORDER_Pos (19)
#define | QSPI_CTL_REORDER_Msk (0x1ul << QSPI_CTL_REORDER_Pos)
#define | QSPI_CTL_DATDIR_Pos (20)
#define | QSPI_CTL_DATDIR_Msk (0x1ul << QSPI_CTL_DATDIR_Pos)
#define | QSPI_CTL_DUALIOEN_Pos (21)
#define | QSPI_CTL_DUALIOEN_Msk (0x1ul << QSPI_CTL_DUALIOEN_Pos)
#define | QSPI_CTL_QUADIOEN_Pos (22)
#define | QSPI_CTL_QUADIOEN_Msk (0x1ul << QSPI_CTL_QUADIOEN_Pos)
#define | QSPI_CLKDIV_DIVIDER_Pos (0)
#define | QSPI_CLKDIV_DIVIDER_Msk (0x1fful << QSPI_CLKDIV_DIVIDER_Pos)
#define | QSPI_SSCTL_SS_Pos (0)
#define | QSPI_SSCTL_SS_Msk (0x1ul << QSPI_SSCTL_SS_Pos)
#define | QSPI_SSCTL_SSACTPOL_Pos (2)
#define | QSPI_SSCTL_SSACTPOL_Msk (0x1ul << QSPI_SSCTL_SSACTPOL_Pos)
#define | QSPI_SSCTL_AUTOSS_Pos (3)
#define | QSPI_SSCTL_AUTOSS_Msk (0x1ul << QSPI_SSCTL_AUTOSS_Pos)
#define | QSPI_SSCTL_SLV3WIRE_Pos (4)
#define | QSPI_SSCTL_SLV3WIRE_Msk (0x1ul << QSPI_SSCTL_SLV3WIRE_Pos)
#define | QSPI_SSCTL_SLVTOIEN_Pos (5)
#define | QSPI_SSCTL_SLVTOIEN_Msk (0x1ul << QSPI_SSCTL_SLVTOIEN_Pos)
#define | QSPI_SSCTL_SLVTORST_Pos (6)
#define | QSPI_SSCTL_SLVTORST_Msk (0x1ul << QSPI_SSCTL_SLVTORST_Pos)
#define | QSPI_SSCTL_SLVBEIEN_Pos (8)
#define | QSPI_SSCTL_SLVBEIEN_Msk (0x1ul << QSPI_SSCTL_SLVBEIEN_Pos)
#define | QSPI_SSCTL_SLVURIEN_Pos (9)
#define | QSPI_SSCTL_SLVURIEN_Msk (0x1ul << QSPI_SSCTL_SLVURIEN_Pos)
#define | QSPI_SSCTL_SSACTIEN_Pos (12)
#define | QSPI_SSCTL_SSACTIEN_Msk (0x1ul << QSPI_SSCTL_SSACTIEN_Pos)
#define | QSPI_SSCTL_SSINAIEN_Pos (13)
#define | QSPI_SSCTL_SSINAIEN_Msk (0x1ul << QSPI_SSCTL_SSINAIEN_Pos)
#define | QSPI_SSCTL_SLVTOCNT_Pos (16)
#define | QSPI_SSCTL_SLVTOCNT_Msk (0xfffful << QSPI_SSCTL_SLVTOCNT_Pos)
#define | QSPI_PDMACTL_TXPDMAEN_Pos (0)
#define | QSPI_PDMACTL_TXPDMAEN_Msk (0x1ul << QSPI_PDMACTL_TXPDMAEN_Pos)
#define | QSPI_PDMACTL_RXPDMAEN_Pos (1)
#define | QSPI_PDMACTL_RXPDMAEN_Msk (0x1ul << QSPI_PDMACTL_RXPDMAEN_Pos)
#define | QSPI_PDMACTL_PDMARST_Pos (2)
#define | QSPI_PDMACTL_PDMARST_Msk (0x1ul << QSPI_PDMACTL_PDMARST_Pos)
#define | QSPI_FIFOCTL_RXRST_Pos (0)
#define | QSPI_FIFOCTL_RXRST_Msk (0x1ul << QSPI_FIFOCTL_RXRST_Pos)
#define | QSPI_FIFOCTL_TXRST_Pos (1)
#define | QSPI_FIFOCTL_TXRST_Msk (0x1ul << QSPI_FIFOCTL_TXRST_Pos)
#define | QSPI_FIFOCTL_RXTHIEN_Pos (2)
#define | QSPI_FIFOCTL_RXTHIEN_Msk (0x1ul << QSPI_FIFOCTL_RXTHIEN_Pos)
#define | QSPI_FIFOCTL_TXTHIEN_Pos (3)
#define | QSPI_FIFOCTL_TXTHIEN_Msk (0x1ul << QSPI_FIFOCTL_TXTHIEN_Pos)
#define | QSPI_FIFOCTL_RXTOIEN_Pos (4)
#define | QSPI_FIFOCTL_RXTOIEN_Msk (0x1ul << QSPI_FIFOCTL_RXTOIEN_Pos)
#define | QSPI_FIFOCTL_RXOVIEN_Pos (5)
#define | QSPI_FIFOCTL_RXOVIEN_Msk (0x1ul << QSPI_FIFOCTL_RXOVIEN_Pos)
#define | QSPI_FIFOCTL_TXUFPOL_Pos (6)
#define | QSPI_FIFOCTL_TXUFPOL_Msk (0x1ul << QSPI_FIFOCTL_TXUFPOL_Pos)
#define | QSPI_FIFOCTL_TXUFIEN_Pos (7)
#define | QSPI_FIFOCTL_TXUFIEN_Msk (0x1ul << QSPI_FIFOCTL_TXUFIEN_Pos)
#define | QSPI_FIFOCTL_RXFBCLR_Pos (8)
#define | QSPI_FIFOCTL_RXFBCLR_Msk (0x1ul << QSPI_FIFOCTL_RXFBCLR_Pos)
#define | QSPI_FIFOCTL_TXFBCLR_Pos (9)
#define | QSPI_FIFOCTL_TXFBCLR_Msk (0x1ul << QSPI_FIFOCTL_TXFBCLR_Pos)
#define | QSPI_FIFOCTL_RXTH_Pos (24)
#define | QSPI_FIFOCTL_RXTH_Msk (0x7ul << QSPI_FIFOCTL_RXTH_Pos)
#define | QSPI_FIFOCTL_TXTH_Pos (28)
#define | QSPI_FIFOCTL_TXTH_Msk (0x7ul << QSPI_FIFOCTL_TXTH_Pos)
#define | QSPI_STATUS_BUSY_Pos (0)
#define | QSPI_STATUS_BUSY_Msk (0x1ul << QSPI_STATUS_BUSY_Pos)
#define | QSPI_STATUS_UNITIF_Pos (1)
#define | QSPI_STATUS_UNITIF_Msk (0x1ul << QSPI_STATUS_UNITIF_Pos)
#define | QSPI_STATUS_SSACTIF_Pos (2)
#define | QSPI_STATUS_SSACTIF_Msk (0x1ul << QSPI_STATUS_SSACTIF_Pos)
#define | QSPI_STATUS_SSINAIF_Pos (3)
#define | QSPI_STATUS_SSINAIF_Msk (0x1ul << QSPI_STATUS_SSINAIF_Pos)
#define | QSPI_STATUS_SSLINE_Pos (4)
#define | QSPI_STATUS_SSLINE_Msk (0x1ul << QSPI_STATUS_SSLINE_Pos)
#define | QSPI_STATUS_SLVTOIF_Pos (5)
#define | QSPI_STATUS_SLVTOIF_Msk (0x1ul << QSPI_STATUS_SLVTOIF_Pos)
#define | QSPI_STATUS_SLVBEIF_Pos (6)
#define | QSPI_STATUS_SLVBEIF_Msk (0x1ul << QSPI_STATUS_SLVBEIF_Pos)
#define | QSPI_STATUS_SLVURIF_Pos (7)
#define | QSPI_STATUS_SLVURIF_Msk (0x1ul << QSPI_STATUS_SLVURIF_Pos)
#define | QSPI_STATUS_RXEMPTY_Pos (8)
#define | QSPI_STATUS_RXEMPTY_Msk (0x1ul << QSPI_STATUS_RXEMPTY_Pos)
#define | QSPI_STATUS_RXFULL_Pos (9)
#define | QSPI_STATUS_RXFULL_Msk (0x1ul << QSPI_STATUS_RXFULL_Pos)
#define | QSPI_STATUS_RXTHIF_Pos (10)
#define | QSPI_STATUS_RXTHIF_Msk (0x1ul << QSPI_STATUS_RXTHIF_Pos)
#define | QSPI_STATUS_RXOVIF_Pos (11)
#define | QSPI_STATUS_RXOVIF_Msk (0x1ul << QSPI_STATUS_RXOVIF_Pos)
#define | QSPI_STATUS_RXTOIF_Pos (12)
#define | QSPI_STATUS_RXTOIF_Msk (0x1ul << QSPI_STATUS_RXTOIF_Pos)
#define | QSPI_STATUS_QSPIENSTS_Pos (15)
#define | QSPI_STATUS_QSPIENSTS_Msk (0x1ul << QSPI_STATUS_QSPIENSTS_Pos)
#define | QSPI_STATUS_TXEMPTY_Pos (16)
#define | QSPI_STATUS_TXEMPTY_Msk (0x1ul << QSPI_STATUS_TXEMPTY_Pos)
#define | QSPI_STATUS_TXFULL_Pos (17)
#define | QSPI_STATUS_TXFULL_Msk (0x1ul << QSPI_STATUS_TXFULL_Pos)
#define | QSPI_STATUS_TXTHIF_Pos (18)
#define | QSPI_STATUS_TXTHIF_Msk (0x1ul << QSPI_STATUS_TXTHIF_Pos)
#define | QSPI_STATUS_TXUFIF_Pos (19)
#define | QSPI_STATUS_TXUFIF_Msk (0x1ul << QSPI_STATUS_TXUFIF_Pos)
#define | QSPI_STATUS_TXRXRST_Pos (23)
#define | QSPI_STATUS_TXRXRST_Msk (0x1ul << QSPI_STATUS_TXRXRST_Pos)
#define | QSPI_STATUS_RXCNT_Pos (24)
#define | QSPI_STATUS_RXCNT_Msk (0xful << QSPI_STATUS_RXCNT_Pos)
#define | QSPI_STATUS_TXCNT_Pos (28)
#define | QSPI_STATUS_TXCNT_Msk (0xful << QSPI_STATUS_TXCNT_Pos)
#define | QSPI_TX_TX_Pos (0)
#define | QSPI_TX_TX_Msk (0xfffffffful << QSPI_TX_TX_Pos)
#define | QSPI_RX_RX_Pos (0)
#define | QSPI_RX_RX_Msk (0xfffffffful << QSPI_RX_RX_Pos)

## Detailed Description

QSPI register definition header file.

Version
  V1.00 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2017-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file qspi_reg.h.