#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

#802 in Hardware support

Download history 20/week @ 2023-12-11 37/week @ 2023-12-18 36/week @ 2023-12-25 23/week @ 2024-01-01 114/week @ 2024-01-08 89/week @ 2024-01-15 51/week @ 2024-01-22 98/week @ 2024-01-29 74/week @ 2024-02-05 233/week @ 2024-02-12 268/week @ 2024-02-19 323/week @ 2024-02-26 595/week @ 2024-03-04 778/week @ 2024-03-11 690/week @ 2024-03-18 653/week @ 2024-03-25

2,742 downloads per month
Used in 8 crates (3 directly)

0BSD license

2MB
70K SLoC

PACs for nRF microcontrollers

CI

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.

Crates

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

Dependencies

~560–800KB
~10K SLoC