Expand description
Peripheral access API for STM32G0B0 microcontrollers (generated using svd2rust v0.35.0 (c94dc77 2025-01-15))
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::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::spi1 as spi2;
pub use self::spi1 as spi3;
pub use self::tim3 as tim4;
pub use self::tim6 as tim7;
pub use self::tim16 as tim17;
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
- crc
- Cyclic redundancy check calculation unit
- dbg
- Debug support
- dma1
- DMA controller
- dma2
- DMA controller
- dmamux
- DMAMUX
- exti
- External interrupt/event controller
- flash
- Flash
- gpioa
- General-purpose I/Os
- gpiob
- General-purpose I/Os
- i2c1
- Inter-integrated circuit
- iwdg
- Independent watchdog
- pwr
- Power control
- rcc
- Reset and clock control
- rtc
- Real-time clock
- spi1
- Serial peripheral interface/Inter-IC sound
- syscfg
- System configuration controller
- tamp
- Tamper and backup registers
- tim1
- Advanced-timers
- tim3
- General-purpose-timers
- tim6
- Basic timers
- tim14
- General purpose timers
- tim15
- General purpose timers
- tim16
- General purpose timers
- usart1
- Universal synchronous asynchronous receiver transmitter
- usb
- Universal serial bus full-speed host/device interface4
- vrefbuf
- System configuration controller
- wwdg
- System window watchdog
Structs§
- ADC
- Analog to Digital ConverteR
- CBP
- Cache and branch predictor maintenance operations
- CPUID
- CPUID
- CRC
- Cyclic redundancy check calculation unit
- Core
Peripherals - Core peripherals
- DBG
- Debug support
- DCB
- Debug Control Block
- DMA1
- DMA controller
- DMA2
- 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
- GPIOE
- General-purpose I/Os
- GPIOF
- General-purpose I/Os
- I2C1
- Inter-integrated circuit
- I2C2
- Inter-integrated circuit
- I2C3
- Inter-integrated circuit
- ITM
- Instrumentation Trace Macrocell
- IWDG
- Independent watchdog
- MPU
- Memory Protection Unit
- NVIC
- Nested Vector Interrupt Controller
- PWR
- Power control
- Peripherals
- All the peripherals.
- RCC
- Reset and clock control
- RTC
- Real-time clock
- SCB
- System Control Block
- SPI1
- Serial peripheral interface/Inter-IC sound
- SPI2
- Serial peripheral interface/Inter-IC sound
- SPI3
- Serial peripheral interface/Inter-IC sound
- SYSCFG
- System configuration controller
- SYST
- SysTick: System Timer
- TAMP
- Tamper and backup registers
- TIM1
- Advanced-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
- TPIU
- Trace Port Interface Unit
- 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 interface4
- VREFBUF
- System configuration controller
- WWDG
- System window watchdog
Enums§
- Interrupt
- Enumeration of all the interrupts.
Constants§
- NVIC_
PRIO_ BITS - Number available in the NVIC for configuring priority