Expand description

Peripheral access API for STM32G041 microcontrollers (generated using svd2rust v0.24.1 ( ))

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 gpiob as gpioc;
pub use gpiob as gpiod;
pub use gpiob as gpiof;
pub use tim16 as tim17;
pub use usart1 as usart2;
pub use spi1 as spi2;
pub use lptim1 as lptim2;
pub use i2c1 as i2c2;
pub use tim2 as tim3;

Modules

Analog to Digital Converter instance 1

Advanced encryption standard hardware accelerator 1

Cyclic redundancy check calculation unit

MCU debug component

DMA controller

DMAMUX

External interrupt/event controller

Flash

Floting point unit

Floating point unit CPACR

General-purpose I/Os

General-purpose I/Os

Inter-integrated circuit

Independent watchdog

Low power timer

Universal synchronous asynchronous receiver transmitter

Nested vectored interrupt controller

Power control

Reset and clock control

Random number generator

Real-time clock

System control block ACTLR

Serial peripheral interface/Inter-IC sound

SysTick timer

System configuration controller

System configuration controller

Tamper and backup registers

Advanced-timers

General-purpose-timers

General purpose timers

General purpose timers

Universal synchronous asynchronous receiver transmitter

System configuration controller

System window watchdog

Structs

Analog to Digital Converter instance 1

Advanced encryption standard hardware accelerator 1

Cache and branch predictor maintenance operations

CPUID

Cyclic redundancy check calculation unit

Core peripherals

MCU debug component

Debug Control Block

DMA controller

DMAMUX

Data Watchpoint and Trace unit

External interrupt/event controller

Flash

Flash Patch and Breakpoint unit

Floting point unit

Floating point unit CPACR

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

Inter-integrated circuit

Inter-integrated circuit

Instrumentation Trace Macrocell

Independent watchdog

Low power timer

Low power timer

Universal synchronous asynchronous receiver transmitter

Memory Protection Unit

Nested Vector Interrupt Controller

Nested vectored interrupt controller

Power control

All the peripherals

Reset and clock control

Random number generator

Real-time clock

System Control Block

System control block ACTLR

Serial peripheral interface/Inter-IC sound

Serial peripheral interface/Inter-IC sound

SysTick timer

System configuration controller

System configuration controller

SysTick: System Timer

Tamper and backup registers

Advanced-timers

General-purpose-timers

General-purpose-timers

General purpose timers

General purpose timers

General purpose timers

Trace Port Interface Unit

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

System configuration controller

System window watchdog

Enums

Enumeration of all the interrupts.

Constants

Number available in the NVIC for configuring priority

Attribute Macros