Module stm32

Source
Expand description

Peripheral access API for STM32G081 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§

adc
Analog to Digital Converter instance 1
aes
Advanced encryption standard hardware accelerator 1
comp
COMP1
crc
Cyclic redundancy check calculation unit
dac
DAC
dbg
Debug support
dma
DMA controller
dmamux
DMAMUX
exti
External interrupt/event controller
flash
Flash
gpioa
General-purpose I/Os
gpiob
General-purpose I/Os
hdmi_cec
HDMI-CEC
i2c1
Inter-integrated circuit
iwdg
Independent watchdog
lptim1
Low power timer
lpuart
Universal synchronous asynchronous receiver transmitter
pwr
Power control
rcc
Reset and clock control
rng
Random number generator
rtc
Real-time clock
spi1
Serial peripheral interface/Inter-IC sound
stk
SysTick timer
syscfg_vrefbuf
System configuration controller
tamp
Tamper and backup registers
tim1
Advanced-timers
tim2
General-purpose-timers
tim6
Basic timers
tim14
General purpose timers
tim16
General purpose timers
ucpd1
USB Power Delivery interface
usart1
Universal synchronous asynchronous receiver transmitter
wwdg
System window watchdog

Structs§

ADC
Analog to Digital Converter instance 1
AES
Advanced encryption standard hardware accelerator 1
CBP
Cache and branch predictor maintenance operations
COMP
COMP1
CPUID
CPUID
CRC
Cyclic redundancy check calculation unit
CorePeripherals
Core peripherals
DAC
DAC
DBG
Debug support
DCB
Debug Control Block
DMA
DMA controller
DMAMUX
DMAMUX
DWT
Data Watchpoint and Trace unit
EXTI
External interrupt/event controller
FLASH
Flash
FPB
Flash Patch and Breakpoint unit
GPIOA
General-purpose I/Os
GPIOB
General-purpose I/Os
GPIOC
General-purpose I/Os
GPIOD
General-purpose I/Os
GPIOF
General-purpose I/Os
HDMI_CEC
HDMI-CEC
I2C1
Inter-integrated circuit
I2C2
Inter-integrated circuit
ITM
Instrumentation Trace Macrocell
IWDG
Independent watchdog
LPTIM1
Low power timer
LPTIM2
Low power timer
LPUART
Universal synchronous asynchronous receiver transmitter
MPU
Memory Protection Unit
NVIC
Nested Vector Interrupt Controller
PWR
Power control
Peripherals
All the peripherals
RCC
Reset and clock control
RNG
Random number generator
RTC
Real-time clock
SCB
System Control Block
SPI1
Serial peripheral interface/Inter-IC sound
SPI2
Serial peripheral interface/Inter-IC sound
STK
SysTick timer
SYSCFG_VREFBUF
System configuration controller
SYST
SysTick: System Timer
TAMP
Tamper and backup registers
TIM1
Advanced-timers
TIM2
General-purpose-timers
TIM3
General-purpose-timers
TIM6
Basic timers
TIM7
Basic timers
TIM14
General purpose timers
TIM15
General purpose timers
TIM16
General purpose timers
TIM17
General purpose timers
TPIU
Trace Port Interface Unit
UCPD1
USB Power Delivery interface
UCPD2
USB Power Delivery interface
USART1
Universal synchronous asynchronous receiver transmitter
USART2
Universal synchronous asynchronous receiver transmitter
USART3
Universal synchronous asynchronous receiver transmitter
USART4
Universal synchronous asynchronous receiver transmitter
WWDG
System window watchdog

Enums§

Interrupt
Enumeration of all the interrupts.
interrupt
Enumeration of all the interrupts.

Constants§

NVIC_PRIO_BITS
Number available in the NVIC for configuring priority

Attribute Macros§

interrupt