Expand description
Multi device hardware abstraction on top of the peripheral access API for the STMicro STM32F4 series microcontrollers.
§Feature flags
Use one of the supported STM32-serie related features:
stm32f401, stm32f405, stm32f407, stm32f415, stm32f417, stm32f410,
stm32f411, stm32f412, stm32f413, stm32f423, stm32f427, stm32f429,
stm32f437, stm32f439, stm32f446, stm32f469, stm32f479.
-
rtic1— Support monotonic timers and other stuff that can be used by RTICv1 framework -
rtic2— Support monotonic timers and other stuff that can be used by RTICv2 frameworkRequires nightly rust compiler
-
defmt— Implementation ofdefmt::Formatfor public enums and structures. See defmt -
can— bxCAN peripheral support. See bxcan -
i2s— I2S peripheral support. See stm32_i2s_v12x -
usb_fs— USB OTG-FS peripheral support. See synopsys-usb-otg -
usb_hs— USB OTG-HS peripheral support. See synopsys-usb-otg -
fsmc_lcd— LCD support via FMC/FSMC peripheral. See display-interface -
sdio-host— SDIO peripheral support. See sdio-host
Re-exports§
pub use embedded_hal as hal;pub use embedded_hal_02 as hal_02;pub use nb;
Modules§
- adc
- Analog to digital converter configuration.
- bb
- Bit banding
- can
- Controller Area Network (CAN) Interface
- crc32
- CRC32 Calculation Unit
- dac
- API for the Digital to Analog converter
- dma
- Direct Memory Access.
- dwt
- Debug and trace and stuff
- flash
- fsmc_
lcd - LCD interface using the Flexible Memory Controller (FMC) / Flexible Static Memory Controller (FSMC)
- gpio
- General Purpose Input / Output
- i2c
- i2s
- I2S (inter-IC Sound) communication using SPI peripherals
- ltdc
- Interface to the LCD-TFT display controller
- otg_fs
- USB OTG full-speed peripheral
- otg_hs
- USB OTG high-speed peripheral
- pac
- Re-export of the svd2rust auto-generated API for the stm32f429 peripherals. Peripheral access API for STM32F429 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))
- pacext
- prelude
- Convenience re-export of multiple traits.
- qei
- Quadrature Encoder Interface
- rcc
- Clock configuration.
- rng
- Hardware random number generator.
- rtc
- Interface to the real time clock. See STM32F303 reference manual, section 27. For more details, see ST AN4759
- sai
- Serial Audio Interface.
- sdio
- Sdio host
- serial
- Asynchronous serial communication using USART peripherals
- signature
- Device electronic signature
- spi
- syscfg
- time
- timer
- Timers
- watchdog
- Watchdog peripherals
Macros§
- block
- Turns the non-blocking expression
$einto a blocking operation.
Enums§
- interrupt
- Enumeration of all the interrupts.