#peripheral

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

#1395 in Hardware support

Download history 638/week @ 2023-12-15 372/week @ 2023-12-22 324/week @ 2023-12-29 797/week @ 2024-01-05 772/week @ 2024-01-12 598/week @ 2024-01-19 609/week @ 2024-01-26 476/week @ 2024-02-02 431/week @ 2024-02-09 710/week @ 2024-02-16 927/week @ 2024-02-23 801/week @ 2024-03-01 894/week @ 2024-03-08 637/week @ 2024-03-15 699/week @ 2024-03-22 633/week @ 2024-03-29

2,991 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

~560–800KB
~10K SLoC