libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Macros
l0/syscfg.h File Reference
Go to the source code of this file.
Macros
#define
SYSCFG_CFGR1
MMIO32
(
SYSCFG_BASE
+ 0x00)
#define
SYSCFG_CFGR2
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
COMP1_CTRL
MMIO32
(
SYSCFG_BASE
+ 0x18)
#define
COMP2_CTRL
MMIO32
(
SYSCFG_BASE
+ 0x1C)
#define
SYSCFG_CFGR3
MMIO32
(
SYSCFG_BASE
+ 0x20)
#define
SYSCFG_CFGR1_MEM_MODE_SHIFT
0
#define
SYSCFG_CFGR1_MEM_MODE
(3 <<
SYSCFG_CFGR1_MEM_MODE_SHIFT
)
#define
SYSCFG_CFGR1_MEM_MODE_FLASH
(0 <<
SYSCFG_CFGR1_MEM_MODE_SHIFT
)
#define
SYSCFG_CFGR1_MEM_MODE_SYSTEM
(1 <<
SYSCFG_CFGR1_MEM_MODE_SHIFT
)
#define
SYSCFG_CFGR1_MEM_MODE_SRAM
(3 <<
SYSCFG_CFGR1_MEM_MODE_SHIFT
)
#define
SYSCFG_CFGR1_UFB
(1<<3)
#define
SYSCFG_CFGR1_BOOT_MODE_SHIFT
8
#define
SYSCFG_CFGR1_BOOT_MODE
(3 <<
SYSCFG_CFGR1_BOOT_MODE_SHIFT
)
#define
SYSCFG_CFGR1_BOOT_MODE_FLASH
(0 <<
SYSCFG_CFGR1_BOOT_MODE_SHIFT
)
#define
SYSCFG_CFGR1_BOOT_MODE_SYSTEM
(1 <<
SYSCFG_CFGR1_BOOT_MODE_SHIFT
)
#define
SYSCFG_CFGR1_BOOT_MODE_SRAM
(3 <<
SYSCFG_CFGR1_BOOT_MODE_SHIFT
)
#define
SYSCFG_CFGR2_FWDIS
(1 << 0)
#define
SYSCFG_CFGR2_I2C_PB6_FMP
(1 << 8)
#define
SYSCFG_CFGR2_I2C_PB7_FMP
(1 << 9)
#define
SYSCFG_CFGR2_I2C_PB8_FMP
(1 << 10)
#define
SYSCFG_CFGR2_I2C_PB9_FMP
(1 << 11)
#define
SYSCFG_CFGR2_I2C1_FMP
(1 << 12)
#define
SYSCFG_CFGR2_I2C2_FMP
(1 << 13)
#define
SYSCFG_CFGR2_I2C3_FMP
(1 << 14)
#define
SYSCFG_CFGR3_EN_VREFINT
(1 << 0)
#define
SYSCFG_CFGR3_SEL_VREF_OUT_SHIFT
4
#define
SYSCFG_CFGR3_SEL_VREF_OUT
(3 << SYSCFG_CFGR3_EN_VREFINT_SHIFT)
#define
SYSCFG_CFGR3_SEL_VREF_OUT_PB0
(1 << SYSCFG_CFGR3_EN_VREFINT_SHIFT)
#define
SYSCFG_CFGR3_SEL_VREF_OUT_PB1
(2 << SYSCFG_CFGR3_EN_VREFINT_SHIFT)
#define
SYSCFG_CFGR3_ENBUF_VREFINT_ADC
(1 << 8)
#define
SYSCFG_CFGR3_ENBUF_SENSOR_ADC
(1 << 9)
#define
SYSCFG_CFGR3_ENBUF_VREFINT_COMP
(1 << 12)
#define
SYSCFG_CFGR3_ENREF_HSI48
(1 << 13)
#define
SYSCFG_CFGR3_REF_HSI48_RDYF
(1 << 26)
#define
SYSCFG_CFGR3_SENSOR_ADC_RDYF
(1 << 27)
#define
SYSCFG_CFGR3_VREFINT_ADC_RDYF
(1 << 28)
#define
SYSCFG_CFGR3_VREFINT_COMP_RDYF
(1 << 29)
#define
SYSCFG_CFGR3_VREFINT_RDYF
(1 << 30)
#define
SYSCFG_CFGR3_REF_LOCK
(1 << 31)
#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
5
include
libopencm3
stm32
l0
syscfg.h
Generated on Tue Mar 7 2023 16:12:00 for libopencm3 by
1.9.4