libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Defined Constants and Types for the STM32L0xx System Config More...
Defined Constants and Types for the STM32L0xx System Config
LGPL License Terms libopencm3 License
#define COMP1_CTRL MMIO32(SYSCFG_BASE + 0x18) |
Definition at line 54 of file l0/syscfg.h.
#define COMP2_CTRL MMIO32(SYSCFG_BASE + 0x1C) |
Definition at line 55 of file l0/syscfg.h.
#define SYSCFG_CFGR1 MMIO32(SYSCFG_BASE + 0x00) |
Definition at line 47 of file l0/syscfg.h.
#define SYSCFG_CFGR1_BOOT_MODE (3 << SYSCFG_CFGR1_BOOT_MODE_SHIFT) |
Definition at line 73 of file l0/syscfg.h.
#define SYSCFG_CFGR1_BOOT_MODE_FLASH (0 << SYSCFG_CFGR1_BOOT_MODE_SHIFT) |
Definition at line 74 of file l0/syscfg.h.
#define SYSCFG_CFGR1_BOOT_MODE_SHIFT 8 |
Definition at line 72 of file l0/syscfg.h.
#define SYSCFG_CFGR1_BOOT_MODE_SRAM (3 << SYSCFG_CFGR1_BOOT_MODE_SHIFT) |
Definition at line 76 of file l0/syscfg.h.
#define SYSCFG_CFGR1_BOOT_MODE_SYSTEM (1 << SYSCFG_CFGR1_BOOT_MODE_SHIFT) |
Definition at line 75 of file l0/syscfg.h.
#define SYSCFG_CFGR1_MEM_MODE (3 << SYSCFG_CFGR1_MEM_MODE_SHIFT) |
Definition at line 65 of file l0/syscfg.h.
#define SYSCFG_CFGR1_MEM_MODE_FLASH (0 << SYSCFG_CFGR1_MEM_MODE_SHIFT) |
Definition at line 66 of file l0/syscfg.h.
#define SYSCFG_CFGR1_MEM_MODE_SHIFT 0 |
Definition at line 64 of file l0/syscfg.h.
#define SYSCFG_CFGR1_MEM_MODE_SRAM (3 << SYSCFG_CFGR1_MEM_MODE_SHIFT) |
Definition at line 68 of file l0/syscfg.h.
#define SYSCFG_CFGR1_MEM_MODE_SYSTEM (1 << SYSCFG_CFGR1_MEM_MODE_SHIFT) |
Definition at line 67 of file l0/syscfg.h.
#define SYSCFG_CFGR1_UFB (1<<3) |
Definition at line 70 of file l0/syscfg.h.
#define SYSCFG_CFGR2 MMIO32(SYSCFG_BASE + 0x04) |
Definition at line 48 of file l0/syscfg.h.
#define SYSCFG_CFGR2_FWDIS (1 << 0) |
Definition at line 80 of file l0/syscfg.h.
#define SYSCFG_CFGR2_I2C1_FMP (1 << 12) |
Definition at line 87 of file l0/syscfg.h.
#define SYSCFG_CFGR2_I2C2_FMP (1 << 13) |
Definition at line 88 of file l0/syscfg.h.
#define SYSCFG_CFGR2_I2C3_FMP (1 << 14) |
Definition at line 89 of file l0/syscfg.h.
#define SYSCFG_CFGR2_I2C_PB6_FMP (1 << 8) |
Definition at line 82 of file l0/syscfg.h.
#define SYSCFG_CFGR2_I2C_PB7_FMP (1 << 9) |
Definition at line 83 of file l0/syscfg.h.
#define SYSCFG_CFGR2_I2C_PB8_FMP (1 << 10) |
Definition at line 84 of file l0/syscfg.h.
#define SYSCFG_CFGR2_I2C_PB9_FMP (1 << 11) |
Definition at line 85 of file l0/syscfg.h.
#define SYSCFG_CFGR3 MMIO32(SYSCFG_BASE + 0x20) |
Definition at line 56 of file l0/syscfg.h.
#define SYSCFG_CFGR3_EN_VREFINT (1 << 0) |
Definition at line 93 of file l0/syscfg.h.
#define SYSCFG_CFGR3_ENBUF_SENSOR_ADC (1 << 9) |
Definition at line 101 of file l0/syscfg.h.
#define SYSCFG_CFGR3_ENBUF_VREFINT_ADC (1 << 8) |
Definition at line 100 of file l0/syscfg.h.
#define SYSCFG_CFGR3_ENBUF_VREFINT_COMP (1 << 12) |
Definition at line 102 of file l0/syscfg.h.
#define SYSCFG_CFGR3_ENREF_HSI48 (1 << 13) |
Definition at line 103 of file l0/syscfg.h.
#define SYSCFG_CFGR3_REF_HSI48_RDYF (1 << 26) |
Definition at line 105 of file l0/syscfg.h.
#define SYSCFG_CFGR3_REF_LOCK (1 << 31) |
Definition at line 110 of file l0/syscfg.h.
#define SYSCFG_CFGR3_SEL_VREF_OUT (3 << SYSCFG_CFGR3_EN_VREFINT_SHIFT) |
Definition at line 96 of file l0/syscfg.h.
#define SYSCFG_CFGR3_SEL_VREF_OUT_PB0 (1 << SYSCFG_CFGR3_EN_VREFINT_SHIFT) |
Definition at line 97 of file l0/syscfg.h.
#define SYSCFG_CFGR3_SEL_VREF_OUT_PB1 (2 << SYSCFG_CFGR3_EN_VREFINT_SHIFT) |
Definition at line 98 of file l0/syscfg.h.
#define SYSCFG_CFGR3_SEL_VREF_OUT_SHIFT 4 |
Definition at line 95 of file l0/syscfg.h.
#define SYSCFG_CFGR3_SENSOR_ADC_RDYF (1 << 27) |
Definition at line 106 of file l0/syscfg.h.
#define SYSCFG_CFGR3_VREFINT_ADC_RDYF (1 << 28) |
Definition at line 107 of file l0/syscfg.h.
#define SYSCFG_CFGR3_VREFINT_COMP_RDYF (1 << 29) |
Definition at line 108 of file l0/syscfg.h.
#define SYSCFG_CFGR3_VREFINT_RDYF (1 << 30) |
Definition at line 109 of file l0/syscfg.h.
#define SYSCFG_EXTICR | ( | i | ) | MMIO32(SYSCFG_BASE + 0x08 + (i)*4) |
Definition at line 49 of file l0/syscfg.h.
#define SYSCFG_EXTICR1 SYSCFG_EXTICR(0) |
Definition at line 50 of file l0/syscfg.h.
#define SYSCFG_EXTICR2 SYSCFG_EXTICR(1) |
Definition at line 51 of file l0/syscfg.h.
#define SYSCFG_EXTICR3 SYSCFG_EXTICR(2) |
Definition at line 52 of file l0/syscfg.h.
#define SYSCFG_EXTICR4 SYSCFG_EXTICR(3) |
Definition at line 53 of file l0/syscfg.h.
#define SYSCFG_EXTICR_FIELDSIZE 4 |
Definition at line 114 of file l0/syscfg.h.
#define SYSCFG_EXTICR_GPIOA 0 |
Definition at line 115 of file l0/syscfg.h.
#define SYSCFG_EXTICR_GPIOB 1 |
Definition at line 116 of file l0/syscfg.h.
#define SYSCFG_EXTICR_GPIOC 2 |
Definition at line 117 of file l0/syscfg.h.
#define SYSCFG_EXTICR_GPIOD 3 |
Definition at line 118 of file l0/syscfg.h.
#define SYSCFG_EXTICR_GPIOE 4 |
Definition at line 119 of file l0/syscfg.h.
#define SYSCFG_EXTICR_GPIOH 5 |
Definition at line 120 of file l0/syscfg.h.