{"id":67237,"library":"nrf52840-pac","title":"nRF52840 PAC","description":"Peripheral Access Crate for Nordic's nrf52840 microcontroller, providing low-level hardware access.","status":"active","version":"0.12.2","language":"rust","source_language":null,"source_url":"https://github.com/nrf-rs/nrf-pacs","tags":["nrf52840","pac","microcontroller","embedded","arm"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nnrf52840-pac = \"0.12.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add nrf52840-pac","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Peripherals","correct":"use nrf52840_pac::Peripherals;"}],"quickstart":{"code":"use nrf52840_pac::Peripherals;\n\nfn main() {\n    let periph = Peripherals::take().unwrap();\n    println!(\"Peripherals acquired: {:?}\", periph);\n}","lang":"rust","description":"Take ownership of the nRF52840 peripherals."},"warnings":[{"fix":"Add `critical-section` feature: `nrf52840-pac = { version = \"0.12\", features = [\"critical-section\"] }`","message":"Requires `critical-section` feature for safe peripheral access in multi-core or interrupt contexts.","severity":"gotcha","affected_versions":">=0.10.0"}],"env_vars":null,"search_vec":"'access':4,16 'arm':21 'crate':5 'embed':20 'hardwar':15 'level':14 'low':13 'low-level':12 'microcontrol':10,19 'nordic':7 'nrf52840':1,9,17 'pac':2,18 'peripher':3 'provid':11","created_at":"2026-06-17T17:34:38.706993+00:00","updated_at":"2026-06-17T17:34:38.706993+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/nrf-rs/nrf-pacs","github":"https://github.com/nrf-rs/nrf-pacs","docs":"https://docs.rs/nrf52840-pac/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}