Module stm32l4x5

Source
Expand description

Peripheral access API for STM32L4X5 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::i2c1 as i2c2;
pub use self::i2c1 as i2c3;
pub use self::adc1 as adc2;
pub use self::adc1 as adc3;
pub use self::gpioc as gpiod;
pub use self::gpioc as gpioe;
pub use self::gpioc as gpioh;
pub use self::gpioc as gpiof;
pub use self::gpioc as gpiog;
pub use self::sai1 as sai2;
pub use self::tim2 as tim5;
pub use self::tim3 as tim4;
pub use self::tim16 as tim17;
pub use self::tim6 as tim7;
pub use self::lptim1 as lptim2;
pub use self::usart1 as usart2;
pub use self::usart1 as usart3;
pub use self::usart1 as uart5;
pub use self::usart1 as uart4;
pub use self::spi1 as spi2;
pub use self::spi1 as spi3;

Modules§

adc1
Analog-to-Digital Converter
adc_common
Analog-to-Digital Converter
aes
Advanced encryption standard hardware accelerator
can1
Controller area network
comp
Comparator
crc
Cyclic redundancy check calculation unit
crs
Clock recovery system
dac
Digital-to-analog converter
dbgmcu
Debug support
dfsdm
Digital filter for sigma delta modulators
dma1
Direct memory access controller
exti
External interrupt/event controller
firewall
Firewall
flash
Flash
fmc
Flexible 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
lptim1
Low power timer
lpuart1
Universal synchronous asynchronous receiver transmitter
opamp
Operational amplifiers
pwr
Power control
quadspi
QuadSPI interface
rcc
Reset and clock control
rng
Random number generator
rtc
Real-time clock
sai1
Serial audio interface
sdmmc
Secure digital input/output interface
spi1
Serial peripheral interface/Inter-IC sound
swpmi1
Single Wire Protocol Master Interface
syscfg
System configuration controller
tim1
Advanced-timers
tim2
General-purpose-timers
tim3
General-purpose-timers
tim6
Basic-timers
tim8
Advanced-timers
tim15
General purpose timers
tim16
General purpose timers
tsc
Touch sensing controller
usart1
Universal synchronous asynchronous receiver transmitter
usb
Universal serial bus full-speed device interface
vrefbuf
Voltage reference buffer
wwdg
System 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
FPU
Floating Point 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§

ADC1
Analog-to-Digital Converter
ADC2
Analog-to-Digital Converter
ADC3
Analog-to-Digital Converter
ADC_COMMON
Analog-to-Digital Converter
AES
Advanced encryption standard hardware accelerator
CAN1
Controller area network
COMP
Comparator
CRC
Cyclic redundancy check calculation unit
CRS
Clock recovery system
DAC
Digital-to-analog converter
DBGMCU
Debug support
DFSDM
Digital filter for sigma delta modulators
DMA1
Direct memory access controller
DMA2
Direct memory access controller
EXTI
External interrupt/event controller
FIREWALL
Firewall
FLASH
Flash
FMC
Flexible 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
I2C3
Inter-integrated circuit
IWDG
Independent watchdog
LCD
Liquid crystal display controller
LPTIM1
Low power timer
LPTIM2
Low power timer
LPUART1
Universal synchronous asynchronous receiver transmitter
OPAMP
Operational amplifiers
PWR
Power control
QUADSPI
QuadSPI interface
RCC
Reset and clock control
RNG
Random number generator
RTC
Real-time clock
SAI1
Serial audio interface
SAI2
Serial audio interface
SDMMC
Secure digital input/output interface
SPI1
Serial peripheral interface/Inter-IC sound
SPI2
Serial peripheral interface/Inter-IC sound
SPI3
Serial peripheral interface/Inter-IC sound
SWPMI1
Single Wire Protocol Master Interface
SYSCFG
System configuration controller
TIM1
Advanced-timers
TIM2
General-purpose-timers
TIM3
General-purpose-timers
TIM4
General-purpose-timers
TIM5
General-purpose-timers
TIM6
Basic-timers
TIM7
Basic-timers
TIM8
Advanced-timers
TIM15
General purpose timers
TIM16
General purpose timers
TIM17
General purpose timers
TSC
Touch sensing controller
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
VREFBUF
Voltage reference buffer
WWDG
System window watchdog

Attribute Macros§

interrupt