Expand description
Peripheral access API for STM32L4X2 microcontrollers (generated using svd2rust v0.19.0 ( ))
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.
Modules§
- adc1
- Analog-to-Digital Converter
- adc_
common - ADC common registers
- aes
- Advanced encryption standard hardware accelerator
- can1
- Controller area network
- comp
- Comparator
- crc
- Cyclic redundancy check calculation unit
- crs
- Clock recovery system
- dac1
- Digital-to-analog converter
- dbgmcu
- MCU debug component
- dfsdm
- Digital filter for sigma delta modulators
- dma1
- Direct memory access controller
- exti
- External interrupt/event controller
- firewall
- Firewall
- flash
- Flash
- fpu
- Floting point unit
- fpu_
cpacr - Floating point unit CPACR
- 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
- nvic_
stir - Nested vectored interrupt controller
- 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
- scb_
actrl - System control block ACTLR
- sdmmc
- Secure digital input/output interface
- spi1
- Serial peripheral interface/Inter-IC sound
- stk
- SysTick timer
- swpmi1
- Single Wire Protocol Master Interface
- syscfg
- System configuration controller
- tim1
- Advanced-timers
- tim2
- General-purpose-timers
- tim3
- General-purpose-timers
- tim6
- Basic-timers
- tim15
- General purpose timers
- tim16
- General purpose timers
- tsc
- Touch sensing controller
- usart1
- 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
Structs§
- ADC1
- Analog-to-Digital Converter
- ADC2
- Analog-to-Digital Converter
- ADC_
COMMON - ADC common registers
- AES
- Advanced encryption standard hardware accelerator
- CAN1
- Controller area network
- CBP
- Cache and branch predictor maintenance operations
- COMP
- Comparator
- CPUID
- CPUID
- CRC
- Cyclic redundancy check calculation unit
- CRS
- Clock recovery system
- Core
Peripherals - Core peripherals
- DAC1
- Digital-to-analog converter
- DBGMCU
- MCU debug component
- DCB
- Debug Control Block
- DFSDM
- Digital filter for sigma delta modulators
- DMA1
- Direct memory access controller
- DMA2
- Direct memory access controller
- DWT
- Data Watchpoint and Trace unit
- EXTI
- External interrupt/event controller
- FIREWALL
- Firewall
- FLASH
- Flash
- FPB
- Flash Patch and Breakpoint unit
- FPU
- Floting point unit
- FPU_
CPACR - Floating point unit CPACR
- 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
- GPIOH
- General-purpose I/Os
- I2C1
- Inter-integrated circuit
- I2C2
- Inter-integrated circuit
- I2C3
- Inter-integrated circuit
- I2C4
- Inter-integrated circuit
- ITM
- Instrumentation Trace Macrocell
- IWDG
- Independent watchdog
- LCD
- Liquid crystal display controller
- LPTIM1
- Low power timer
- LPTIM2
- Low power timer
- LPUART1
- Universal synchronous asynchronous receiver transmitter
- MPU
- Memory Protection Unit
- NVIC
- Nested Vector Interrupt Controller
- NVIC_
STIR - Nested vectored interrupt controller
- OPAMP
- Operational amplifiers
- PWR
- Power control
- Peripherals
- All the peripherals
- QUADSPI
- QuadSPI interface
- RCC
- Reset and clock control
- RNG
- Random number generator
- RTC
- Real-time clock
- SAI1
- Serial audio interface
- SCB
- System Control Block
- SCB_
ACTRL - System control block ACTLR
- 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
- STK
- SysTick timer
- SWPMI1
- Single Wire Protocol Master Interface
- SYSCFG
- System configuration controller
- SYST
- SysTick: System Timer
- TIM1
- Advanced-timers
- TIM2
- General-purpose-timers
- TIM3
- General-purpose-timers
- TIM6
- Basic-timers
- TIM7
- Basic-timers
- TIM15
- General purpose timers
- TIM16
- General purpose timers
- TPIU
- Trace Port Interface Unit
- TSC
- Touch sensing controller
- UART4
- 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
Enums§
Constants§
- NVIC_
PRIO_ BITS - Number available in the NVIC for configuring priority