Module stm32l162

Source
Expand description

Peripheral access API for STM32L162 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))

You can find an overview of the generated API here.

API features to be included in the next svd2rust release can be generated by cloning the svd2rust repository, checking out the above commit, and running cargo doc --open.

Re-exports§

pub use self::Interrupt as interrupt;
pub use self::dma1 as dma2;
pub use self::gpioc as gpiod;
pub use self::gpioc as gpioe;
pub use self::gpioc as gpiof;
pub use self::gpioc as gpiog;
pub use self::gpioc as gpioh;
pub use self::i2c1 as i2c2;
pub use self::spi1 as spi2;
pub use self::spi1 as spi3;
pub use self::tim10 as tim11;
pub use self::tim2 as tim3;
pub use self::tim2 as tim4;
pub use self::tim2 as tim5;
pub use self::tim6 as tim7;
pub use self::usart1 as usart2;
pub use self::usart1 as usart3;
pub use self::usart1 as uart4;
pub use self::usart1 as uart5;
pub use self::usb as usb_sram;

Modules§

adc
Analog-to-digital converter
aes
Advanced encrytion standard hardware accelerator
comp
Comparators
crc
CRC calculation unit
dac
Digital-to-analog converter
dbgmcu
debug support
dma1
Direct memory access controller
exti
External interrupt/event controller
flash
Flash
fsmc
Flexible static memory controller
gpioa
General-purpose I/Os
gpiob
General-purpose I/Os
gpioc
General-purpose I/Os
i2c1
Inter-integrated circuit
iwdg
Independent watchdog
lcd
Liquid crystal display controller
opamp
Operational amplifiers
pwr
Power control
rcc
Reset and clock control
ri
Routing interface
rtc
Real-time clock
sdio
Secure digital input/output interface
spi1
Serial peripheral interface
syscfg
System configuration controller
tim2
General-purpose timers
tim6
Basic timers
tim9
General-purpose timers
tim10
General-purpose timers
usart1
Universal synchronous asynchronous receiver transmitter
usb
Universal serial bus full-speed device interface
wwdg
Window watchdog

Structs§

CBP
Cache and branch predictor maintenance operations
CPUID
CPUID
CorePeripherals
Core peripherals
DCB
Debug Control Block
DWT
Data Watchpoint and Trace unit
FPB
Flash Patch and Breakpoint unit
ITM
Instrumentation Trace Macrocell
MPU
Memory Protection Unit
NVIC
Nested Vector Interrupt Controller
Peripherals
All the peripherals.
SCB
System Control Block
SYST
SysTick: System Timer
TPIU
Trace Port Interface Unit

Enums§

Interrupt
Enumeration of all the interrupts.

Constants§

NVIC_PRIO_BITS
Number available in the NVIC for configuring priority

Type Aliases§

ADC
Analog-to-digital converter
AES
Advanced encrytion standard hardware accelerator
COMP
Comparators
CRC
CRC calculation unit
DAC
Digital-to-analog converter
DBGMCU
debug support
DMA1
Direct memory access controller
DMA2
Direct memory access controller
EXTI
External interrupt/event controller
FLASH
Flash
FSMC
Flexible static memory controller
GPIOA
General-purpose I/Os
GPIOB
General-purpose I/Os
GPIOC
General-purpose I/Os
GPIOD
General-purpose I/Os
GPIOE
General-purpose I/Os
GPIOF
General-purpose I/Os
GPIOG
General-purpose I/Os
GPIOH
General-purpose I/Os
I2C1
Inter-integrated circuit
I2C2
Inter-integrated circuit
IWDG
Independent watchdog
LCD
Liquid crystal display controller
OPAMP
Operational amplifiers
PWR
Power control
RCC
Reset and clock control
RI
Routing interface
RTC
Real-time clock
SDIO
Secure digital input/output interface
SPI1
Serial peripheral interface
SPI2
Serial peripheral interface
SPI3
Serial peripheral interface
SYSCFG
System configuration controller
TIM2
General-purpose timers
TIM3
General-purpose timers
TIM4
General-purpose timers
TIM5
General-purpose timers
TIM6
Basic timers
TIM7
Basic timers
TIM9
General-purpose timers
TIM10
General-purpose timers
TIM11
General-purpose timers
UART4
Universal synchronous asynchronous receiver transmitter
UART5
Universal synchronous asynchronous receiver transmitter
USART1
Universal synchronous asynchronous receiver transmitter
USART2
Universal synchronous asynchronous receiver transmitter
USART3
Universal synchronous asynchronous receiver transmitter
USB
Universal serial bus full-speed device interface
USB_SRAM
Universal serial bus full-speed device interface
WWDG
Window watchdog

Attribute Macros§

interrupt