nrf-pac

Crates

git

Versions

nrf51

Flavors

Crate nrf_pac

Source
Expand description

§nrf-pac

This is a Peripheral Access Crate for Nordic Semiconductor nRF microcontrollers.

This crate has been automatically generated from the SVD files in nrfx, using chiptool. Fixes are added to the SVD file to make the crate more amenable to writing HALs with, such as converting sets of identical registers/fields to arrays, merging identical registers and enums, etc.

This crate is used for the embassy-nrf Rust Hardware Abstraction Layer (HAL) for the nRF microcontrollers.

§Supported chips

  • nRF51xx
  • nRF52805
  • nRF52810
  • nRF52811
  • nRF52820
  • nRF52832
  • nRF52833
  • nRF52840
  • nRF5340 appplication core
  • nRF5340 network core
  • nRF54L15 appplication core
  • nRF9120 (SoC used in nRF9131, nRF9161 and nRF9151)
  • nRF9160

§License

The contents of this crate are auto-generated and licensed under the same terms as the underlying SVD file, which is licensed by Nordic Semiconductor under a BSD-3-Clause license.

Modules§

Enums§

Constants§

  • Accelerated Address Resolver.
  • Analog to digital converter.
  • AES CCM Mode Encryption.
  • Clock control.
  • AES ECB Mode Encryption.
  • Factory Information Configuration.
  • General purpose input and output.
  • GPIO tasks and events.
  • Low power comparator.
  • Memory Protection Unit.
  • Number available in the NVIC for configuring priority
  • Non Volatile Memory Controller.
  • Power Control.
  • PPI controller.
  • Rotary decoder.
  • The radio.
  • Random Number Generator.
  • Real time counter 0.
  • Real time counter 1.
  • SPI master 0.
  • SPI master 1.
  • SPI slave 1.
  • SW Interrupts.
  • Temperature Sensor.
  • Timer 0.
  • Timer 1.
  • Timer 2.
  • Two-wire interface master 0.
  • Two-wire interface master 1.
  • Universal Asynchronous Receiver/Transmitter.
  • User Information Configuration.
  • Watchdog Timer.

Attribute Macros§