Registry / other / stm32f4xx-hal

stm32f4xx-hal

JSON →
library0.23.0rscratesunverified

Hardware abstraction layer for STM32F4 microcontrollers.

# Cargo.toml [dependencies] stm32f4xx-hal = "0.23.0"
INSTALL
IMPORT
SIG · STM32F4XX-HAL
S
stm32f4xx-hal
otherrustv0.23.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Peripherals
✓ use stm32f4xx_hal::pac::Peripherals;

Takes the peripheral singleton for an STM32F4 device.

use stm32f4xx_hal::pac::Peripherals; fn main() { let dp = Peripherals::take().unwrap(); println!("Peripherals acquired"); }
Debug
Known issues
gotchaRequires a specific target and may need `critical-section` feature for some operations.
fix
Set the correct target (e.g., thumbv7em-none-eabihf) and enable `critical-section` feature if needed.
affects: >=0.23.0
Upgrade
Version history
0.23.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
stm32f4xx-hal — cargo add stm32f4xx-hal · libregistry