#peripheral #cortex-m #nrf #arm

no-std nrf51-pac

Peripheral Access Crate for Nordic's nrf51 microcontroller

6 releases

0.12.2 Sep 28, 2022
0.12.1 Sep 28, 2022
0.11.0 Feb 4, 2022
0.10.1 Aug 19, 2021

#969 in Hardware support

Download history 879/week @ 2024-03-14 614/week @ 2024-03-21 582/week @ 2024-03-28 491/week @ 2024-04-04 414/week @ 2024-04-11 631/week @ 2024-04-18 323/week @ 2024-04-25 440/week @ 2024-05-02 421/week @ 2024-05-09 448/week @ 2024-05-16 533/week @ 2024-05-23 204/week @ 2024-05-30 250/week @ 2024-06-06 324/week @ 2024-06-13 339/week @ 2024-06-20 242/week @ 2024-06-27

1,176 downloads per month
Used in 9 crates (3 directly)

0BSD license

70K SLoC

PACs for nRF microcontrollers


This repository contains Peripheral Access Crates (PACs) for Nordic's nRF series of Cortex-M microcontrollers.

All these crates are automatically generated using svd2rust.

For a more user-friendly interface to the peripherals, the nrf-hal crates might be more appropriate.

Please refer to the changelog to see what changed in the last releases.


Every nRF chip has its own PAC, listed below:

Crate Docs crates.io target
nrf51-pac docs.rs crates.io thumbv6m-none-eabi
nrf52805-pac docs.rs crates.io thumbv7em-none-eabi
nrf52810-pac docs.rs crates.io thumbv7em-none-eabi
nrf52811-pac docs.rs crates.io thumbv7em-none-eabi
nrf52820-pac docs.rs crates.io thumbv7em-none-eabi
nrf52832-pac docs.rs crates.io thumbv7em-none-eabihf
nrf52833-pac docs.rs crates.io thumbv7em-none-eabihf
nrf52840-pac docs.rs crates.io thumbv7em-none-eabihf
nrf5340-app-pac docs.rs crates.io thumbv8m.main-none-eabihf
nrf5340-net-pac docs.rs crates.io thumbv8m.main-none-eabihf
nrf9160-pac docs.rs crates.io thumbv8m.main-none-eabihf

Device Reference Manuals from Nordic

Device Product Specification DK Reference Guide
nRF52805 v1.2 v1.3.1*
nRF52810 v1.3 v1.3.1*
nRF52811 v1.0 v1.3.1*
nRF52820 v1.0 v1.0.1
nRF52832 v1.4 v1.3.1*
nRF52833 v1.3 v1.0.1
nRF52840 v1.1 v1.2
nRF5340 v1.1 v1.0.0
nRF9160 v2.0 v0.9.3

* These devices do not have a separate development kit and share the NRF52 DK


~11K SLoC