Expand description

Peripheral access API for STM32G0C1 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 fdcan1 as fdcan2;
pub use gpiob as gpioc;
pub use gpiob as gpiod;
pub use gpiob as gpioe;
pub use gpiob as gpiof;
pub use i2c1 as i2c2;
pub use i2c1 as i2c3;
pub use lptim1 as lptim2;
pub use lpuart1 as lpuart2;
pub use spi1 as spi2;
pub use spi1 as spi3;
pub use tim2 as tim3;
pub use tim2 as tim4;
pub use tim6 as tim7;
pub use tim16 as tim17;
pub use ucpd1 as ucpd2;
pub use usart1 as usart2;
pub use usart1 as usart3;
pub use usart1 as usart4;
pub use usart1 as usart5;
pub use usart1 as usart6;

Modules

Analog to Digital Converter

Advanced Encryption Standard

Comparator

Cyclic redundancy check calculation unit

DAC

Debug support

DMA controller

DMA controller

DMAMUX

External interrupt/event controller

FD controller area network

Flash

General-purpose I/Os

General-purpose I/Os

HDMI-CEC

Inter-integrated circuit

Independent watchdog

Low power timer

Low-power universal asynchronous receiver transmitter

Power control

Reset and clock control

Random number generator

Real-time clock

Serial peripheral interface

Tamper and backup registers

Advanced-timers

General-purpose-timers

Basic timers

General purpose timers

General purpose timers

General purpose timers

USB Power Delivery interface

Universal synchronous asynchronous receiver transmitter

Universal serial bus full-speed host/device interface

System configuration controller

System window watchdog

Structs

Analog to Digital Converter

Advanced Encryption Standard

Cache and branch predictor maintenance operations

Comparator

CPUID

Cyclic redundancy check calculation unit

Core peripherals

DAC

Debug support

Debug Control Block

DMA controller

DMA controller

DMAMUX

Data Watchpoint and Trace unit

External interrupt/event controller

FD controller area network

FD controller area network

Flash

Flash Patch and Breakpoint unit

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

HDMI-CEC

Inter-integrated circuit

Inter-integrated circuit

Inter-integrated circuit

Instrumentation Trace Macrocell

Independent watchdog

Low power timer

Low power timer

Low-power universal asynchronous receiver transmitter

Low-power universal asynchronous receiver transmitter

Memory Protection Unit

Nested Vector Interrupt Controller

Power control

All the peripherals

Reset and clock control

Random number generator

Real-time clock

System Control Block

Serial peripheral interface

Serial peripheral interface

Serial peripheral interface

SysTick: System Timer

Tamper and backup registers

Advanced-timers

General-purpose-timers

General-purpose-timers

General-purpose-timers

Basic timers

Basic timers

General purpose timers

General purpose timers

General purpose timers

General purpose timers

Trace Port Interface Unit

USB Power Delivery interface

USB Power Delivery interface

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

Universal serial bus full-speed host/device interface

System configuration controller

System window watchdog

Enums

Enumeration of all the interrupts.

Constants

Number available in the NVIC for configuring priority

Attribute Macros