Registry / other / nrf-hal-common

nrf-hal-common

JSON →
library0.19.0rscratesunverified

Shared implementation details for nRF HAL crates; use a specific nRF chip HAL instead.

# Cargo.toml [dependencies] nrf-hal-common = "0.19.0"
INSTALL
IMPORT
SIG · NRF-HAL-COMMON
N
nrf-hal-common
otherrustv0.19.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.

Delay
✓ use nrf_hal_common::hal::delay::Delay;

Creates a delay using the system timer.

use nrf_hal_common::hal::delay::Delay; use nrf_hal_common::pac::Peripherals; fn main() { let p = Peripherals::take().unwrap(); let mut delay = Delay::new(p.SYST); delay.delay_ms(1000); }
Debug
Known issues
gotchaDo not use directly; use a chip-specific HAL like nrf52840-hal.
fix
Replace nrf-hal-common with the appropriate nrfXYZ-hal crate.
affects: >=0.19.0
Upgrade
Version history
0.19.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
nrf-hal-common — cargo add nrf-hal-common · libregistry