libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
QuadSPI Defines

Defined constants and types for the STM32L4 QuadSPI peripheral. More...

Collaboration diagram for QuadSPI Defines:

Modules

 QuadSPI Registers
 

Macros

#define QUADSPI_CR_DMAEN   (1 << 2)
 
#define QUADSPI_CR_PRESCALE_MASK   0xff
 
#define QUADSPI_CR_PRESCALE_SHIFT   24
 
#define QUADSPI_CR_PMM   (1 << 23)
 
#define QUADSPI_CR_APMS   (1 << 22)
 
#define QUADSPI_CR_TOIE   (1 << 20)
 
#define QUADSPI_CR_SMIE   (1 << 19)
 
#define QUADSPI_CR_FTIE   (1 << 18)
 
#define QUADSPI_CR_TCIE   (1 << 17)
 
#define QUADSPI_CR_TEIE   (1 << 16)
 
#define QUADSPI_CR_FTHRES_MASK   0x1f
 
#define QUADSPI_CR_FTHRES_SHIFT   8
 
#define QUADSPI_CR_FSEL   (1 << 7)
 
#define QUADSPI_CR_DFM   (1 << 6)
 
#define QUADSPI_CR_SSHIFT   (1 << 4)
 
#define QUADSPI_CR_TCEN   (1 << 3)
 
#define QUADSPI_CR_ABORT   (1 << 1)
 
#define QUADSPI_CR_EN   (1 << 0)
 
#define QUADSPI_DCR_FSIZE_MASK   0x1f
 
#define QUADSPI_DCR_FSIZE_SHIFT   16
 
#define QUADSPI_DCR_CSHT_MASK   0x7
 
#define QUADSPI_DCR_CSHT_SHIFT   8
 
#define QUADSPI_DCR_CKMODE   (1 << 0)
 
#define QUADSPI_SR_FLEVEL_MASK   0x3f
 
#define QUADSPI_SR_FLEVEL_SHIFT   8
 
#define QUADSPI_SR_BUSY   (1 << 5)
 
#define QUADSPI_SR_TOF   (1 << 4)
 
#define QUADSPI_SR_SMF   (1 << 3)
 
#define QUADSPI_SR_FTF   (1 << 2)
 
#define QUADSPI_SR_TCF   (1 << 1)
 
#define QUADSPI_SR_TEF   (1 << 0)
 
#define QUADSPI_FCR_CTOF   (1 << 4)
 
#define QUADSPI_FCR_CSMF   (1 << 3)
 
#define QUADSPI_FCR_CTCF   (1 << 1)
 
#define QUADSPI_FCR_CTEF   (1 << 0)
 
#define QUADSPI_CCR_DDRM   (1 << 31)
 
#define QUADSPI_CCR_DHHC   (1 << 30)
 
#define QUADSPI_CCR_SIOO   (1 << 28)
 
#define QUADSPI_CCR_FMODE_MASK   0x3
 
#define QUADSPI_CCR_FMODE_SHIFT   26
 
#define QUADSPI_CCR_DMODE_MASK   0x3
 
#define QUADSPI_CCR_DMODE_SHIFT   24
 
#define QUADSPI_CCR_DCYC_MASK   0x1f
 
#define QUADSPI_CCR_DCYC_SHIFT   18
 
#define QUADSPI_CCR_ABSIZE_MASK   0x3
 
#define QUADSPI_CCR_ABSIZE_SHIFT   16
 
#define QUADSPI_CCR_ABMODE_MASK   0x3
 
#define QUADSPI_CCR_ABMODE_SHIFT   14
 
#define QUADSPI_CCR_ADSIZE_MASK   0x3
 
#define QUADSPI_CCR_ADSIZE_SHIFT   12
 
#define QUADSPI_CCR_ADMODE_MASK   0x3
 
#define QUADSPI_CCR_ADMODE_SHIFT   10
 
#define QUADSPI_CCR_IMODE_MASK   0x3
 
#define QUADSPI_CCR_IMODE_SHIFT   8
 
#define QUADSPI_CCR_INST_MASK   0xff
 
#define QUADSPI_CCR_INST_SHIFT   0
 
#define QUADSPI_CCR_MODE_NONE   0
 
#define QUADSPI_CCR_MODE_1LINE   1
 
#define QUADSPI_CCR_MODE_2LINE   2
 
#define QUADSPI_CCR_MODE_4LINE   3
 
#define QUADSPI_CCR_FMODE_IWRITE   0
 
#define QUADSPI_CCR_FMODE_IREAD   1
 
#define QUADSPI_CCR_FMODE_APOLL   2
 
#define QUADSPI_CCR_FMODE_MEMMAP   3
 

Detailed Description

Defined constants and types for the STM32L4 QuadSPI peripheral.

Author
Chuck McManis cmcma.nosp@m.nis@.nosp@m.mcman.nosp@m.is.c.nosp@m.om 2016

Macro Definition Documentation

◆ QUADSPI_CCR_ABMODE_MASK

#define QUADSPI_CCR_ABMODE_MASK   0x3

Definition at line 120 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_ABMODE_SHIFT

#define QUADSPI_CCR_ABMODE_SHIFT   14

Definition at line 121 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_ABSIZE_MASK

#define QUADSPI_CCR_ABSIZE_MASK   0x3

Definition at line 117 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_ABSIZE_SHIFT

#define QUADSPI_CCR_ABSIZE_SHIFT   16

Definition at line 118 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_ADMODE_MASK

#define QUADSPI_CCR_ADMODE_MASK   0x3

Definition at line 126 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_ADMODE_SHIFT

#define QUADSPI_CCR_ADMODE_SHIFT   10

Definition at line 127 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_ADSIZE_MASK

#define QUADSPI_CCR_ADSIZE_MASK   0x3

Definition at line 123 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_ADSIZE_SHIFT

#define QUADSPI_CCR_ADSIZE_SHIFT   12

Definition at line 124 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_DCYC_MASK

#define QUADSPI_CCR_DCYC_MASK   0x1f

Definition at line 114 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_DCYC_SHIFT

#define QUADSPI_CCR_DCYC_SHIFT   18

Definition at line 115 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_DDRM

#define QUADSPI_CCR_DDRM   (1 << 31)

Definition at line 105 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_DHHC

#define QUADSPI_CCR_DHHC   (1 << 30)

Definition at line 106 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_DMODE_MASK

#define QUADSPI_CCR_DMODE_MASK   0x3

Definition at line 111 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_DMODE_SHIFT

#define QUADSPI_CCR_DMODE_SHIFT   24

Definition at line 112 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_FMODE_APOLL

#define QUADSPI_CCR_FMODE_APOLL   2

Definition at line 144 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_FMODE_IREAD

#define QUADSPI_CCR_FMODE_IREAD   1

Definition at line 143 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_FMODE_IWRITE

#define QUADSPI_CCR_FMODE_IWRITE   0

Definition at line 142 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_FMODE_MASK

#define QUADSPI_CCR_FMODE_MASK   0x3

Definition at line 109 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_FMODE_MEMMAP

#define QUADSPI_CCR_FMODE_MEMMAP   3

Definition at line 145 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_FMODE_SHIFT

#define QUADSPI_CCR_FMODE_SHIFT   26

Definition at line 110 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_IMODE_MASK

#define QUADSPI_CCR_IMODE_MASK   0x3

Definition at line 129 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_IMODE_SHIFT

#define QUADSPI_CCR_IMODE_SHIFT   8

Definition at line 130 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_INST_MASK

#define QUADSPI_CCR_INST_MASK   0xff

Definition at line 132 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_INST_SHIFT

#define QUADSPI_CCR_INST_SHIFT   0

Definition at line 133 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_MODE_1LINE

#define QUADSPI_CCR_MODE_1LINE   1

Definition at line 137 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_MODE_2LINE

#define QUADSPI_CCR_MODE_2LINE   2

Definition at line 138 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_MODE_4LINE

#define QUADSPI_CCR_MODE_4LINE   3

Definition at line 139 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_MODE_NONE

#define QUADSPI_CCR_MODE_NONE   0

Definition at line 136 of file quadspi_common_v1.h.

◆ QUADSPI_CCR_SIOO

#define QUADSPI_CCR_SIOO   (1 << 28)

Definition at line 108 of file quadspi_common_v1.h.

◆ QUADSPI_CR_ABORT

#define QUADSPI_CR_ABORT   (1 << 1)

Definition at line 74 of file quadspi_common_v1.h.

◆ QUADSPI_CR_APMS

#define QUADSPI_CR_APMS   (1 << 22)

Definition at line 57 of file quadspi_common_v1.h.

◆ QUADSPI_CR_DFM

#define QUADSPI_CR_DFM   (1 << 6)

Definition at line 69 of file quadspi_common_v1.h.

◆ QUADSPI_CR_DMAEN

#define QUADSPI_CR_DMAEN   (1 << 2)

Definition at line 13 of file l4/quadspi.h.

◆ QUADSPI_CR_EN

#define QUADSPI_CR_EN   (1 << 0)

Definition at line 75 of file quadspi_common_v1.h.

◆ QUADSPI_CR_FSEL

#define QUADSPI_CR_FSEL   (1 << 7)

Definition at line 68 of file quadspi_common_v1.h.

◆ QUADSPI_CR_FTHRES_MASK

#define QUADSPI_CR_FTHRES_MASK   0x1f

Definition at line 66 of file quadspi_common_v1.h.

◆ QUADSPI_CR_FTHRES_SHIFT

#define QUADSPI_CR_FTHRES_SHIFT   8

Definition at line 67 of file quadspi_common_v1.h.

◆ QUADSPI_CR_FTIE

#define QUADSPI_CR_FTIE   (1 << 18)

Definition at line 61 of file quadspi_common_v1.h.

◆ QUADSPI_CR_PMM

#define QUADSPI_CR_PMM   (1 << 23)

Definition at line 56 of file quadspi_common_v1.h.

◆ QUADSPI_CR_PRESCALE_MASK

#define QUADSPI_CR_PRESCALE_MASK   0xff

Definition at line 54 of file quadspi_common_v1.h.

◆ QUADSPI_CR_PRESCALE_SHIFT

#define QUADSPI_CR_PRESCALE_SHIFT   24

Definition at line 55 of file quadspi_common_v1.h.

◆ QUADSPI_CR_SMIE

#define QUADSPI_CR_SMIE   (1 << 19)

Definition at line 60 of file quadspi_common_v1.h.

◆ QUADSPI_CR_SSHIFT

#define QUADSPI_CR_SSHIFT   (1 << 4)

Definition at line 71 of file quadspi_common_v1.h.

◆ QUADSPI_CR_TCEN

#define QUADSPI_CR_TCEN   (1 << 3)

Definition at line 72 of file quadspi_common_v1.h.

◆ QUADSPI_CR_TCIE

#define QUADSPI_CR_TCIE   (1 << 17)

Definition at line 62 of file quadspi_common_v1.h.

◆ QUADSPI_CR_TEIE

#define QUADSPI_CR_TEIE   (1 << 16)

Definition at line 63 of file quadspi_common_v1.h.

◆ QUADSPI_CR_TOIE

#define QUADSPI_CR_TOIE   (1 << 20)

Definition at line 59 of file quadspi_common_v1.h.

◆ QUADSPI_DCR_CKMODE

#define QUADSPI_DCR_CKMODE   (1 << 0)

Definition at line 84 of file quadspi_common_v1.h.

◆ QUADSPI_DCR_CSHT_MASK

#define QUADSPI_DCR_CSHT_MASK   0x7

Definition at line 81 of file quadspi_common_v1.h.

◆ QUADSPI_DCR_CSHT_SHIFT

#define QUADSPI_DCR_CSHT_SHIFT   8

Definition at line 82 of file quadspi_common_v1.h.

◆ QUADSPI_DCR_FSIZE_MASK

#define QUADSPI_DCR_FSIZE_MASK   0x1f

Definition at line 78 of file quadspi_common_v1.h.

◆ QUADSPI_DCR_FSIZE_SHIFT

#define QUADSPI_DCR_FSIZE_SHIFT   16

Definition at line 79 of file quadspi_common_v1.h.

◆ QUADSPI_FCR_CSMF

#define QUADSPI_FCR_CSMF   (1 << 3)

Definition at line 100 of file quadspi_common_v1.h.

◆ QUADSPI_FCR_CTCF

#define QUADSPI_FCR_CTCF   (1 << 1)

Definition at line 102 of file quadspi_common_v1.h.

◆ QUADSPI_FCR_CTEF

#define QUADSPI_FCR_CTEF   (1 << 0)

Definition at line 103 of file quadspi_common_v1.h.

◆ QUADSPI_FCR_CTOF

#define QUADSPI_FCR_CTOF   (1 << 4)

Definition at line 99 of file quadspi_common_v1.h.

◆ QUADSPI_SR_BUSY

#define QUADSPI_SR_BUSY   (1 << 5)

Definition at line 91 of file quadspi_common_v1.h.

◆ QUADSPI_SR_FLEVEL_MASK

#define QUADSPI_SR_FLEVEL_MASK   0x3f

Definition at line 87 of file quadspi_common_v1.h.

◆ QUADSPI_SR_FLEVEL_SHIFT

#define QUADSPI_SR_FLEVEL_SHIFT   8

Definition at line 88 of file quadspi_common_v1.h.

◆ QUADSPI_SR_FTF

#define QUADSPI_SR_FTF   (1 << 2)

Definition at line 94 of file quadspi_common_v1.h.

◆ QUADSPI_SR_SMF

#define QUADSPI_SR_SMF   (1 << 3)

Definition at line 93 of file quadspi_common_v1.h.

◆ QUADSPI_SR_TCF

#define QUADSPI_SR_TCF   (1 << 1)

Definition at line 95 of file quadspi_common_v1.h.

◆ QUADSPI_SR_TEF

#define QUADSPI_SR_TEF   (1 << 0)

Definition at line 96 of file quadspi_common_v1.h.

◆ QUADSPI_SR_TOF

#define QUADSPI_SR_TOF   (1 << 4)

Definition at line 92 of file quadspi_common_v1.h.