Expand description
Peripheral access API for STM32F401 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::tim3 as tim4;
pub use self::usart1 as usart2;
pub use self::usart1 as usart6;
pub use self::dma2 as dma1;
pub use self::gpioh as gpioe;
pub use self::gpioh as gpiod;
pub use self::gpioh as gpioc;
pub use self::i2c1 as i2c3;
pub use self::i2c1 as i2c2;
pub use self::spi1 as i2s2ext;
pub use self::spi1 as i2s3ext;
pub use self::spi1 as spi2;
pub use self::spi1 as spi3;
pub use self::spi1 as spi4;
Modules§
- adc1
- Analog-to-digital converter
- adc_
common - ADC common registers
- crc
- Cryptographic processor
- dbgmcu
- Debug support
- dma2
- DMA controller
- exti
- External interrupt/event controller
- flash
- FLASH
- gpioa
- General-purpose I/Os
- gpiob
- General-purpose I/Os
- gpioh
- General-purpose I/Os
- i2c1
- Inter-integrated circuit
- iwdg
- Independent watchdog
- 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
- sdio
- Secure digital input/output interface
- spi1
- Serial peripheral interface
- syscfg
- System configuration controller
- tim1
- Advanced-timers
- tim2
- General purpose timers
- tim3
- General purpose timers
- tim5
- General-purpose-timers
- tim9
- General purpose timers
- tim10
- General-purpose-timers
- tim11
- General-purpose-timers
- usart1
- Universal synchronous asynchronous receiver transmitter
- 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
- 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§
- ADC1
- Analog-to-digital converter
- ADC_
COMMON - ADC common registers
- CRC
- Cryptographic processor
- DBGMCU
- Debug support
- DMA1
- DMA controller
- DMA2
- DMA controller
- EXTI
- External interrupt/event controller
- 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
- GPIOH
- General-purpose I/Os
- I2C1
- Inter-integrated circuit
- I2C2
- Inter-integrated circuit
- I2C3
- Inter-integrated circuit
- I2S2EXT
- Serial peripheral interface
- I2S3EXT
- Serial peripheral interface
- IWDG
- Independent watchdog
- 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
- SDIO
- Secure digital input/output interface
- SPI1
- Serial peripheral interface
- SPI2
- Serial peripheral interface
- SPI3
- Serial peripheral interface
- SPI4
- Serial peripheral interface
- SYSCFG
- System configuration controller
- TIM1
- Advanced-timers
- TIM2
- General purpose timers
- TIM3
- General purpose timers
- TIM4
- General purpose timers
- TIM5
- General-purpose-timers
- TIM9
- General purpose timers
- TIM10
- General-purpose-timers
- TIM11
- General-purpose-timers
- USART1
- Universal synchronous asynchronous receiver transmitter
- USART2
- Universal synchronous asynchronous receiver transmitter
- USART6
- Universal synchronous asynchronous receiver transmitter
- WWDG
- Window watchdog