libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Macros
l4/syscfg.h File Reference
Go to the source code of this file.
Macros
#define
SYSCFG_MEMRMP
MMIO32
(
SYSCFG_BASE
+ 0x00)
#define
SYSCFG_CFGR1
MMIO32
(
SYSCFG_BASE
+ 0x04)
#define
SYSCFG_EXTICR
(i)
MMIO32
(
SYSCFG_BASE
+ 0x08 + (i)*4)
#define
SYSCFG_EXTICR1
SYSCFG_EXTICR
(0)
#define
SYSCFG_EXTICR2
SYSCFG_EXTICR
(1)
#define
SYSCFG_EXTICR3
SYSCFG_EXTICR
(2)
#define
SYSCFG_EXTICR4
SYSCFG_EXTICR
(3)
#define
SYSCFG_SCSR
MMIO32
(
SYSCFG_BASE
+ 0x18)
#define
SYSCFG_CFGR2
MMIO32
(
SYSCFG_BASE
+ 0x1C)
#define
SYSCFG_SWPR
MMIO32
(
SYSCFG_BASE
+ 0x20)
#define
SYSCFG_SKR
MMIO32
(
SYSCFG_BASE
+ 0x24)
#define
SYSCFG_SWPR2
MMIO32
(
SYSCFG_BASE
+ 0x29)
#define
SYSCFG_MEMRMP_MEM_MODE_MASK
7
#define
SYSCFG_MEMRMP_MEM_MODE_FLASH
0
#define
SYSCFG_MEMRMP_MEM_MODE_SYSTEM
1
#define
SYSCFG_MEMRMP_MEM_MODE_FMC
2
#define
SYSCFG_MEMRMP_MEM_MODE_SRAM
3
#define
SYSCFG_MEMRMP_MEM_MODE_QSPI
6
#define
SYSCFG_CFGR1_FPU_IE_INEXACT
(1 << 31)
#define
SYSCFG_CFGR1_FPU_IE_DENORMAL
(1 << 30)
#define
SYSCFG_CFGR1_FPU_IE_OVERFLOW
(1 << 29)
#define
SYSCFG_CFGR1_FPU_IE_UNDERFLOW
(1 << 28)
#define
SYSCFG_CFGR1_FPU_IE_DIVZERO
(1 << 27)
#define
SYSCFG_CFGR1_FPU_IE_INVALID
(1 << 26)
#define
SYSCFG_CFGR1_I2C3_FMP
(1 << 22)
#define
SYSCFG_CFGR1_I2C2_FMP
(1 << 21)
#define
SYSCFG_CFGR1_I2C1_FMP
(1 << 20)
#define
SYSCFG_CFGR1_I2C_PB9_FMP
(1 << 19)
#define
SYSCFG_CFGR1_I2C_PB8_FMP
(1 << 18)
#define
SYSCFG_CFGR1_I2C_PB7_FMP
(1 << 17)
#define
SYSCFG_CFGR1_I2C_PB6_FMP
(1 << 16)
#define
SYSCFG_CFGR1_BOOSTEN
(1 << 8)
#define
SYSCFG_CFGR1_FWDIS
(1 << 0)
#define
SYSCFG_EXTICR_FIELDSIZE
4
#define
SYSCFG_EXTICR_GPIOA
0
#define
SYSCFG_EXTICR_GPIOB
1
#define
SYSCFG_EXTICR_GPIOC
2
#define
SYSCFG_EXTICR_GPIOD
3
#define
SYSCFG_EXTICR_GPIOE
4
#define
SYSCFG_EXTICR_GPIOH
7
#define
SYSCFG_SCSR_SRAM2BSY
(1 << 1)
#define
SYSCFG_SCSR_SRAM2ER
(1 << 0)
#define
SYSCFG_CFGR2_SPF
(1 << 8)
#define
SYSCFG_CFGR2_ECCL
(1 << 3)
#define
SYSCFG_CFGR2_PVDL
(1 << 2)
#define
SYSCFG_CFGR2_SPL
(1 << 1)
#define
SYSCFG_CFGR2_CCL
(1 << 0)
#define
SYSCFG_SWPR_PxWP
(x) (1 << x)
#define
SYSCFG_SKR_KEY1
0xCA
#define
SYSCFG_SKR_KEY2
0x53
#define
SYSCFG_SWPR2_PxWP
(x) (1 << (x - 32))
include
libopencm3
stm32
l4
syscfg.h
Generated on Tue Mar 7 2023 16:12:11 for libopencm3 by
1.9.4