Expand description
Peripheral access API for STM32F303 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::gpioc as gpiod;
pub use self::gpioc as gpioe;
pub use self::gpioc as gpiof;
pub use self::gpioc as gpiog;
pub use self::gpioc as gpioh;
pub use self::dma1 as dma2;
pub use self::tim3 as tim4;
pub use self::usart1 as usart2;
pub use self::usart1 as usart3;
pub use self::usart1 as uart4;
pub use self::usart1 as uart5;
pub use self::spi1 as spi2;
pub use self::spi1 as spi3;
pub use self::spi1 as spi4;
pub use self::i2s2ext as i2s3ext;
pub use self::i2c1 as i2c2;
pub use self::i2c1 as i2c3;
pub use self::tim6 as tim7;
pub use self::tim1 as tim20;
pub use self::adc1 as adc2;
pub use self::adc1 as adc3;
pub use self::adc1 as adc4;
pub use self::adc1_2 as adc3_4;
pub use self::dac1 as dac2;
Modules§
- adc1
- Analog-to-Digital Converter
- adc1_2
- Analog-to-Digital Converter
- can
- Controller area network
- comp
- General purpose comparators
- crc
- cyclic redundancy check calculation unit
- dac1
- Digital-to-analog converter
- dbgmcu
- Debug support
- dma1
- DMA controller 1
- exti
- External interrupt/event controller
- flash
- Flash
- fmc
- Flexible memory controller
- gpioa
- General-purpose I/Os
- gpiob
- General-purpose I/Os
- gpioc
- General-purpose I/Os
- i2c1
- Inter-integrated circuit
- i2s2ext
- Serial peripheral interface/Inter-IC sound
- iwdg
- Independent watchdog
- opamp
- Operational Amplifier
- pwr
- Power control
- rcc
- Reset and clock control
- rtc
- Real-time clock
- spi1
- Serial peripheral interface/Inter-IC sound
- syscfg
- System configuration controller
- tim1
- Advanced timer
- tim2
- General purpose timer
- tim3
- General purpose timer
- tim6
- Basic timers
- tim8
- Advanced-timers
- tim15
- General purpose timers
- tim16
- General-purpose-timers
- tim17
- General purpose timer
- tsc
- Touch sensing controller
- usart1
- Universal synchronous asynchronous receiver transmitter
- usb
- Universal serial bus full-speed device interface
- wwdg
- Window watchdog
Structs§
- ADC1
- Analog-to-Digital Converter
- ADC2
- Analog-to-Digital Converter
- ADC3
- Analog-to-Digital Converter
- ADC4
- Analog-to-Digital Converter
- ADC1_2
- Analog-to-Digital Converter
- ADC3_4
- Analog-to-Digital Converter
- CAN
- Controller area network
- CBP
- Cache and branch predictor maintenance operations
- COMP
- General purpose comparators
- CPUID
- CPUID
- CRC
- cyclic redundancy check calculation unit
- Core
Peripherals - Core peripherals
- DAC1
- Digital-to-analog converter
- DAC2
- Digital-to-analog converter
- DBGMCU
- Debug support
- DCB
- Debug Control Block
- DMA1
- DMA controller 1
- DMA2
- DMA controller 1
- DWT
- Data Watchpoint and Trace unit
- EXTI
- External interrupt/event controller
- FLASH
- Flash
- FMC
- Flexible memory controller
- FPB
- Flash Patch and Breakpoint unit
- FPU
- Floating Point 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
- GPIOG
- General-purpose I/Os
- GPIOH
- General-purpose I/Os
- I2C1
- Inter-integrated circuit
- I2C2
- Inter-integrated circuit
- I2C3
- Inter-integrated circuit
- I2S2EXT
- Serial peripheral interface/Inter-IC sound
- I2S3EXT
- Serial peripheral interface/Inter-IC sound
- ITM
- Instrumentation Trace Macrocell
- IWDG
- Independent watchdog
- MPU
- Memory Protection Unit
- NVIC
- Nested Vector Interrupt Controller
- OPAMP
- Operational Amplifier
- 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
- SPI4
- Serial peripheral interface/Inter-IC sound
- SYSCFG
- System configuration controller
- SYST
- SysTick: System Timer
- TIM1
- Advanced timer
- TIM2
- General purpose timer
- TIM3
- General purpose timer
- TIM4
- General purpose timer
- TIM6
- Basic timers
- TIM7
- Basic timers
- TIM8
- Advanced-timers
- TIM15
- General purpose timers
- TIM16
- General-purpose-timers
- TIM17
- General purpose timer
- TIM20
- Advanced timer
- TPIU
- Trace Port Interface Unit
- TSC
- Touch sensing controller
- UART4
- Universal synchronous asynchronous receiver transmitter
- UART5
- Universal synchronous 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
Enums§
- Interrupt
- Enumeration of all the interrupts.
Constants§
- NVIC_
PRIO_ BITS - Number available in the NVIC for configuring priority