▼CM3 Defines | Defined Constants and Types for Cortex M3 core features |
Debugging | Macros and functions to aid in debugging |
►Cortex Core Defines | libopencm3 Defined Constants and Types for the Cortex Core |
Cortex Core Atomic support Defines | Atomic operation support |
Cortex-M Data Watch and Trace unit. | System Control Space (SCS) => Data Watchpoint and Trace (DWT) |
Cortex-M Flash Patch and Breakpoint (FPB) unit | |
Cortex-M Instrumentation Trace Macrocell (ITM) | |
►Cortex-M MPU Defines | libopencm3 Cortex Memory Protection Unit |
MPU Registers | |
MPU TYPE register fields | The MPU_TYPE register is always available, even if the MPU is not implemented |
MPU CTRL register fields | Defines for the Control Register |
MPU RNR register fields | Defines for the Region Number Register |
MPU RBAR register fields | Defines for the Region Base Address Register |
►MPU RASR register fields | Defines for the Region Attribute and Size Register |
MPU RASR Attributes | Not all attributes are available on v6m |
►Cortex-M NVIC Defines | libopencm3 Cortex Nested Vectored Interrupt Controller |
NVIC Registers | |
Cortex M0/M3/M4 System Interrupts | IRQ numbers -3 and -6 to -9 are reserved |
User interrupts for STM32 L1 series | |
►Cortex-M System Control Block | The System Control Block is a section of the System Control Space |
SCB Registers | |
SCB_CPUID Values | |
SCB_ICSR Values | |
SCB_VTOR Values | |
SCB_AICR Values | |
SCB_SCR Values | |
SCB_CCR Values | |
►Cortex-M System Control Space | The System Control Space (SCS) is a memory-mapped 4KB address space that provides 32-bit registers for configuration, status reporting and control |
SCS Registers | |
►Cortex-M SysTick Defines | libopencm3 Defined Constants and Types for the Cortex SysTick |
►STK_CSR Values | |
Clock source selection | |
STK_RVR Values | |
STK_CALIB Values | |
Cortex-M Trace Port Interface Unit (TPIU) | |
▼Cortex Core Peripheral APIs | APIs for Cortex Core peripherals |
DWT | libopencm3 Cortex-M Data Watchpoint and Trace unit |
NVIC | libopencm3 Cortex Nested Vectored Interrupt Controller |
SCB | libopencm3 Cortex-M System Control Block |
SysTick | libopencm3 Cortex System Tick Timer |
Coresight Registers | CoreSight Lock Status Registers and Lock Access Registers are documented for the DWT, ITM, FPB and TPIU peripherals |
▼Peripheral APIs | APIs for device peripherals |
DMA peripheral API | DMA library for the multi channel controller found in F0/1/3 & L/G parts |
FLASH peripheral API | libopencm3 STM32L1xx FLASH |
RCC peripheral API | libopencm3 STM32L1xx Reset and Clock Control |
TIMER peripheral API | libopencm3 STM32L1xx Timers |
ADC peripheral API | |
CRC peripheral API | |
DAC peripheral API | Digital to Analog Converter |
EXTI peripheral API | |
GPIO peripheral API | |
I2C peripheral API | |
IWDG peripheral API | |
PWR peripheral API | |
RTC peripheral API | |
SPI peripheral API | |
USART peripheral API | |
▼STM32L1xx | Libraries for ST Microelectronics STM32L1xx series |
Routing Interface registers | Register definitions for the STM32L1xx Routing Interface |
▼STM32L1xx Defines | Defined Constants and Types for the STM32L1xx series |
►ADC Defines | Defined Constants and Types for the STM32L1xx Analog to Digital Converters |
ADC Channel Numbers | |
ADC Status Register Flags | |
ADC Trigger Identifier for Regular group | |
ADC Sample Time Selection for All Channels | |
ADC Prescale | |
ADC register base addresses | |
ADC Number of channels in discontinuous mode. | |
ADC watchdog channel | |
ADC Number of channels in discontinuous injected mode | |
ADC Resolution. | |
ADC Trigger Polarity | |
ADC Injected Trigger Polarity | |
ADC DMA mode for multi ADC mode | |
ADC Delay between 2 sampling phases | |
ADC Multi mode selection | |
►CRC Defines | libopencm3 Defined Constants and Types for the STM32L1xx CRC Generator |
CRC Registers | |
CRC_CR values | |
►DAC Defines | Defined Constants and Types for the STM32L1xx DAC |
DAC register base addresses | |
DAC Registers | |
►DAC_CR values | |
DAC Channel 2 Trigger Source Selection | |
DAC Channel 1 Trigger Source Selection | |
DAC_SWTRIGR Values | |
DAC_DHRxxx Values | |
DAC_DORx Values | |
DAC_SR Values | |
DAC Channel Identifier | |
►DMA Defines | Defined Constants and Types for the STM32L1xx DMA Controller |
DMA Interrupt Flag Offsets within channel flag | Group |
DMA Channel Priority Levels | |
DMA Channel Memory Word Width | |
DMA Channel Peripheral Word Width | |
DMA Channel Number | |
►EXTI Defines | Defined Constants and Types for the STM32L1xx External Interrupts |
EXTI Registers | |
►FLASH Defines | Defined Constants and Types for the STM32L1xx FLASH Memory |
FLASH Wait States | |
►GPIO Defines | Defined Constants and Types for the STM32L1xx General Purpose I/O |
GPIO Port IDs | |
GPIO Pin Direction and Analog/Digital Mode | |
GPIO Output Pin Driver Type | |
GPIO Output Pin Speed | |
GPIO Output Pin Pullup | |
Alternate Function Pin Selection | |
GPIO Pin Identifiers | |
►I2C Defines | Defined Constants and Types for the STM32L1xx I2C |
I2C register base address | |
I2C peripheral clock duty cycles | |
I2C Read/Write bit | |
►IWDG Defines | Defined Constants and Types for the STM32L1xx Independent Watchdog Timer |
IWDG Key Values | |
IWDG prescaler divider | |
IWDG Status Register Values | |
►LCD Defines | Defined Constants and Types for the STM32L1xx LCD Controller |
LCD registers | |
►PWR Defines | Defined Constants and Types for the STM32L1xx Power Control |
PVD level selection | |
Voltage Scaling Output level selection | |
►RCC Defines | Defined Constants and Types for the STM32L1xx Reset and Clock Control |
►RCC_ICSCR definitions | Internal clock sources calibration register |
MSI Ranges | |
RCC_CFGR APBx prescale factors | These can be used for both APB1 and APB2 prescaling |
RCC_CFGR AHB prescale factors | |
RCC_CFGR Deprecated dividers | Older compatible definitions to ease migration |
RCC_AHBRSTR reset values values | |
RCC_APB2RSTR reset values values | |
RCC_APB1RSTR reset values values | |
RCC_AHBENR enable values | |
RCC_APB2ENR enable values | |
RCC_APB1ENR enable values | |
►RTC Defines | Defined Constants and Types for the STM32L1xx RTC |
►RTC Registers | Real Time Clock registers |
RTC Time register (RTC_TR) values | Note: Bits [31:23], 15, and 7 are reserved, and must be kept at reset value |
RTC Date register (RTC_DR) values | Note: Bits [31:24] and [7:6] are reserved, and must be kept at reset value |
►RTC control register (RTC_CR) values | Note: Bits [31:24] are reserved, and must be kept at reset value |
RTC_CR_OSEL: Output selection values | These bits are used to select the flag to be routed to AFO_ALARM RTC output |
RTC initialization and status register (RTC_ISR) values | Note: Bits [31:17] and [15] are reserved, and must be kept at reset value |
RTC prescaler register (RTC_PRER) values | |
RTC Alarm register values | Applies to RTC_ALRMAR and RTC_ALRMBR |
RTC time stamp time register (RTC_TSTR) values | |
RTC time stamp date register (RTC_TSDR) values | |
RTC calibration register (RTC_CALR) values | |
RTC tamper and alternate function configuration register (RTC_TAFCR) values | |
RTC Time register (RTC_TR) values | Note: Bits [31:23], 15, and 7 are reserved, and must be kept at reset value |
RTC Date register (RTC_DR) values | Note: Bits [31:24] and [7:6] are reserved, and must be kept at reset value |
►RTC control register (RTC_CR) values | Note: Bits [31:24] are reserved, and must be kept at reset value |
RTC_CR_OSEL: Output selection values | These bits are used to select the flag to be routed to AFO_ALARM RTC output |
RTC initialization and status register (RTC_ISR) values | Note: Bits [31:17] and [15] are reserved, and must be kept at reset value |
RTC prescaler register (RTC_PRER) values | |
RTC Alarm register values | Applies to RTC_ALRMAR and RTC_ALRMBR |
RTC time stamp time register (RTC_TSTR) values | |
RTC time stamp date register (RTC_TSDR) values | |
RTC calibration register (RTC_CALR) values | |
RTC tamper and alternate function configuration register (RTC_TAFCR) values | |
►SPI Defines | Defined Constants and Types for the STM32L1xx SPI |
SPI Register base address | |
SPI lsb/msb first | |
SPI peripheral baud rates | |
SPI peripheral baud rate prescale values | |
SPI clock polarity | |
SPI clock phase | |
SPI data frame format | |
SYSCFG Defines | Defined Constants and Types for the STM32L1xx Sysconfig |
►Timer Defines | libopencm3 Defined Constants and Types for the STM32L1xx Timers |
TIM2_OR Timer 2 Internal Trigger 1 Remap | |
TIM3_OR Timer 3 Internal Trigger 2 Remap | |
Timer register base addresses | |
TIMx_CR1 CKD[1:0] Clock Division Ratio | |
TIMx_CR1 CMS[1:0]: Center-aligned Mode Selection | |
TIMx_CR1 DIR: Direction | |
TIMx_CR2_OIS: Force Output Idle State Control Values | |
TIMx_CR2 MMS[6:4]: Master Mode Selection | |
TIMx_SMCR TS Trigger selection | |
TIMx_SMCR SMS Slave mode selection | |
TIMx_DIER Timer DMA and Interrupt Enable Values | |
TIMx_SR Timer Status Register Flags | |
TIMx_EGR Timer Event Generator Values | |
TIM_BDTR_LOCK Timer Lock Values | |
►USART Defines | Defined Constants and Types for the STM32L1xx USART |
USART Parity Selection | |
USART Tx/Rx Mode Selection | |
USART Stop Bit Selection | |
USART Hardware Flow Control Selection | |
USART register base addresses | Holds all the U(S)ART peripherals supported |
U(S)ART convenience Flags | We define the "common" lower flag bits using a standard name, allowing them to be used regardless of which usart peripheral version you have |
USART Status register Flags | |
User interrupt service routines (ISR) prototypes for STM32 L1 series | |
USB Defines | Defined Constants and Types for the STM32F* USB drivers |
USB Audio Type Definitions | Defined Constants and Types for the USB Audio Type Definitions |
USB CDC Type Definitions | Defined Constants and Types for the USB CDC Type Definitions |
USB HID Type Definitions | Defined Constants and Types for the USB HID Type Definitions |
USB MSC Type Definitions | Defined Constants and Types for the USB MSC Type Definitions |
USB Drivers | Defined Constants and Types for the USB Drivers |
USB Standard Structure Definitions | Defined Constants and Types for the USB Standard Structure Definitions |
User interrupt service routines (ISR) defaults for STM32 L1 series | |
Generic USB Drivers | Generic USB Drivers |
Generic USB Control Requests | Generic USB Control Requests |
Generic USB Standard Request Interface | Generic USB Standard Request Interface |
Usb_msc | |