nrf-pac

Crates

0.1.0

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§

aar
adc
ccm
clock
common
ecb
ficr
gpio
gpiote
lpcomp
mpu
nvmc
power
ppi
qdec
radio
rng
rtc
spi
spis
swi
temp
timer
twi
uart
uicr
wdt

Enums§

Interrupt
interrupt

Constants§

AAR
Accelerated Address Resolver.
ADC
Analog to digital converter.
CCM
AES CCM Mode Encryption.
CLOCK
Clock control.
ECB
AES ECB Mode Encryption.
FICR
Factory Information Configuration.
GPIO
General purpose input and output.
GPIOTE
GPIO tasks and events.
LPCOMP
Low power comparator.
MPU
Memory Protection Unit.
NVIC_PRIO_BITS
Number available in the NVIC for configuring priority
NVMC
Non Volatile Memory Controller.
POWER
Power Control.
PPI
PPI controller.
QDEC
Rotary decoder.
RADIO
The radio.
RNG
Random Number Generator.
RTC0
Real time counter 0.
RTC1
Real time counter 1.
SPI0
SPI master 0.
SPI1
SPI master 1.
SPIS1
SPI slave 1.
SWI
SW Interrupts.
TEMP
Temperature Sensor.
TIMER0
Timer 0.
TIMER1
Timer 1.
TIMER2
Timer 2.
TWI0
Two-wire interface master 0.
TWI1
Two-wire interface master 1.
UART0
Universal Asynchronous Receiver/Transmitter.
UICR
User Information Configuration.
WDT
Watchdog Timer.

Attribute Macros§

interrupt