Classes | Macros
Quad Serial Peripheral Interface

Classes

struct  Qspi
 Qspi hardware registers. More...
 

Macros

#define QSPI_CR_LASTXFER   (0x1u << 24)
 (QSPI_CR) Last Transfer More...
 
#define QSPI_CR_QSPIDIS   (0x1u << 1)
 (QSPI_CR) QSPI Disable More...
 
#define QSPI_CR_QSPIEN   (0x1u << 0)
 (QSPI_CR) QSPI Enable More...
 
#define QSPI_CR_SWRST   (0x1u << 7)
 (QSPI_CR) QSPI Software Reset More...
 
#define QSPI_IAR_ADDR(value)   ((QSPI_IAR_ADDR_Msk & ((value) << QSPI_IAR_ADDR_Pos)))
 
#define QSPI_IAR_ADDR_Msk   (0xffffffffu << QSPI_IAR_ADDR_Pos)
 (QSPI_IAR) Address More...
 
#define QSPI_IAR_ADDR_Pos   0
 
#define QSPI_ICR_INST(value)   ((QSPI_ICR_INST_Msk & ((value) << QSPI_ICR_INST_Pos)))
 
#define QSPI_ICR_INST_Msk   (0xffu << QSPI_ICR_INST_Pos)
 (QSPI_ICR) Instruction Code More...
 
#define QSPI_ICR_INST_Pos   0
 
#define QSPI_ICR_OPT(value)   ((QSPI_ICR_OPT_Msk & ((value) << QSPI_ICR_OPT_Pos)))
 
#define QSPI_ICR_OPT_Msk   (0xffu << QSPI_ICR_OPT_Pos)
 (QSPI_ICR) Option Code More...
 
#define QSPI_ICR_OPT_Pos   16
 
#define QSPI_IDR_CSR   (0x1u << 8)
 (QSPI_IDR) Chip Select Rise Interrupt Disable More...
 
#define QSPI_IDR_CSS   (0x1u << 9)
 (QSPI_IDR) Chip Select Status Interrupt Disable More...
 
#define QSPI_IDR_INSTRE   (0x1u << 10)
 (QSPI_IDR) Instruction End Interrupt Disable More...
 
#define QSPI_IDR_OVRES   (0x1u << 3)
 (QSPI_IDR) Overrun Error Interrupt Disable More...
 
#define QSPI_IDR_RDRF   (0x1u << 0)
 (QSPI_IDR) Receive Data Register Full Interrupt Disable More...
 
#define QSPI_IDR_TDRE   (0x1u << 1)
 (QSPI_IDR) Transmit Data Register Empty Interrupt Disable More...
 
#define QSPI_IDR_TXEMPTY   (0x1u << 2)
 (QSPI_IDR) Transmission Registers Empty Disable More...
 
#define QSPI_IER_CSR   (0x1u << 8)
 (QSPI_IER) Chip Select Rise Interrupt Enable More...
 
#define QSPI_IER_CSS   (0x1u << 9)
 (QSPI_IER) Chip Select Status Interrupt Enable More...
 
#define QSPI_IER_INSTRE   (0x1u << 10)
 (QSPI_IER) Instruction End Interrupt Enable More...
 
#define QSPI_IER_OVRES   (0x1u << 3)
 (QSPI_IER) Overrun Error Interrupt Enable More...
 
#define QSPI_IER_RDRF   (0x1u << 0)
 (QSPI_IER) Receive Data Register Full Interrupt Enable More...
 
#define QSPI_IER_TDRE   (0x1u << 1)
 (QSPI_IER) Transmit Data Register Empty Interrupt Enable More...
 
#define QSPI_IER_TXEMPTY   (0x1u << 2)
 (QSPI_IER) Transmission Registers Empty Enable More...
 
#define QSPI_IFR_ADDREN   (0x1u << 5)
 (QSPI_IFR) Address Enable More...
 
#define QSPI_IFR_ADDRL   (0x1u << 10)
 (QSPI_IFR) Address Length More...
 
#define QSPI_IFR_ADDRL_24_BIT   (0x0u << 10)
 (QSPI_IFR) The address is 24 bits long. More...
 
#define QSPI_IFR_ADDRL_32_BIT   (0x1u << 10)
 (QSPI_IFR) The address is 32 bits long. More...
 
#define QSPI_IFR_CRM   (0x1u << 14)
 (QSPI_IFR) Continuous Read Mode More...
 
#define QSPI_IFR_CRM_DISABLED   (0x0u << 14)
 (QSPI_IFR) The Continuous Read mode is disabled. More...
 
#define QSPI_IFR_CRM_ENABLED   (0x1u << 14)
 (QSPI_IFR) The Continuous Read mode is enabled. More...
 
#define QSPI_IFR_DATAEN   (0x1u << 7)
 (QSPI_IFR) Data Enable More...
 
#define QSPI_IFR_INSTEN   (0x1u << 4)
 (QSPI_IFR) Instruction Enable More...
 
#define QSPI_IFR_NBDUM(value)   ((QSPI_IFR_NBDUM_Msk & ((value) << QSPI_IFR_NBDUM_Pos)))
 
#define QSPI_IFR_NBDUM_Msk   (0x1fu << QSPI_IFR_NBDUM_Pos)
 (QSPI_IFR) Number Of Dummy Cycles More...
 
#define QSPI_IFR_NBDUM_Pos   16
 
#define QSPI_IFR_OPTEN   (0x1u << 6)
 (QSPI_IFR) Option Enable More...
 
#define QSPI_IFR_OPTL(value)   ((QSPI_IFR_OPTL_Msk & ((value) << QSPI_IFR_OPTL_Pos)))
 
#define QSPI_IFR_OPTL_Msk   (0x3u << QSPI_IFR_OPTL_Pos)
 (QSPI_IFR) Option Code Length More...
 
#define QSPI_IFR_OPTL_OPTION_1BIT   (0x0u << 8)
 (QSPI_IFR) The option code is 1 bit long. More...
 
#define QSPI_IFR_OPTL_OPTION_2BIT   (0x1u << 8)
 (QSPI_IFR) The option code is 2 bits long. More...
 
#define QSPI_IFR_OPTL_OPTION_4BIT   (0x2u << 8)
 (QSPI_IFR) The option code is 4 bits long. More...
 
#define QSPI_IFR_OPTL_OPTION_8BIT   (0x3u << 8)
 (QSPI_IFR) The option code is 8 bits long. More...
 
#define QSPI_IFR_OPTL_Pos   8
 
#define QSPI_IFR_TFRTYP(value)   ((QSPI_IFR_TFRTYP_Msk & ((value) << QSPI_IFR_TFRTYP_Pos)))
 
#define QSPI_IFR_TFRTYP_Msk   (0x3u << QSPI_IFR_TFRTYP_Pos)
 (QSPI_IFR) Data Transfer Type More...
 
#define QSPI_IFR_TFRTYP_Pos   12
 
#define QSPI_IFR_TFRTYP_TRSFR_READ   (0x0u << 12)
 (QSPI_IFR) Read transfer from the serial memory.Scrambling is not performed.Read at random location (fetch) in the serial Flash memory is not possible. More...
 
#define QSPI_IFR_TFRTYP_TRSFR_READ_MEMORY   (0x1u << 12)
 (QSPI_IFR) Read data transfer from the serial memory.If enabled, scrambling is performed.Read at random location (fetch) in the serial Flash memory is possible. More...
 
#define QSPI_IFR_TFRTYP_TRSFR_WRITE   (0x2u << 12)
 (QSPI_IFR) Write transfer into the serial memory.Scrambling is not performed. More...
 
#define QSPI_IFR_TFRTYP_TRSFR_WRITE_MEMORY   (0x3u << 12)
 (QSPI_IFR) Write data transfer into the serial memory.If enabled, scrambling is performed. More...
 
#define QSPI_IFR_WIDTH(value)   ((QSPI_IFR_WIDTH_Msk & ((value) << QSPI_IFR_WIDTH_Pos)))
 
#define QSPI_IFR_WIDTH_DUAL_CMD   (0x5u << 0)
 (QSPI_IFR) Instruction: Dual SPI / Address-Option: Dual SPI / Data: Dual SPI More...
 
#define QSPI_IFR_WIDTH_DUAL_IO   (0x3u << 0)
 (QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Dual SPI / Data: Dual SPI More...
 
#define QSPI_IFR_WIDTH_DUAL_OUTPUT   (0x1u << 0)
 (QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Dual SPI More...
 
#define QSPI_IFR_WIDTH_Msk   (0x7u << QSPI_IFR_WIDTH_Pos)
 (QSPI_IFR) Width of Instruction Code, Address, Option Code and Data More...
 
#define QSPI_IFR_WIDTH_Pos   0
 
#define QSPI_IFR_WIDTH_QUAD_CMD   (0x6u << 0)
 (QSPI_IFR) Instruction: Quad SPI / Address-Option: Quad SPI / Data: Quad SPI More...
 
#define QSPI_IFR_WIDTH_QUAD_IO   (0x4u << 0)
 (QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Quad SPI / Data: Quad SPI More...
 
#define QSPI_IFR_WIDTH_QUAD_OUTPUT   (0x2u << 0)
 (QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Quad SPI More...
 
#define QSPI_IFR_WIDTH_SINGLE_BIT_SPI   (0x0u << 0)
 (QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Single-bit SPI More...
 
#define QSPI_IMR_CSR   (0x1u << 8)
 (QSPI_IMR) Chip Select Rise Interrupt Mask More...
 
#define QSPI_IMR_CSS   (0x1u << 9)
 (QSPI_IMR) Chip Select Status Interrupt Mask More...
 
#define QSPI_IMR_INSTRE   (0x1u << 10)
 (QSPI_IMR) Instruction End Interrupt Mask More...
 
#define QSPI_IMR_OVRES   (0x1u << 3)
 (QSPI_IMR) Overrun Error Interrupt Mask More...
 
#define QSPI_IMR_RDRF   (0x1u << 0)
 (QSPI_IMR) Receive Data Register Full Interrupt Mask More...
 
#define QSPI_IMR_TDRE   (0x1u << 1)
 (QSPI_IMR) Transmit Data Register Empty Interrupt Mask More...
 
#define QSPI_IMR_TXEMPTY   (0x1u << 2)
 (QSPI_IMR) Transmission Registers Empty Mask More...
 
#define QSPI_MR_CSMODE(value)   ((QSPI_MR_CSMODE_Msk & ((value) << QSPI_MR_CSMODE_Pos)))
 
#define QSPI_MR_CSMODE_LASTXFER   (0x1u << 4)
 (QSPI_MR) The chip select is deasserted when the bit LASTXFER is written at 1 and the character written in TD has been transferred. More...
 
#define QSPI_MR_CSMODE_Msk   (0x3u << QSPI_MR_CSMODE_Pos)
 (QSPI_MR) Chip Select Mode More...
 
#define QSPI_MR_CSMODE_NOT_RELOADED   (0x0u << 4)
 (QSPI_MR) The chip select is deasserted if TD has not been reloaded before the end of the current transfer. More...
 
#define QSPI_MR_CSMODE_Pos   4
 
#define QSPI_MR_CSMODE_SYSTEMATICALLY   (0x2u << 4)
 (QSPI_MR) The chip select is deasserted systematically after each transfer. More...
 
#define QSPI_MR_DLYBCT(value)   ((QSPI_MR_DLYBCT_Msk & ((value) << QSPI_MR_DLYBCT_Pos)))
 
#define QSPI_MR_DLYBCT_Msk   (0xffu << QSPI_MR_DLYBCT_Pos)
 (QSPI_MR) Delay Between Consecutive Transfers More...
 
#define QSPI_MR_DLYBCT_Pos   16
 
#define QSPI_MR_DLYCS(value)   ((QSPI_MR_DLYCS_Msk & ((value) << QSPI_MR_DLYCS_Pos)))
 
#define QSPI_MR_DLYCS_Msk   (0xffu << QSPI_MR_DLYCS_Pos)
 (QSPI_MR) Minimum Inactive QCS Delay More...
 
#define QSPI_MR_DLYCS_Pos   24
 
#define QSPI_MR_LLB   (0x1u << 1)
 (QSPI_MR) Local Loopback Enable More...
 
#define QSPI_MR_LLB_DISABLED   (0x0u << 1)
 (QSPI_MR) Local loopback path disabled. More...
 
#define QSPI_MR_LLB_ENABLED   (0x1u << 1)
 (QSPI_MR) Local loopback path enabled. More...
 
#define QSPI_MR_NBBITS(value)   ((QSPI_MR_NBBITS_Msk & ((value) << QSPI_MR_NBBITS_Pos)))
 
#define QSPI_MR_NBBITS_10_BIT   (0x2u << 8)
 (QSPI_MR) 10 bits for transfer More...
 
#define QSPI_MR_NBBITS_11_BIT   (0x3u << 8)
 (QSPI_MR) 11 bits for transfer More...
 
#define QSPI_MR_NBBITS_12_BIT   (0x4u << 8)
 (QSPI_MR) 12 bits for transfer More...
 
#define QSPI_MR_NBBITS_13_BIT   (0x5u << 8)
 (QSPI_MR) 13 bits for transfer More...
 
#define QSPI_MR_NBBITS_14_BIT   (0x6u << 8)
 (QSPI_MR) 14 bits for transfer More...
 
#define QSPI_MR_NBBITS_15_BIT   (0x7u << 8)
 (QSPI_MR) 15 bits for transfer More...
 
#define QSPI_MR_NBBITS_16_BIT   (0x8u << 8)
 (QSPI_MR) 16 bits for transfer More...
 
#define QSPI_MR_NBBITS_8_BIT   (0x0u << 8)
 (QSPI_MR) 8 bits for transfer More...
 
#define QSPI_MR_NBBITS_9_BIT   (0x1u << 8)
 (QSPI_MR) 9 bits for transfer More...
 
#define QSPI_MR_NBBITS_Msk   (0xfu << QSPI_MR_NBBITS_Pos)
 (QSPI_MR) Number Of Bits Per Transfer More...
 
#define QSPI_MR_NBBITS_Pos   8
 
#define QSPI_MR_SMM   (0x1u << 0)
 (QSPI_MR) Serial Memory Mode More...
 
#define QSPI_MR_SMM_MEMORY   (0x1u << 0)
 (QSPI_MR) The QSPI is in Serial Memory mode. More...
 
#define QSPI_MR_SMM_SPI   (0x0u << 0)
 (QSPI_MR) The QSPI is in SPI mode. More...
 
#define QSPI_MR_WDRBT   (0x1u << 2)
 (QSPI_MR) Wait Data Read Before Transfer More...
 
#define QSPI_MR_WDRBT_DISABLED   (0x0u << 2)
 (QSPI_MR) No effect. In SPI mode, a transfer can be initiated whatever the state of the QSPI_RDR is. More...
 
#define QSPI_MR_WDRBT_ENABLED   (0x1u << 2)
 (QSPI_MR) In SPI mode, a transfer can start only if the QSPI_RDR is empty, i.e., does not contain any unread data. This mode prevents overrun error in reception. More...
 
#define QSPI_RDR_RD_Msk   (0xffffu << QSPI_RDR_RD_Pos)
 (QSPI_RDR) Receive Data More...
 
#define QSPI_RDR_RD_Pos   0
 
#define QSPI_SCR_CPHA   (0x1u << 1)
 (QSPI_SCR) Clock Phase More...
 
#define QSPI_SCR_CPOL   (0x1u << 0)
 (QSPI_SCR) Clock Polarity More...
 
#define QSPI_SCR_DLYBS(value)   ((QSPI_SCR_DLYBS_Msk & ((value) << QSPI_SCR_DLYBS_Pos)))
 
#define QSPI_SCR_DLYBS_Msk   (0xffu << QSPI_SCR_DLYBS_Pos)
 (QSPI_SCR) Delay Before QSCK More...
 
#define QSPI_SCR_DLYBS_Pos   16
 
#define QSPI_SCR_SCBR(value)   ((QSPI_SCR_SCBR_Msk & ((value) << QSPI_SCR_SCBR_Pos)))
 
#define QSPI_SCR_SCBR_Msk   (0xffu << QSPI_SCR_SCBR_Pos)
 (QSPI_SCR) Serial Clock Baud Rate More...
 
#define QSPI_SCR_SCBR_Pos   8
 
#define QSPI_SKR_USRK(value)   ((QSPI_SKR_USRK_Msk & ((value) << QSPI_SKR_USRK_Pos)))
 
#define QSPI_SKR_USRK_Msk   (0xffffffffu << QSPI_SKR_USRK_Pos)
 (QSPI_SKR) Scrambling User Key More...
 
#define QSPI_SKR_USRK_Pos   0
 
#define QSPI_SMR_RVDIS   (0x1u << 1)
 (QSPI_SMR) Scrambling/Unscrambling Random Value Disable More...
 
#define QSPI_SMR_SCREN   (0x1u << 0)
 (QSPI_SMR) Scrambling/Unscrambling Enable More...
 
#define QSPI_SMR_SCREN_DISABLED   (0x0u << 0)
 (QSPI_SMR) The scrambling/unscrambling is disabled. More...
 
#define QSPI_SMR_SCREN_ENABLED   (0x1u << 0)
 (QSPI_SMR) The scrambling/unscrambling is enabled. More...
 
#define QSPI_SR_CSR   (0x1u << 8)
 (QSPI_SR) Chip Select Rise More...
 
#define QSPI_SR_CSS   (0x1u << 9)
 (QSPI_SR) Chip Select Status More...
 
#define QSPI_SR_INSTRE   (0x1u << 10)
 (QSPI_SR) Instruction End Status More...
 
#define QSPI_SR_OVRES   (0x1u << 3)
 (QSPI_SR) Overrun Error Status (cleared on read) More...
 
#define QSPI_SR_QSPIENS   (0x1u << 24)
 (QSPI_SR) QSPI Enable Status More...
 
#define QSPI_SR_RDRF   (0x1u << 0)
 (QSPI_SR) Receive Data Register Full (cleared by reading SPI_RDR) More...
 
#define QSPI_SR_TDRE   (0x1u << 1)
 (QSPI_SR) Transmit Data Register Empty (cleared by writing SPI_TDR) More...
 
#define QSPI_SR_TXEMPTY   (0x1u << 2)
 (QSPI_SR) Transmission Registers Empty (cleared by writing SPI_TDR) More...
 
#define QSPI_TDR_TD(value)   ((QSPI_TDR_TD_Msk & ((value) << QSPI_TDR_TD_Pos)))
 
#define QSPI_TDR_TD_Msk   (0xffffu << QSPI_TDR_TD_Pos)
 (QSPI_TDR) Transmit Data More...
 
#define QSPI_TDR_TD_Pos   0
 
#define QSPI_VERSION_MFN_Msk   (0x7u << QSPI_VERSION_MFN_Pos)
 (QSPI_VERSION) Metal Fix Number More...
 
#define QSPI_VERSION_MFN_Pos   16
 
#define QSPI_VERSION_VERSION_Msk   (0xfffu << QSPI_VERSION_VERSION_Pos)
 (QSPI_VERSION) Hardware Module Version More...
 
#define QSPI_VERSION_VERSION_Pos   0
 
#define QSPI_WPMR_WPEN   (0x1u << 0)
 (QSPI_WPMR) Write Protection Enable More...
 
#define QSPI_WPMR_WPKEY(value)   ((QSPI_WPMR_WPKEY_Msk & ((value) << QSPI_WPMR_WPKEY_Pos)))
 
#define QSPI_WPMR_WPKEY_Msk   (0xffffffu << QSPI_WPMR_WPKEY_Pos)
 (QSPI_WPMR) Write Protection Key More...
 
#define QSPI_WPMR_WPKEY_PASSWD   (0x515350u << 8)
 (QSPI_WPMR) Writing any other value in this field aborts the write operation of the WPEN bit. Always reads as 0. More...
 
#define QSPI_WPMR_WPKEY_Pos   8
 
#define QSPI_WPSR_WPVS   (0x1u << 0)
 (QSPI_WPSR) Write Protection Violation Status More...
 
#define QSPI_WPSR_WPVSRC_Msk   (0xffu << QSPI_WPSR_WPVSRC_Pos)
 (QSPI_WPSR) Write Protection Violation Source More...
 
#define QSPI_WPSR_WPVSRC_Pos   8
 

Detailed Description

SOFTWARE API DEFINITION FOR Quad Serial Peripheral Interface

Macro Definition Documentation

◆ QSPI_CR_LASTXFER

#define QSPI_CR_LASTXFER   (0x1u << 24)

(QSPI_CR) Last Transfer

Definition at line 74 of file component/qspi.h.

◆ QSPI_CR_QSPIDIS

#define QSPI_CR_QSPIDIS   (0x1u << 1)

(QSPI_CR) QSPI Disable

Definition at line 72 of file component/qspi.h.

◆ QSPI_CR_QSPIEN

#define QSPI_CR_QSPIEN   (0x1u << 0)

(QSPI_CR) QSPI Enable

Definition at line 71 of file component/qspi.h.

◆ QSPI_CR_SWRST

#define QSPI_CR_SWRST   (0x1u << 7)

(QSPI_CR) QSPI Software Reset

Definition at line 73 of file component/qspi.h.

◆ QSPI_IAR_ADDR

#define QSPI_IAR_ADDR (   value)    ((QSPI_IAR_ADDR_Msk & ((value) << QSPI_IAR_ADDR_Pos)))

Definition at line 161 of file component/qspi.h.

◆ QSPI_IAR_ADDR_Msk

#define QSPI_IAR_ADDR_Msk   (0xffffffffu << QSPI_IAR_ADDR_Pos)

(QSPI_IAR) Address

Definition at line 160 of file component/qspi.h.

◆ QSPI_IAR_ADDR_Pos

#define QSPI_IAR_ADDR_Pos   0

Definition at line 159 of file component/qspi.h.

◆ QSPI_ICR_INST

#define QSPI_ICR_INST (   value)    ((QSPI_ICR_INST_Msk & ((value) << QSPI_ICR_INST_Pos)))

Definition at line 165 of file component/qspi.h.

◆ QSPI_ICR_INST_Msk

#define QSPI_ICR_INST_Msk   (0xffu << QSPI_ICR_INST_Pos)

(QSPI_ICR) Instruction Code

Definition at line 164 of file component/qspi.h.

◆ QSPI_ICR_INST_Pos

#define QSPI_ICR_INST_Pos   0

Definition at line 163 of file component/qspi.h.

◆ QSPI_ICR_OPT

#define QSPI_ICR_OPT (   value)    ((QSPI_ICR_OPT_Msk & ((value) << QSPI_ICR_OPT_Pos)))

Definition at line 168 of file component/qspi.h.

◆ QSPI_ICR_OPT_Msk

#define QSPI_ICR_OPT_Msk   (0xffu << QSPI_ICR_OPT_Pos)

(QSPI_ICR) Option Code

Definition at line 167 of file component/qspi.h.

◆ QSPI_ICR_OPT_Pos

#define QSPI_ICR_OPT_Pos   16

Definition at line 166 of file component/qspi.h.

◆ QSPI_IDR_CSR

#define QSPI_IDR_CSR   (0x1u << 8)

(QSPI_IDR) Chip Select Rise Interrupt Disable

Definition at line 138 of file component/qspi.h.

◆ QSPI_IDR_CSS

#define QSPI_IDR_CSS   (0x1u << 9)

(QSPI_IDR) Chip Select Status Interrupt Disable

Definition at line 139 of file component/qspi.h.

◆ QSPI_IDR_INSTRE

#define QSPI_IDR_INSTRE   (0x1u << 10)

(QSPI_IDR) Instruction End Interrupt Disable

Definition at line 140 of file component/qspi.h.

◆ QSPI_IDR_OVRES

#define QSPI_IDR_OVRES   (0x1u << 3)

(QSPI_IDR) Overrun Error Interrupt Disable

Definition at line 137 of file component/qspi.h.

◆ QSPI_IDR_RDRF

#define QSPI_IDR_RDRF   (0x1u << 0)

(QSPI_IDR) Receive Data Register Full Interrupt Disable

Definition at line 134 of file component/qspi.h.

◆ QSPI_IDR_TDRE

#define QSPI_IDR_TDRE   (0x1u << 1)

(QSPI_IDR) Transmit Data Register Empty Interrupt Disable

Definition at line 135 of file component/qspi.h.

◆ QSPI_IDR_TXEMPTY

#define QSPI_IDR_TXEMPTY   (0x1u << 2)

(QSPI_IDR) Transmission Registers Empty Disable

Definition at line 136 of file component/qspi.h.

◆ QSPI_IER_CSR

#define QSPI_IER_CSR   (0x1u << 8)

(QSPI_IER) Chip Select Rise Interrupt Enable

Definition at line 130 of file component/qspi.h.

◆ QSPI_IER_CSS

#define QSPI_IER_CSS   (0x1u << 9)

(QSPI_IER) Chip Select Status Interrupt Enable

Definition at line 131 of file component/qspi.h.

◆ QSPI_IER_INSTRE

#define QSPI_IER_INSTRE   (0x1u << 10)

(QSPI_IER) Instruction End Interrupt Enable

Definition at line 132 of file component/qspi.h.

◆ QSPI_IER_OVRES

#define QSPI_IER_OVRES   (0x1u << 3)

(QSPI_IER) Overrun Error Interrupt Enable

Definition at line 129 of file component/qspi.h.

◆ QSPI_IER_RDRF

#define QSPI_IER_RDRF   (0x1u << 0)

(QSPI_IER) Receive Data Register Full Interrupt Enable

Definition at line 126 of file component/qspi.h.

◆ QSPI_IER_TDRE

#define QSPI_IER_TDRE   (0x1u << 1)

(QSPI_IER) Transmit Data Register Empty Interrupt Enable

Definition at line 127 of file component/qspi.h.

◆ QSPI_IER_TXEMPTY

#define QSPI_IER_TXEMPTY   (0x1u << 2)

(QSPI_IER) Transmission Registers Empty Enable

Definition at line 128 of file component/qspi.h.

◆ QSPI_IFR_ADDREN

#define QSPI_IFR_ADDREN   (0x1u << 5)

(QSPI_IFR) Address Enable

Definition at line 181 of file component/qspi.h.

◆ QSPI_IFR_ADDRL

#define QSPI_IFR_ADDRL   (0x1u << 10)

(QSPI_IFR) Address Length

Definition at line 191 of file component/qspi.h.

◆ QSPI_IFR_ADDRL_24_BIT

#define QSPI_IFR_ADDRL_24_BIT   (0x0u << 10)

(QSPI_IFR) The address is 24 bits long.

Definition at line 192 of file component/qspi.h.

◆ QSPI_IFR_ADDRL_32_BIT

#define QSPI_IFR_ADDRL_32_BIT   (0x1u << 10)

(QSPI_IFR) The address is 32 bits long.

Definition at line 193 of file component/qspi.h.

◆ QSPI_IFR_CRM

#define QSPI_IFR_CRM   (0x1u << 14)

(QSPI_IFR) Continuous Read Mode

Definition at line 201 of file component/qspi.h.

◆ QSPI_IFR_CRM_DISABLED

#define QSPI_IFR_CRM_DISABLED   (0x0u << 14)

(QSPI_IFR) The Continuous Read mode is disabled.

Definition at line 202 of file component/qspi.h.

◆ QSPI_IFR_CRM_ENABLED

#define QSPI_IFR_CRM_ENABLED   (0x1u << 14)

(QSPI_IFR) The Continuous Read mode is enabled.

Definition at line 203 of file component/qspi.h.

◆ QSPI_IFR_DATAEN

#define QSPI_IFR_DATAEN   (0x1u << 7)

(QSPI_IFR) Data Enable

Definition at line 183 of file component/qspi.h.

◆ QSPI_IFR_INSTEN

#define QSPI_IFR_INSTEN   (0x1u << 4)

(QSPI_IFR) Instruction Enable

Definition at line 180 of file component/qspi.h.

◆ QSPI_IFR_NBDUM

#define QSPI_IFR_NBDUM (   value)    ((QSPI_IFR_NBDUM_Msk & ((value) << QSPI_IFR_NBDUM_Pos)))

Definition at line 206 of file component/qspi.h.

◆ QSPI_IFR_NBDUM_Msk

#define QSPI_IFR_NBDUM_Msk   (0x1fu << QSPI_IFR_NBDUM_Pos)

(QSPI_IFR) Number Of Dummy Cycles

Definition at line 205 of file component/qspi.h.

◆ QSPI_IFR_NBDUM_Pos

#define QSPI_IFR_NBDUM_Pos   16

Definition at line 204 of file component/qspi.h.

◆ QSPI_IFR_OPTEN

#define QSPI_IFR_OPTEN   (0x1u << 6)

(QSPI_IFR) Option Enable

Definition at line 182 of file component/qspi.h.

◆ QSPI_IFR_OPTL

#define QSPI_IFR_OPTL (   value)    ((QSPI_IFR_OPTL_Msk & ((value) << QSPI_IFR_OPTL_Pos)))

Definition at line 186 of file component/qspi.h.

◆ QSPI_IFR_OPTL_Msk

#define QSPI_IFR_OPTL_Msk   (0x3u << QSPI_IFR_OPTL_Pos)

(QSPI_IFR) Option Code Length

Definition at line 185 of file component/qspi.h.

◆ QSPI_IFR_OPTL_OPTION_1BIT

#define QSPI_IFR_OPTL_OPTION_1BIT   (0x0u << 8)

(QSPI_IFR) The option code is 1 bit long.

Definition at line 187 of file component/qspi.h.

◆ QSPI_IFR_OPTL_OPTION_2BIT

#define QSPI_IFR_OPTL_OPTION_2BIT   (0x1u << 8)

(QSPI_IFR) The option code is 2 bits long.

Definition at line 188 of file component/qspi.h.

◆ QSPI_IFR_OPTL_OPTION_4BIT

#define QSPI_IFR_OPTL_OPTION_4BIT   (0x2u << 8)

(QSPI_IFR) The option code is 4 bits long.

Definition at line 189 of file component/qspi.h.

◆ QSPI_IFR_OPTL_OPTION_8BIT

#define QSPI_IFR_OPTL_OPTION_8BIT   (0x3u << 8)

(QSPI_IFR) The option code is 8 bits long.

Definition at line 190 of file component/qspi.h.

◆ QSPI_IFR_OPTL_Pos

#define QSPI_IFR_OPTL_Pos   8

Definition at line 184 of file component/qspi.h.

◆ QSPI_IFR_TFRTYP

#define QSPI_IFR_TFRTYP (   value)    ((QSPI_IFR_TFRTYP_Msk & ((value) << QSPI_IFR_TFRTYP_Pos)))

Definition at line 196 of file component/qspi.h.

◆ QSPI_IFR_TFRTYP_Msk

#define QSPI_IFR_TFRTYP_Msk   (0x3u << QSPI_IFR_TFRTYP_Pos)

(QSPI_IFR) Data Transfer Type

Definition at line 195 of file component/qspi.h.

◆ QSPI_IFR_TFRTYP_Pos

#define QSPI_IFR_TFRTYP_Pos   12

Definition at line 194 of file component/qspi.h.

◆ QSPI_IFR_TFRTYP_TRSFR_READ

#define QSPI_IFR_TFRTYP_TRSFR_READ   (0x0u << 12)

(QSPI_IFR) Read transfer from the serial memory.Scrambling is not performed.Read at random location (fetch) in the serial Flash memory is not possible.

Definition at line 197 of file component/qspi.h.

◆ QSPI_IFR_TFRTYP_TRSFR_READ_MEMORY

#define QSPI_IFR_TFRTYP_TRSFR_READ_MEMORY   (0x1u << 12)

(QSPI_IFR) Read data transfer from the serial memory.If enabled, scrambling is performed.Read at random location (fetch) in the serial Flash memory is possible.

Definition at line 198 of file component/qspi.h.

◆ QSPI_IFR_TFRTYP_TRSFR_WRITE

#define QSPI_IFR_TFRTYP_TRSFR_WRITE   (0x2u << 12)

(QSPI_IFR) Write transfer into the serial memory.Scrambling is not performed.

Definition at line 199 of file component/qspi.h.

◆ QSPI_IFR_TFRTYP_TRSFR_WRITE_MEMORY

#define QSPI_IFR_TFRTYP_TRSFR_WRITE_MEMORY   (0x3u << 12)

(QSPI_IFR) Write data transfer into the serial memory.If enabled, scrambling is performed.

Definition at line 200 of file component/qspi.h.

◆ QSPI_IFR_WIDTH

#define QSPI_IFR_WIDTH (   value)    ((QSPI_IFR_WIDTH_Msk & ((value) << QSPI_IFR_WIDTH_Pos)))

Definition at line 172 of file component/qspi.h.

◆ QSPI_IFR_WIDTH_DUAL_CMD

#define QSPI_IFR_WIDTH_DUAL_CMD   (0x5u << 0)

(QSPI_IFR) Instruction: Dual SPI / Address-Option: Dual SPI / Data: Dual SPI

Definition at line 178 of file component/qspi.h.

◆ QSPI_IFR_WIDTH_DUAL_IO

#define QSPI_IFR_WIDTH_DUAL_IO   (0x3u << 0)

(QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Dual SPI / Data: Dual SPI

Definition at line 176 of file component/qspi.h.

◆ QSPI_IFR_WIDTH_DUAL_OUTPUT

#define QSPI_IFR_WIDTH_DUAL_OUTPUT   (0x1u << 0)

(QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Dual SPI

Definition at line 174 of file component/qspi.h.

◆ QSPI_IFR_WIDTH_Msk

#define QSPI_IFR_WIDTH_Msk   (0x7u << QSPI_IFR_WIDTH_Pos)

(QSPI_IFR) Width of Instruction Code, Address, Option Code and Data

Definition at line 171 of file component/qspi.h.

◆ QSPI_IFR_WIDTH_Pos

#define QSPI_IFR_WIDTH_Pos   0

Definition at line 170 of file component/qspi.h.

◆ QSPI_IFR_WIDTH_QUAD_CMD

#define QSPI_IFR_WIDTH_QUAD_CMD   (0x6u << 0)

(QSPI_IFR) Instruction: Quad SPI / Address-Option: Quad SPI / Data: Quad SPI

Definition at line 179 of file component/qspi.h.

◆ QSPI_IFR_WIDTH_QUAD_IO

#define QSPI_IFR_WIDTH_QUAD_IO   (0x4u << 0)

(QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Quad SPI / Data: Quad SPI

Definition at line 177 of file component/qspi.h.

◆ QSPI_IFR_WIDTH_QUAD_OUTPUT

#define QSPI_IFR_WIDTH_QUAD_OUTPUT   (0x2u << 0)

(QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Quad SPI

Definition at line 175 of file component/qspi.h.

◆ QSPI_IFR_WIDTH_SINGLE_BIT_SPI

#define QSPI_IFR_WIDTH_SINGLE_BIT_SPI   (0x0u << 0)

(QSPI_IFR) Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Single-bit SPI

Definition at line 173 of file component/qspi.h.

◆ QSPI_IMR_CSR

#define QSPI_IMR_CSR   (0x1u << 8)

(QSPI_IMR) Chip Select Rise Interrupt Mask

Definition at line 146 of file component/qspi.h.

◆ QSPI_IMR_CSS

#define QSPI_IMR_CSS   (0x1u << 9)

(QSPI_IMR) Chip Select Status Interrupt Mask

Definition at line 147 of file component/qspi.h.

◆ QSPI_IMR_INSTRE

#define QSPI_IMR_INSTRE   (0x1u << 10)

(QSPI_IMR) Instruction End Interrupt Mask

Definition at line 148 of file component/qspi.h.

◆ QSPI_IMR_OVRES

#define QSPI_IMR_OVRES   (0x1u << 3)

(QSPI_IMR) Overrun Error Interrupt Mask

Definition at line 145 of file component/qspi.h.

◆ QSPI_IMR_RDRF

#define QSPI_IMR_RDRF   (0x1u << 0)

(QSPI_IMR) Receive Data Register Full Interrupt Mask

Definition at line 142 of file component/qspi.h.

◆ QSPI_IMR_TDRE

#define QSPI_IMR_TDRE   (0x1u << 1)

(QSPI_IMR) Transmit Data Register Empty Interrupt Mask

Definition at line 143 of file component/qspi.h.

◆ QSPI_IMR_TXEMPTY

#define QSPI_IMR_TXEMPTY   (0x1u << 2)

(QSPI_IMR) Transmission Registers Empty Mask

Definition at line 144 of file component/qspi.h.

◆ QSPI_MR_CSMODE

#define QSPI_MR_CSMODE (   value)    ((QSPI_MR_CSMODE_Msk & ((value) << QSPI_MR_CSMODE_Pos)))

Definition at line 87 of file component/qspi.h.

◆ QSPI_MR_CSMODE_LASTXFER

#define QSPI_MR_CSMODE_LASTXFER   (0x1u << 4)

(QSPI_MR) The chip select is deasserted when the bit LASTXFER is written at 1 and the character written in TD has been transferred.

Definition at line 89 of file component/qspi.h.

◆ QSPI_MR_CSMODE_Msk

#define QSPI_MR_CSMODE_Msk   (0x3u << QSPI_MR_CSMODE_Pos)

(QSPI_MR) Chip Select Mode

Definition at line 86 of file component/qspi.h.

◆ QSPI_MR_CSMODE_NOT_RELOADED

#define QSPI_MR_CSMODE_NOT_RELOADED   (0x0u << 4)

(QSPI_MR) The chip select is deasserted if TD has not been reloaded before the end of the current transfer.

Definition at line 88 of file component/qspi.h.

◆ QSPI_MR_CSMODE_Pos

#define QSPI_MR_CSMODE_Pos   4

Definition at line 85 of file component/qspi.h.

◆ QSPI_MR_CSMODE_SYSTEMATICALLY

#define QSPI_MR_CSMODE_SYSTEMATICALLY   (0x2u << 4)

(QSPI_MR) The chip select is deasserted systematically after each transfer.

Definition at line 90 of file component/qspi.h.

◆ QSPI_MR_DLYBCT

#define QSPI_MR_DLYBCT (   value)    ((QSPI_MR_DLYBCT_Msk & ((value) << QSPI_MR_DLYBCT_Pos)))

Definition at line 105 of file component/qspi.h.

◆ QSPI_MR_DLYBCT_Msk

#define QSPI_MR_DLYBCT_Msk   (0xffu << QSPI_MR_DLYBCT_Pos)

(QSPI_MR) Delay Between Consecutive Transfers

Definition at line 104 of file component/qspi.h.

◆ QSPI_MR_DLYBCT_Pos

#define QSPI_MR_DLYBCT_Pos   16

Definition at line 103 of file component/qspi.h.

◆ QSPI_MR_DLYCS

#define QSPI_MR_DLYCS (   value)    ((QSPI_MR_DLYCS_Msk & ((value) << QSPI_MR_DLYCS_Pos)))

Definition at line 108 of file component/qspi.h.

◆ QSPI_MR_DLYCS_Msk

#define QSPI_MR_DLYCS_Msk   (0xffu << QSPI_MR_DLYCS_Pos)

(QSPI_MR) Minimum Inactive QCS Delay

Definition at line 107 of file component/qspi.h.

◆ QSPI_MR_DLYCS_Pos

#define QSPI_MR_DLYCS_Pos   24

Definition at line 106 of file component/qspi.h.

◆ QSPI_MR_LLB

#define QSPI_MR_LLB   (0x1u << 1)

(QSPI_MR) Local Loopback Enable

Definition at line 79 of file component/qspi.h.

◆ QSPI_MR_LLB_DISABLED

#define QSPI_MR_LLB_DISABLED   (0x0u << 1)

(QSPI_MR) Local loopback path disabled.

Definition at line 80 of file component/qspi.h.

◆ QSPI_MR_LLB_ENABLED

#define QSPI_MR_LLB_ENABLED   (0x1u << 1)

(QSPI_MR) Local loopback path enabled.

Definition at line 81 of file component/qspi.h.

◆ QSPI_MR_NBBITS

#define QSPI_MR_NBBITS (   value)    ((QSPI_MR_NBBITS_Msk & ((value) << QSPI_MR_NBBITS_Pos)))

Definition at line 93 of file component/qspi.h.

◆ QSPI_MR_NBBITS_10_BIT

#define QSPI_MR_NBBITS_10_BIT   (0x2u << 8)

(QSPI_MR) 10 bits for transfer

Definition at line 96 of file component/qspi.h.

◆ QSPI_MR_NBBITS_11_BIT

#define QSPI_MR_NBBITS_11_BIT   (0x3u << 8)

(QSPI_MR) 11 bits for transfer

Definition at line 97 of file component/qspi.h.

◆ QSPI_MR_NBBITS_12_BIT

#define QSPI_MR_NBBITS_12_BIT   (0x4u << 8)

(QSPI_MR) 12 bits for transfer

Definition at line 98 of file component/qspi.h.

◆ QSPI_MR_NBBITS_13_BIT

#define QSPI_MR_NBBITS_13_BIT   (0x5u << 8)

(QSPI_MR) 13 bits for transfer

Definition at line 99 of file component/qspi.h.

◆ QSPI_MR_NBBITS_14_BIT

#define QSPI_MR_NBBITS_14_BIT   (0x6u << 8)

(QSPI_MR) 14 bits for transfer

Definition at line 100 of file component/qspi.h.

◆ QSPI_MR_NBBITS_15_BIT

#define QSPI_MR_NBBITS_15_BIT   (0x7u << 8)

(QSPI_MR) 15 bits for transfer

Definition at line 101 of file component/qspi.h.

◆ QSPI_MR_NBBITS_16_BIT

#define QSPI_MR_NBBITS_16_BIT   (0x8u << 8)

(QSPI_MR) 16 bits for transfer

Definition at line 102 of file component/qspi.h.

◆ QSPI_MR_NBBITS_8_BIT

#define QSPI_MR_NBBITS_8_BIT   (0x0u << 8)

(QSPI_MR) 8 bits for transfer

Definition at line 94 of file component/qspi.h.

◆ QSPI_MR_NBBITS_9_BIT

#define QSPI_MR_NBBITS_9_BIT   (0x1u << 8)

(QSPI_MR) 9 bits for transfer

Definition at line 95 of file component/qspi.h.

◆ QSPI_MR_NBBITS_Msk

#define QSPI_MR_NBBITS_Msk   (0xfu << QSPI_MR_NBBITS_Pos)

(QSPI_MR) Number Of Bits Per Transfer

Definition at line 92 of file component/qspi.h.

◆ QSPI_MR_NBBITS_Pos

#define QSPI_MR_NBBITS_Pos   8

Definition at line 91 of file component/qspi.h.

◆ QSPI_MR_SMM

#define QSPI_MR_SMM   (0x1u << 0)

(QSPI_MR) Serial Memory Mode

Definition at line 76 of file component/qspi.h.

◆ QSPI_MR_SMM_MEMORY

#define QSPI_MR_SMM_MEMORY   (0x1u << 0)

(QSPI_MR) The QSPI is in Serial Memory mode.

Definition at line 78 of file component/qspi.h.

◆ QSPI_MR_SMM_SPI

#define QSPI_MR_SMM_SPI   (0x0u << 0)

(QSPI_MR) The QSPI is in SPI mode.

Definition at line 77 of file component/qspi.h.

◆ QSPI_MR_WDRBT

#define QSPI_MR_WDRBT   (0x1u << 2)

(QSPI_MR) Wait Data Read Before Transfer

Definition at line 82 of file component/qspi.h.

◆ QSPI_MR_WDRBT_DISABLED

#define QSPI_MR_WDRBT_DISABLED   (0x0u << 2)

(QSPI_MR) No effect. In SPI mode, a transfer can be initiated whatever the state of the QSPI_RDR is.

Definition at line 83 of file component/qspi.h.

◆ QSPI_MR_WDRBT_ENABLED

#define QSPI_MR_WDRBT_ENABLED   (0x1u << 2)

(QSPI_MR) In SPI mode, a transfer can start only if the QSPI_RDR is empty, i.e., does not contain any unread data. This mode prevents overrun error in reception.

Definition at line 84 of file component/qspi.h.

◆ QSPI_RDR_RD_Msk

#define QSPI_RDR_RD_Msk   (0xffffu << QSPI_RDR_RD_Pos)

(QSPI_RDR) Receive Data

Definition at line 111 of file component/qspi.h.

◆ QSPI_RDR_RD_Pos

#define QSPI_RDR_RD_Pos   0

Definition at line 110 of file component/qspi.h.

◆ QSPI_SCR_CPHA

#define QSPI_SCR_CPHA   (0x1u << 1)

(QSPI_SCR) Clock Phase

Definition at line 151 of file component/qspi.h.

◆ QSPI_SCR_CPOL

#define QSPI_SCR_CPOL   (0x1u << 0)

(QSPI_SCR) Clock Polarity

Definition at line 150 of file component/qspi.h.

◆ QSPI_SCR_DLYBS

#define QSPI_SCR_DLYBS (   value)    ((QSPI_SCR_DLYBS_Msk & ((value) << QSPI_SCR_DLYBS_Pos)))

Definition at line 157 of file component/qspi.h.

◆ QSPI_SCR_DLYBS_Msk

#define QSPI_SCR_DLYBS_Msk   (0xffu << QSPI_SCR_DLYBS_Pos)

(QSPI_SCR) Delay Before QSCK

Definition at line 156 of file component/qspi.h.

◆ QSPI_SCR_DLYBS_Pos

#define QSPI_SCR_DLYBS_Pos   16

Definition at line 155 of file component/qspi.h.

◆ QSPI_SCR_SCBR

#define QSPI_SCR_SCBR (   value)    ((QSPI_SCR_SCBR_Msk & ((value) << QSPI_SCR_SCBR_Pos)))

Definition at line 154 of file component/qspi.h.

◆ QSPI_SCR_SCBR_Msk

#define QSPI_SCR_SCBR_Msk   (0xffu << QSPI_SCR_SCBR_Pos)

(QSPI_SCR) Serial Clock Baud Rate

Definition at line 153 of file component/qspi.h.

◆ QSPI_SCR_SCBR_Pos

#define QSPI_SCR_SCBR_Pos   8

Definition at line 152 of file component/qspi.h.

◆ QSPI_SKR_USRK

#define QSPI_SKR_USRK (   value)    ((QSPI_SKR_USRK_Msk & ((value) << QSPI_SKR_USRK_Pos)))

Definition at line 215 of file component/qspi.h.

◆ QSPI_SKR_USRK_Msk

#define QSPI_SKR_USRK_Msk   (0xffffffffu << QSPI_SKR_USRK_Pos)

(QSPI_SKR) Scrambling User Key

Definition at line 214 of file component/qspi.h.

◆ QSPI_SKR_USRK_Pos

#define QSPI_SKR_USRK_Pos   0

Definition at line 213 of file component/qspi.h.

◆ QSPI_SMR_RVDIS

#define QSPI_SMR_RVDIS   (0x1u << 1)

(QSPI_SMR) Scrambling/Unscrambling Random Value Disable

Definition at line 211 of file component/qspi.h.

◆ QSPI_SMR_SCREN

#define QSPI_SMR_SCREN   (0x1u << 0)

(QSPI_SMR) Scrambling/Unscrambling Enable

Definition at line 208 of file component/qspi.h.

◆ QSPI_SMR_SCREN_DISABLED

#define QSPI_SMR_SCREN_DISABLED   (0x0u << 0)

(QSPI_SMR) The scrambling/unscrambling is disabled.

Definition at line 209 of file component/qspi.h.

◆ QSPI_SMR_SCREN_ENABLED

#define QSPI_SMR_SCREN_ENABLED   (0x1u << 0)

(QSPI_SMR) The scrambling/unscrambling is enabled.

Definition at line 210 of file component/qspi.h.

◆ QSPI_SR_CSR

#define QSPI_SR_CSR   (0x1u << 8)

(QSPI_SR) Chip Select Rise

Definition at line 121 of file component/qspi.h.

◆ QSPI_SR_CSS

#define QSPI_SR_CSS   (0x1u << 9)

(QSPI_SR) Chip Select Status

Definition at line 122 of file component/qspi.h.

◆ QSPI_SR_INSTRE

#define QSPI_SR_INSTRE   (0x1u << 10)

(QSPI_SR) Instruction End Status

Definition at line 123 of file component/qspi.h.

◆ QSPI_SR_OVRES

#define QSPI_SR_OVRES   (0x1u << 3)

(QSPI_SR) Overrun Error Status (cleared on read)

Definition at line 120 of file component/qspi.h.

◆ QSPI_SR_QSPIENS

#define QSPI_SR_QSPIENS   (0x1u << 24)

(QSPI_SR) QSPI Enable Status

Definition at line 124 of file component/qspi.h.

◆ QSPI_SR_RDRF

#define QSPI_SR_RDRF   (0x1u << 0)

(QSPI_SR) Receive Data Register Full (cleared by reading SPI_RDR)

Definition at line 117 of file component/qspi.h.

◆ QSPI_SR_TDRE

#define QSPI_SR_TDRE   (0x1u << 1)

(QSPI_SR) Transmit Data Register Empty (cleared by writing SPI_TDR)

Definition at line 118 of file component/qspi.h.

◆ QSPI_SR_TXEMPTY

#define QSPI_SR_TXEMPTY   (0x1u << 2)

(QSPI_SR) Transmission Registers Empty (cleared by writing SPI_TDR)

Definition at line 119 of file component/qspi.h.

◆ QSPI_TDR_TD

#define QSPI_TDR_TD (   value)    ((QSPI_TDR_TD_Msk & ((value) << QSPI_TDR_TD_Pos)))

Definition at line 115 of file component/qspi.h.

◆ QSPI_TDR_TD_Msk

#define QSPI_TDR_TD_Msk   (0xffffu << QSPI_TDR_TD_Pos)

(QSPI_TDR) Transmit Data

Definition at line 114 of file component/qspi.h.

◆ QSPI_TDR_TD_Pos

#define QSPI_TDR_TD_Pos   0

Definition at line 113 of file component/qspi.h.

◆ QSPI_VERSION_MFN_Msk

#define QSPI_VERSION_MFN_Msk   (0x7u << QSPI_VERSION_MFN_Pos)

(QSPI_VERSION) Metal Fix Number

Definition at line 230 of file component/qspi.h.

◆ QSPI_VERSION_MFN_Pos

#define QSPI_VERSION_MFN_Pos   16

Definition at line 229 of file component/qspi.h.

◆ QSPI_VERSION_VERSION_Msk

#define QSPI_VERSION_VERSION_Msk   (0xfffu << QSPI_VERSION_VERSION_Pos)

(QSPI_VERSION) Hardware Module Version

Definition at line 228 of file component/qspi.h.

◆ QSPI_VERSION_VERSION_Pos

#define QSPI_VERSION_VERSION_Pos   0

Definition at line 227 of file component/qspi.h.

◆ QSPI_WPMR_WPEN

#define QSPI_WPMR_WPEN   (0x1u << 0)

(QSPI_WPMR) Write Protection Enable

Definition at line 217 of file component/qspi.h.

◆ QSPI_WPMR_WPKEY

#define QSPI_WPMR_WPKEY (   value)    ((QSPI_WPMR_WPKEY_Msk & ((value) << QSPI_WPMR_WPKEY_Pos)))

Definition at line 220 of file component/qspi.h.

◆ QSPI_WPMR_WPKEY_Msk

#define QSPI_WPMR_WPKEY_Msk   (0xffffffu << QSPI_WPMR_WPKEY_Pos)

(QSPI_WPMR) Write Protection Key

Definition at line 219 of file component/qspi.h.

◆ QSPI_WPMR_WPKEY_PASSWD

#define QSPI_WPMR_WPKEY_PASSWD   (0x515350u << 8)

(QSPI_WPMR) Writing any other value in this field aborts the write operation of the WPEN bit. Always reads as 0.

Definition at line 221 of file component/qspi.h.

◆ QSPI_WPMR_WPKEY_Pos

#define QSPI_WPMR_WPKEY_Pos   8

Definition at line 218 of file component/qspi.h.

◆ QSPI_WPSR_WPVS

#define QSPI_WPSR_WPVS   (0x1u << 0)

(QSPI_WPSR) Write Protection Violation Status

Definition at line 223 of file component/qspi.h.

◆ QSPI_WPSR_WPVSRC_Msk

#define QSPI_WPSR_WPVSRC_Msk   (0xffu << QSPI_WPSR_WPVSRC_Pos)

(QSPI_WPSR) Write Protection Violation Source

Definition at line 225 of file component/qspi.h.

◆ QSPI_WPSR_WPVSRC_Pos

#define QSPI_WPSR_WPVSRC_Pos   8

Definition at line 224 of file component/qspi.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:08