nrf-pac

Crates

0.1.0

Versions

nrf52811

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
approtect
bprot
ccm
clock
common
comp
ecb
egu
ficr
gpio
gpiote
nvmc
pdm
power
ppi
pwm
qdec
radio
rng
rtc
saadc
shared
spi
spim
spis
swi
temp
timer
twi
twim
twis
uart
uarte
uicr
wdt

Enums§

Interrupt
interrupt

Constants§

AAR
Accelerated Address Resolver
APPROTECT
Access Port Protection
BPROT
Block Protect
CCM
AES CCM mode encryption
CLOCK
Clock control
COMP
Comparator
ECB
AES ECB Mode Encryption
EGU0
Event generator unit 0
EGU1
Event generator unit 1
FICR
Factory information configuration registers
GPIOTE
GPIO Tasks and Events
NVIC_PRIO_BITS
Number available in the NVIC for configuring priority
NVMC
Non-volatile memory controller
P0
GPIO Port
PDM
Pulse Density Modulation (Digital Microphone) Interface
POWER
Power control
PPI
Programmable Peripheral Interconnect
PWM0
Pulse width modulation unit
QDEC
Quadrature Decoder
RADIO
2.4 GHz radio
RNG
Random Number Generator
RTC0
Real time counter 0
RTC1
Real time counter 1
SAADC
Analog to Digital Converter
SPI0
Serial Peripheral Interface 1
SPI1
Serial Peripheral Interface 0
SPIM0
Serial Peripheral Interface Master with EasyDMA 1
SPIM1
Serial Peripheral Interface Master with EasyDMA 0
SPIS0
SPI Slave 1
SPIS1
SPI Slave 0
SWI0
Software interrupt 0
SWI1
Software interrupt 1
SWI2
Software interrupt 2
SWI3
Software interrupt 3
SWI4
Software interrupt 4
SWI5
Software interrupt 5
TEMP
Temperature Sensor
TIMER0
Timer/Counter 0
TIMER1
Timer/Counter 1
TIMER2
Timer/Counter 2
TWI0
I2C compatible Two-Wire Interface
TWIM0
I2C compatible Two-Wire Master Interface with EasyDMA
TWIS0
I2C compatible Two-Wire Slave Interface with EasyDMA
UART0
Universal Asynchronous Receiver/Transmitter
UARTE0
UART with EasyDMA
UICR
User information configuration registers
WDT
Watchdog Timer

Attribute Macros§

interrupt