Module stm32g0c1

Source
Expand description

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

Modules§

adc
Analog to Digital Converter
aes
Advanced Encryption Standard
comp
Comparator
crc
Cyclic redundancy check calculation unit
dac
DAC
dbg
Debug support
dma1
Direct memory access controller
dma2
Direct memory access controller
dmamux
DMAMUX
exti
External interrupt/event controller
fdcan1
FD controller area network
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
lpuart1
Low-power universal asynchronous receiver transmitter
pwr
Power control
rcc
Reset and clock control
rng
Random number generator
rtc
Real-time clock
spi1
Serial peripheral interface
syscfg
System configuration controller
tamp
Tamper and backup registers
tim1
Advanced-timers
tim2
General-purpose-timers
tim3
General-purpose-timers
tim6
Basic timers
tim14
General purpose timers
tim15
General purpose timers
tim16
General purpose timers
ucpd1
USB Power Delivery interface
usart1
Universal synchronous asynchronous receiver transmitter
usb
Universal serial bus full-speed host/device interface
vrefbuf
System configuration controller
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
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§

ADC
Analog to Digital Converter
AES
Advanced Encryption Standard
COMP
Comparator
CRC
Cyclic redundancy check calculation unit
DAC
DAC
DBG
Debug support
DMA1
Direct memory access controller
DMA2
Direct memory access controller
DMAMUX
DMAMUX
EXTI
External interrupt/event controller
FDCAN1
FD controller area network
FDCAN2
FD controller area network
FLASH
Flash
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
HDMI_CEC
HDMI-CEC
I2C1
Inter-integrated circuit
I2C2
Inter-integrated circuit
I2C3
Inter-integrated circuit
IWDG
Independent watchdog
LPTIM1
Low power timer
LPTIM2
Low power timer
LPUART1
Low-power universal asynchronous receiver transmitter
LPUART2
Low-power universal asynchronous receiver transmitter
PWR
Power control
RCC
Reset and clock control
RNG
Random number generator
RTC
Real-time clock
SPI1
Serial peripheral interface
SPI2
Serial peripheral interface
SPI3
Serial peripheral interface
SYSCFG
System configuration controller
TAMP
Tamper and backup registers
TIM1
Advanced-timers
TIM2
General-purpose-timers
TIM3
General-purpose-timers
TIM4
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
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
USART5
Universal synchronous asynchronous receiver transmitter
USART6
Universal synchronous asynchronous receiver transmitter
USB
Universal serial bus full-speed host/device interface
VREFBUF
System configuration controller
WWDG
System window watchdog

Attribute Macros§

interrupt