Registry / other / embassy-nrf

embassy-nrf

JSON →
library0.9.0rscratesunverified

Embassy Hardware Abstraction Layer (HAL) for nRF series microcontrollers.

# Cargo.toml [dependencies] embassy-nrf = "0.9.0"
INSTALL
IMPORT
SIG · EMBASSY-NRF
E
embassy-nrf
otherrustv0.9.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.

UARTE0
use embassy_nrf::peripherals::UARTE0;

Initialize UART on an nRF microcontroller.

use embassy_nrf::peripherals::UARTE0; use embassy_nrf::uart::Uarte; #[embassy_executor::main] async fn main(spawner: embassy_executor::Spawner) { let p = embassy_nrf::init(Default::default()); let mut uart = Uarte::new(p.UARTE0, ...); uart.write(b"Hello\n").await.unwrap(); }
Debug
Known issues
gotchaRequires embassy-executor and correct chip feature.
fix
Add embassy-executor and select nrf52/nrf91 feature.
affects: >=0.9.0
Upgrade
Version history
0.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
embassy-nrf — cargo add embassy-nrf · libregistry