Registry / other / nrf52811-pac

nrf52811-pac

JSON →
library0.12.2rscratesunverified

Peripheral Access Crate for Nordic's nRF52811 microcontroller, providing low-level hardware access.

# Cargo.toml [dependencies] nrf52811-pac = "0.12.2"
INSTALL
IMPORT
SIG · NRF52811-PAC
N
nrf52811-pac
otherrustv0.12.2
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 nrf52811_pac::Peripherals;

Take ownership of the microcontroller's peripherals.

use nrf52811_pac::Peripherals; fn main() { let periph = Peripherals::take().unwrap(); let _uart = periph.UARTE0; }
Debug
Known issues
gotchaRequires `critical-section` feature for safe peripheral access; missing feature leads to compile errors.
fix
Add `critical-section` feature in Cargo.toml: `nrf52811-pac = { features = ["critical-section"] }`
affects: >=0.12.0
Upgrade
Version history
0.12.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
nrf52811-pac — cargo add nrf52811-pac · libregistry