Module stm32c031

Source
Expand description

Peripheral access API for STM32C031 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::usart1 as usart2;

Modules§

adc
Analog to Digital Converter
crc
Cyclic redundancy check calculation unit
dbg
DBG register block
dma
DMA controller
dmamux
DMAMUX register block
exti
EXTI address block description
flash
Spider_FLASH register block
gpioa
GPIOA address block description
gpiob
GPIOB address block description
gpioc
GPIOC address block description
gpiod
GPIOD address block description
gpiof
GPIOF address block description
i2c1
I2C register block
iwdg
IWDG register block
pwr
PWR address block description
rcc
RCC address block description
rtc
RTC register block
spi1
Serial peripheral interface
syscfg
SYSCFG register block
tim1
Advanced-control timer
tim3
General-purpose timer
tim14
General-purpose timers
tim16
General-purpose timers
tim17
General-purpose timers
usart1
USART register block
wwdg
WWDG register block

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
FPU
Floating Point 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
CRC
Cyclic redundancy check calculation unit
DBG
DBG register block
DMA
DMA controller
DMAMUX
DMAMUX register block
EXTI
EXTI address block description
FLASH
Spider_FLASH register block
GPIOA
GPIOA address block description
GPIOB
GPIOB address block description
GPIOC
GPIOC address block description
GPIOD
GPIOD address block description
GPIOF
GPIOF address block description
I2C1
I2C register block
IWDG
IWDG register block
PWR
PWR address block description
RCC
RCC address block description
RTC
RTC register block
SPI1
Serial peripheral interface
SYSCFG
SYSCFG register block
TIM1
Advanced-control timer
TIM3
General-purpose timer
TIM14
General-purpose timers
TIM16
General-purpose timers
TIM17
General-purpose timers
USART1
USART register block
USART2
USART register block
WWDG
WWDG register block

Attribute Macros§

interrupt