Expand description
Peripheral access API for STM32F103 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::gpioa as gpiob;
pub use self::gpioa as gpioc;
pub use self::gpioa as gpiod;
pub use self::gpioa as gpioe;
pub use self::gpioa as gpiof;
pub use self::gpioa as gpiog;
pub use self::dma1 as dma2;
pub use self::tim1 as tim8;
pub use self::tim2 as tim3;
pub use self::tim2 as tim4;
pub use self::tim2 as tim5;
pub use self::tim9 as tim12;
pub use self::tim10 as tim11;
pub use self::tim10 as tim13;
pub use self::tim10 as tim14;
pub use self::tim6 as tim7;
pub use self::i2c1 as i2c2;
pub use self::spi1 as spi2;
pub use self::spi1 as spi3;
pub use self::usart1 as usart2;
pub use self::usart1 as usart3;
pub use self::uart4 as uart5;
Modules§
- adc1
- Analog to digital converter
- adc2
- Analog to digital converter
- adc3
- Analog to digital converter
- afio
- Alternate function I/O
- bkp
- Backup registers
- can
- Controller area network
- crc
- CRC calculation unit
- dac
- Digital to analog converter
- dbgmcu
- Debug support
- dma1
- DMA controller
- ethernet_
dma - Ethernet: DMA controller operation
- ethernet_
mac - Ethernet: media access control
- ethernet_
mmc - Ethernet: MAC management counters
- ethernet_
ptp - Ethernet: Precision time protocol
- exti
- EXTI
- flash
- FLASH
- fsmc
- Flexible static memory controller
- gpioa
- General purpose I/O
- i2c1
- Inter integrated circuit
- iwdg
- Independent watchdog
- nvic_
stir - Nested vectored interrupt controller
- otg_
fs_ device - USB on the go full speed
- otg_
fs_ global - USB on the go full speed
- otg_
fs_ host - USB on the go full speed
- otg_
fs_ pwrclk - USB on the go full speed
- pwr
- Power control
- rcc
- Reset and clock control
- rtc
- Real time clock
- scb_
actrl - System control block ACTLR
- sdio
- Secure digital input/output interface
- spi1
- Serial peripheral interface
- stk
- SysTick timer
- tim1
- Advanced timer
- tim2
- General purpose timer
- tim6
- Basic timer
- tim9
- General purpose timer
- tim10
- General purpose timer
- uart4
- Universal asynchronous receiver transmitter
- usart1
- Universal synchronous asynchronous receiver transmitter
- usb
- Universal serial bus full-speed device interface
- wwdg
- Window watchdog
Structs§
- CBP
- Cache and branch predictor maintenance operations
- CPUID
- CPUID
- Core
Peripherals - 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§
- ADC1
- Analog to digital converter
- ADC2
- Analog to digital converter
- ADC3
- Analog to digital converter
- AFIO
- Alternate function I/O
- BKP
- Backup registers
- CAN
- Controller area network
- CRC
- CRC calculation unit
- DAC
- Digital to analog converter
- DBGMCU
- Debug support
- DMA1
- DMA controller
- DMA2
- DMA controller
- ETHERNET_
DMA - Ethernet: DMA controller operation
- ETHERNET_
MAC - Ethernet: media access control
- ETHERNET_
MMC - Ethernet: MAC management counters
- ETHERNET_
PTP - Ethernet: Precision time protocol
- EXTI
- EXTI
- FLASH
- FLASH
- FSMC
- Flexible static memory controller
- GPIOA
- General purpose I/O
- GPIOB
- General purpose I/O
- GPIOC
- General purpose I/O
- GPIOD
- General purpose I/O
- GPIOE
- General purpose I/O
- GPIOF
- General purpose I/O
- GPIOG
- General purpose I/O
- I2C1
- Inter integrated circuit
- I2C2
- Inter integrated circuit
- IWDG
- Independent watchdog
- NVIC_
STIR - Nested vectored interrupt controller
- OTG_
FS_ DEVICE - USB on the go full speed
- OTG_
FS_ GLOBAL - USB on the go full speed
- OTG_
FS_ HOST - USB on the go full speed
- OTG_
FS_ PWRCLK - USB on the go full speed
- PWR
- Power control
- RCC
- Reset and clock control
- RTC
- Real time clock
- SCB_
ACTRL - System control block ACTLR
- SDIO
- Secure digital input/output interface
- SPI1
- Serial peripheral interface
- SPI2
- Serial peripheral interface
- SPI3
- Serial peripheral interface
- STK
- SysTick timer
- TIM1
- Advanced timer
- TIM2
- General purpose timer
- TIM3
- General purpose timer
- TIM4
- General purpose timer
- TIM5
- General purpose timer
- TIM6
- Basic timer
- TIM7
- Basic timer
- TIM8
- Advanced timer
- TIM9
- General purpose timer
- TIM10
- General purpose timer
- TIM11
- General purpose timer
- TIM12
- General purpose timer
- TIM13
- General purpose timer
- TIM14
- General purpose timer
- UART4
- Universal asynchronous receiver transmitter
- UART5
- Universal asynchronous receiver transmitter
- USART1
- Universal synchronous asynchronous receiver transmitter
- USART2
- Universal synchronous asynchronous receiver transmitter
- USART3
- Universal synchronous asynchronous receiver transmitter
- USB
- Universal serial bus full-speed device interface
- WWDG
- Window watchdog