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
- ccm
- clic
- clock
- common
- comp
- cracen
- cracencore
- ctrlapperi
- dppic
- ecb
- egu
- ficr
- glitchdet
- gpio
- gpiote
- grtc
- i2s
- kmu
- lpcomp
- memconf
- mpc
- nfct
- oscillators
- pdm
- power
- ppib
- pwm
- qdec
- radio
- regulators
- reset
- rramc
- rtc
- saadc
- shared
- sicr
- spim
- spis
- spu
- tad
- tampc
- temp
- timer
- twim
- twis
- uarte
- uicr
- vpr
- wdt
Enums§
Constants§
- AAR00_
NS - Accelerated Address Resolver 0
- AAR00_S
- Accelerated Address Resolver 1
- CCM00_
NS - AES CCM Mode Encryption 0
- CCM00_S
- AES CCM Mode Encryption 1
- CLOCK_
NS - Clock management 0
- CLOCK_S
- Clock management 1
- COMP_NS
- Comparator 0
- COMP_S
- Comparator 1
- CRACENCORE_
S - CRACENCORE
- CRACEN_
S - CRACEN
- CTRLAP_
NS - Control access port 0
- CTRLAP_
S - Control access port 1
- DPPI
C00_ NS - Distributed programmable peripheral interconnect controller 0
- DPPI
C00_ S - Distributed programmable peripheral interconnect controller 1
- DPPI
C10_ NS - Distributed programmable peripheral interconnect controller 2
- DPPI
C10_ S - Distributed programmable peripheral interconnect controller 3
- DPPI
C20_ NS - Distributed programmable peripheral interconnect controller 4
- DPPI
C20_ S - Distributed programmable peripheral interconnect controller 5
- DPPI
C30_ NS - Distributed programmable peripheral interconnect controller 6
- DPPI
C30_ S - Distributed programmable peripheral interconnect controller 7
- ECB00_
NS - AES ECB Mode Encryption 0
- ECB00_S
- AES ECB Mode Encryption 1
- EGU10_
NS - Event generator unit 0
- EGU10_S
- Event generator unit 1
- EGU20_
NS - Event generator unit 2
- EGU20_S
- Event generator unit 3
- FICR_NS
- Factory Information Configuration Registers
- GLITCHDET_
S - Voltage glitch detectors
- GPIOT
E20_ NS - GPIO Tasks and Events 0
- GPIOT
E20_ S - GPIO Tasks and Events 1
- GPIOT
E30_ NS - GPIO Tasks and Events 2
- GPIOT
E30_ S - GPIO Tasks and Events 3
- GRTC_NS
- Global Real-time counter 0
- GRTC_S
- Global Real-time counter 1
- I2S20_
NS - Inter-IC Sound 0
- I2S20_S
- Inter-IC Sound 1
- KMU_S
- Key management unit
- LPCOMP_
NS - Low-power comparator 0
- LPCOMP_
S - Low-power comparator 1
- MEMCONF_
NS - Memory configuration 0
- MEMCONF_
S - Memory configuration 1
- MPC00_S
- Memory Privilege Controller
- NFCT_NS
- NFC-A compatible radio NFC-A compatible radio 0
- NFCT_S
- NFC-A compatible radio NFC-A compatible radio 1
- OSCILLATORS_
NS - Oscillator control 0
- OSCILLATORS_
S - Oscillator control 1
- P0_NS
- GPIO Port 4
- P0_S
- GPIO Port 5
- P1_NS
- GPIO Port 2
- P1_S
- GPIO Port 3
- P2_NS
- GPIO Port 0
- P2_S
- GPIO Port 1
- PDM20_
NS - Pulse Density Modulation (Digital Microphone) Interface 0
- PDM20_S
- Pulse Density Modulation (Digital Microphone) Interface 1
- PDM21_
NS - Pulse Density Modulation (Digital Microphone) Interface 2
- PDM21_S
- Pulse Density Modulation (Digital Microphone) Interface 3
- POWER_
NS - Power control 0
- POWER_S
- Power control 1
- PPIB00_
NS - PPIB APB registers 0
- PPIB00_
S - PPIB APB registers 1
- PPIB01_
NS - PPIB APB registers 2
- PPIB01_
S - PPIB APB registers 3
- PPIB10_
NS - PPIB APB registers 4
- PPIB10_
S - PPIB APB registers 5
- PPIB11_
NS - PPIB APB registers 6
- PPIB11_
S - PPIB APB registers 7
- PPIB20_
NS - PPIB APB registers 8
- PPIB20_
S - PPIB APB registers 9
- PPIB21_
NS - PPIB APB registers 10
- PPIB21_
S - PPIB APB registers 11
- PPIB22_
NS - PPIB APB registers 12
- PPIB22_
S - PPIB APB registers 13
- PPIB30_
NS - PPIB APB registers 14
- PPIB30_
S - PPIB APB registers 15
- PWM20_
NS - Pulse width modulation unit 0
- PWM20_S
- Pulse width modulation unit 1
- PWM21_
NS - Pulse width modulation unit 2
- PWM21_S
- Pulse width modulation unit 3
- PWM22_
NS - Pulse width modulation unit 4
- PWM22_S
- Pulse width modulation unit 5
- QDEC20_
NS - Quadrature Decoder 0
- QDEC20_
S - Quadrature Decoder 1
- QDEC21_
NS - Quadrature Decoder 2
- QDEC21_
S - Quadrature Decoder 3
- RADIO_
NS - 2.4 GHz radio 0
- RADIO_S
- 2.4 GHz radio 1
- REGULATORS_
NS - Voltage regulators 0
- REGULATORS_
S - Voltage regulators 1
- RESET_
NS - Reset control 0
- RESET_S
- Reset control 1
- RRAMC_S
- RRAM controller GLITCH detector
- RTC10_
NS - Real-time counter 0
- RTC10_S
- Real-time counter 1
- RTC30_
NS - Real-time counter 2
- RTC30_S
- Real-time counter 3
- SAADC_
NS - Analog to Digital Converter 0
- SAADC_S
- Analog to Digital Converter 1
- SICR_S
- Factory Information Configuration Registers
- SPIM00_
NS - Serial Peripheral Interface Master with EasyDMA 0
- SPIM00_
S - Serial Peripheral Interface Master with EasyDMA 1
- SPIM20_
NS - Serial Peripheral Interface Master with EasyDMA 2
- SPIM20_
S - Serial Peripheral Interface Master with EasyDMA 3
- SPIM21_
NS - Serial Peripheral Interface Master with EasyDMA 4
- SPIM21_
S - Serial Peripheral Interface Master with EasyDMA 5
- SPIM22_
NS - Serial Peripheral Interface Master with EasyDMA 6
- SPIM22_
S - Serial Peripheral Interface Master with EasyDMA 7
- SPIM30_
NS - Serial Peripheral Interface Master with EasyDMA 8
- SPIM30_
S - Serial Peripheral Interface Master with EasyDMA 9
- SPIS00_
NS - SPI Slave 0
- SPIS00_
S - SPI Slave 1
- SPIS20_
NS - SPI Slave 2
- SPIS20_
S - SPI Slave 3
- SPIS21_
NS - SPI Slave 4
- SPIS21_
S - SPI Slave 5
- SPIS22_
NS - SPI Slave 6
- SPIS22_
S - SPI Slave 7
- SPIS30_
NS - SPI Slave 8
- SPIS30_
S - SPI Slave 9
- SPU00_S
- System protection unit 0
- SPU10_S
- System protection unit 1
- SPU20_S
- System protection unit 2
- SPU30_S
- System protection unit 3
- TAD_NS
- Trace and debug control 0
- TAD_S
- Trace and debug control 1
- TAMPC_S
- Tamper controller
- TEMP_NS
- Temperature Sensor 0
- TEMP_S
- Temperature Sensor 1
- TIME
R00_ NS - Timer/Counter 0
- TIME
R00_ S - Timer/Counter 1
- TIME
R10_ NS - Timer/Counter 2
- TIME
R10_ S - Timer/Counter 3
- TIME
R20_ NS - Timer/Counter 4
- TIME
R20_ S - Timer/Counter 5
- TIME
R21_ NS - Timer/Counter 6
- TIME
R21_ S - Timer/Counter 7
- TIME
R22_ NS - Timer/Counter 8
- TIME
R22_ S - Timer/Counter 9
- TIME
R23_ NS - Timer/Counter 10
- TIME
R23_ S - Timer/Counter 11
- TIME
R24_ NS - Timer/Counter 12
- TIME
R24_ S - Timer/Counter 13
- TWIM20_
NS - I2C compatible Two-Wire Master Interface with EasyDMA 0
- TWIM20_
S - I2C compatible Two-Wire Master Interface with EasyDMA 1
- TWIM21_
NS - I2C compatible Two-Wire Master Interface with EasyDMA 2
- TWIM21_
S - I2C compatible Two-Wire Master Interface with EasyDMA 3
- TWIM22_
NS - I2C compatible Two-Wire Master Interface with EasyDMA 4
- TWIM22_
S - I2C compatible Two-Wire Master Interface with EasyDMA 5
- TWIM30_
NS - I2C compatible Two-Wire Master Interface with EasyDMA 6
- TWIM30_
S - I2C compatible Two-Wire Master Interface with EasyDMA 7
- TWIS20_
NS - I2C compatible Two-Wire Slave Interface with EasyDMA 0
- TWIS20_
S - I2C compatible Two-Wire Slave Interface with EasyDMA 1
- TWIS21_
NS - I2C compatible Two-Wire Slave Interface with EasyDMA 2
- TWIS21_
S - I2C compatible Two-Wire Slave Interface with EasyDMA 3
- TWIS22_
NS - I2C compatible Two-Wire Slave Interface with EasyDMA 4
- TWIS22_
S - I2C compatible Two-Wire Slave Interface with EasyDMA 5
- TWIS30_
NS - I2C compatible Two-Wire Slave Interface with EasyDMA 6
- TWIS30_
S - I2C compatible Two-Wire Slave Interface with EasyDMA 7
- UART
E00_ NS - UART with EasyDMA 0
- UART
E00_ S - UART with EasyDMA 1
- UART
E20_ NS - UART with EasyDMA 2
- UART
E20_ S - UART with EasyDMA 3
- UART
E21_ NS - UART with EasyDMA 4
- UART
E21_ S - UART with EasyDMA 5
- UART
E22_ NS - UART with EasyDMA 6
- UART
E22_ S - UART with EasyDMA 7
- UART
E30_ NS - UART with EasyDMA 8
- UART
E30_ S - UART with EasyDMA 9
- UICR_S
- User Information Configuration Registers
- VPR00_
NS - VPR peripheral registers 0
- VPR00_S
- VPR peripheral registers 1
- VPRCLIC_
NS - VPR CLIC registers
- WDT30_S
- Watchdog Timer 0
- WDT31_
NS - Watchdog Timer 1
- WDT31_S
- Watchdog Timer 2