#cortex-m #peripheral #micro-controller

no-std nrf52840-pac

Peripheral Access Crate for Nordic's nrf52840 microcontroller

11 unstable releases (5 breaking)

0.12.2 Sep 28, 2022
0.12.1 Sep 28, 2022
0.11.0 Feb 4, 2022
0.10.1 Aug 19, 2021
0.6.0-beta.2 Nov 18, 2018

#7 in #peripheral

Download history 758/week @ 2024-06-13 824/week @ 2024-06-20 556/week @ 2024-06-27 698/week @ 2024-07-04 705/week @ 2024-07-11 551/week @ 2024-07-18 567/week @ 2024-07-25 860/week @ 2024-08-01 721/week @ 2024-08-08 847/week @ 2024-08-15 609/week @ 2024-08-22 911/week @ 2024-08-29 996/week @ 2024-09-05 1001/week @ 2024-09-12 976/week @ 2024-09-19 1007/week @ 2024-09-26

4,052 downloads per month
Used in 28 crates (10 directly)

0BSD license

6MB
182K 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

~0.6–0.8MB
~11K SLoC