Expand description
Peripheral access API for NRF5340_APPLICATION microcontrollers (generated using svd2rust v0.25.1 ( ))
You can find an overview of the generated API here.
API features to be included in the next
svd2rust release can be generated by cloning the svd2rust repository, checking out the above commit, and running cargo doc --open
.
Re-exports§
pub use dcnf_ns as dcnf_s;
pub use fpu_ns as fpu_s;
pub use oscillators_ns as oscillators_s;
pub use regulators_ns as regulators_s;
pub use clock_ns as clock_s;
pub use power_ns as power_s;
pub use reset_ns as reset_s;
pub use ctrlap_ns as ctrlap_s;
pub use spim0_ns as spim0_s;
pub use spis0_ns as spis0_s;
pub use twim0_ns as twim0_s;
pub use twis0_ns as twis0_s;
pub use uarte0_ns as uarte0_s;
pub use spim0_ns as spim1_ns;
pub use spis0_ns as spis1_ns;
pub use twim0_ns as twim1_ns;
pub use twis0_ns as twis1_ns;
pub use uarte0_ns as uarte1_ns;
pub use spim0_ns as spim1_s;
pub use spis0_ns as spis1_s;
pub use twim0_ns as twim1_s;
pub use twis0_ns as twis1_s;
pub use uarte0_ns as uarte1_s;
pub use spim0_ns as spim4_ns;
pub use spim0_ns as spim4_s;
pub use spim0_ns as spim2_ns;
pub use spis0_ns as spis2_ns;
pub use twim0_ns as twim2_ns;
pub use twis0_ns as twis2_ns;
pub use uarte0_ns as uarte2_ns;
pub use spim0_ns as spim2_s;
pub use spis0_ns as spis2_s;
pub use twim0_ns as twim2_s;
pub use twis0_ns as twis2_s;
pub use uarte0_ns as uarte2_s;
pub use spim0_ns as spim3_ns;
pub use spis0_ns as spis3_ns;
pub use twim0_ns as twim3_ns;
pub use twis0_ns as twis3_ns;
pub use uarte0_ns as uarte3_ns;
pub use spim0_ns as spim3_s;
pub use spis0_ns as spis3_s;
pub use twim0_ns as twim3_s;
pub use twis0_ns as twis3_s;
pub use uarte0_ns as uarte3_s;
pub use saadc_ns as saadc_s;
pub use timer0_ns as timer0_s;
pub use timer0_ns as timer1_ns;
pub use timer0_ns as timer1_s;
pub use timer0_ns as timer2_ns;
pub use timer0_ns as timer2_s;
pub use rtc0_ns as rtc0_s;
pub use rtc0_ns as rtc1_ns;
pub use rtc0_ns as rtc1_s;
pub use dppic_ns as dppic_s;
pub use wdt0_ns as wdt0_s;
pub use wdt0_ns as wdt1_ns;
pub use wdt0_ns as wdt1_s;
pub use comp_ns as comp_s;
pub use lpcomp_ns as lpcomp_s;
pub use egu0_ns as egu0_s;
pub use egu0_ns as egu1_ns;
pub use egu0_ns as egu1_s;
pub use egu0_ns as egu2_ns;
pub use egu0_ns as egu2_s;
pub use egu0_ns as egu3_ns;
pub use egu0_ns as egu3_s;
pub use egu0_ns as egu4_ns;
pub use egu0_ns as egu4_s;
pub use egu0_ns as egu5_ns;
pub use egu0_ns as egu5_s;
pub use pwm0_ns as pwm0_s;
pub use pwm0_ns as pwm1_ns;
pub use pwm0_ns as pwm1_s;
pub use pwm0_ns as pwm2_ns;
pub use pwm0_ns as pwm2_s;
pub use pwm0_ns as pwm3_ns;
pub use pwm0_ns as pwm3_s;
pub use pdm0_ns as pdm0_s;
pub use i2s0_ns as i2s0_s;
pub use ipc_ns as ipc_s;
pub use qspi_ns as qspi_s;
pub use nfct_ns as nfct_s;
pub use gpiote0_s as gpiote1_ns;
pub use mutex_ns as mutex_s;
pub use qdec0_ns as qdec0_s;
pub use qdec0_ns as qdec1_ns;
pub use qdec0_ns as qdec1_s;
pub use usbd_ns as usbd_s;
pub use usbregulator_ns as usbregulator_s;
pub use kmu_ns as kmu_s;
pub use nvmc_ns as nvmc_s;
pub use p0_ns as p1_ns;
pub use p0_ns as p0_s;
pub use p0_ns as p1_s;
pub use vmc_ns as vmc_s;
Modules§
- cache_s
- Cache
- cachedata_
s - CACHEDATA
- cacheinfo_
s - CACHEINFO
- clock_
ns - Clock management 0
- comp_ns
- Comparator 0
- cryptocell_
s - ARM TrustZone CryptoCell register interface
- cti_s
- Cross-Trigger Interface control. NOTE: this is not a separate peripheral, but describes CM33 functionality.
- ctrlap_
ns - Control access port 0
- dcnf_ns
- Domain configuration management 0
- dppic_
ns - Distributed programmable peripheral interconnect controller 0
- egu0_ns
- Event generator unit 0
- ficr_s
- Factory Information Configuration Registers
- fpu_ns
- FPU control peripheral 0
- generic
- Common register and bit access and modify traits
- gpiote0_
s - GPIO Tasks and Events 0
- i2s0_ns
- Inter-IC Sound 0
- ipc_ns
- Interprocessor communication 0
- kmu_ns
- Key management unit 0
- lpcomp_
ns - Low-power comparator 0
- mutex_
ns - MUTEX 0
- nfct_ns
- NFC-A compatible radio 0
- nvmc_ns
- Non-volatile memory controller 0
- oscillators_
ns - Oscillator control 0
- p0_ns
- GPIO Port 0
- pdm0_ns
- Pulse Density Modulation (Digital Microphone) Interface 0
- power_
ns - Power control 0
- pwm0_ns
- Pulse width modulation unit 0
- qdec0_
ns - Quadrature Decoder 0
- qspi_ns
- External flash interface 0
- regulators_
ns - Voltage regulators 0
- reset_
ns - Reset control 0
- rtc0_ns
- Real-time counter 0
- saadc_
ns - Analog to Digital Converter 0
- spim0_
ns - Serial Peripheral Interface Master with EasyDMA 0
- spis0_
ns - SPI Slave 0
- spu_s
- System protection unit
- tad_s
- Trace and debug control
- timer0_
ns - Timer/Counter 0
- twim0_
ns - I2C compatible Two-Wire Master Interface with EasyDMA 0
- twis0_
ns - I2C compatible Two-Wire Slave Interface with EasyDMA 0
- uarte0_
ns - UART with EasyDMA 0
- uicr_s
- User Information Configuration Registers User information configuration registers
- usbd_ns
- Universal serial bus device 0
- usbregulator_
ns - USB Regulator 0
- vmc_ns
- Volatile Memory controller 0
- wdt0_ns
- Watchdog Timer 0
Structs§
- CACHEDATA_
S - CACHEDATA
- CACHEINFO_
S - CACHEINFO
- CACHE_S
- Cache
- CBP
- Cache and branch predictor maintenance operations
- CLOCK_
NS - Clock management 0
- CLOCK_S
- Clock management 1
- COMP_NS
- Comparator 0
- COMP_S
- Comparator 1
- CPUID
- CPUID
- CRYPTOCELL_
S - ARM TrustZone CryptoCell register interface
- CTI_S
- Cross-Trigger Interface control. NOTE: this is not a separate peripheral, but describes CM33 functionality.
- CTRLAP_
NS - Control access port 0
- CTRLAP_
S - Control access port 1
- Core
Peripherals - Core peripherals
- DCB
- Debug Control Block
- DCNF_NS
- Domain configuration management 0
- DCNF_S
- Domain configuration management 1
- DPPIC_
NS - Distributed programmable peripheral interconnect controller 0
- DPPIC_S
- Distributed programmable peripheral interconnect controller 1
- DWT
- Data Watchpoint and Trace unit
- EGU0_NS
- Event generator unit 0
- EGU0_S
- Event generator unit 1
- EGU1_NS
- Event generator unit 2
- EGU1_S
- Event generator unit 3
- EGU2_NS
- Event generator unit 4
- EGU2_S
- Event generator unit 5
- EGU3_NS
- Event generator unit 6
- EGU3_S
- Event generator unit 7
- EGU4_NS
- Event generator unit 8
- EGU4_S
- Event generator unit 9
- EGU5_NS
- Event generator unit 10
- EGU5_S
- Event generator unit 11
- FICR_S
- Factory Information Configuration Registers
- FPB
- Flash Patch and Breakpoint unit
- FPU
- Floating Point Unit
- FPU_NS
- FPU control peripheral 0
- FPU_S
- FPU control peripheral 1
- GPIOT
E0_ S - GPIO Tasks and Events 0
- GPIOT
E1_ NS - GPIO Tasks and Events 1
- I2S0_NS
- Inter-IC Sound 0
- I2S0_S
- Inter-IC Sound 1
- IPC_NS
- Interprocessor communication 0
- IPC_S
- Interprocessor communication 1
- ITM
- Instrumentation Trace Macrocell
- KMU_NS
- Key management unit 0
- KMU_S
- Key management unit 1
- LPCOMP_
NS - Low-power comparator 0
- LPCOMP_
S - Low-power comparator 1
- MPU
- Memory Protection Unit
- MUTEX_
NS - MUTEX 0
- MUTEX_S
- MUTEX 1
- NFCT_NS
- NFC-A compatible radio 0
- NFCT_S
- NFC-A compatible radio 1
- NVIC
- Nested Vector Interrupt Controller
- NVMC_NS
- Non-volatile memory controller 0
- NVMC_S
- Non-volatile memory controller 1
- OSCILLATORS_
NS - Oscillator control 0
- OSCILLATORS_
S - Oscillator control 1
- P0_NS
- GPIO Port 0
- P0_S
- GPIO Port 2
- P1_NS
- GPIO Port 1
- P1_S
- GPIO Port 3
- PDM0_NS
- Pulse Density Modulation (Digital Microphone) Interface 0
- PDM0_S
- Pulse Density Modulation (Digital Microphone) Interface 1
- POWER_
NS - Power control 0
- POWER_S
- Power control 1
- PWM0_NS
- Pulse width modulation unit 0
- PWM0_S
- Pulse width modulation unit 1
- PWM1_NS
- Pulse width modulation unit 2
- PWM1_S
- Pulse width modulation unit 3
- PWM2_NS
- Pulse width modulation unit 4
- PWM2_S
- Pulse width modulation unit 5
- PWM3_NS
- Pulse width modulation unit 6
- PWM3_S
- Pulse width modulation unit 7
- Peripherals
- All the peripherals
- QDEC0_
NS - Quadrature Decoder 0
- QDEC0_S
- Quadrature Decoder 1
- QDEC1_
NS - Quadrature Decoder 2
- QDEC1_S
- Quadrature Decoder 3
- QSPI_NS
- External flash interface 0
- QSPI_S
- External flash interface 1
- REGULATORS_
NS - Voltage regulators 0
- REGULATORS_
S - Voltage regulators 1
- RESET_
NS - Reset control 0
- RESET_S
- Reset control 1
- RTC0_NS
- Real-time counter 0
- RTC0_S
- Real-time counter 1
- RTC1_NS
- Real-time counter 2
- RTC1_S
- Real-time counter 3
- SAADC_
NS - Analog to Digital Converter 0
- SAADC_S
- Analog to Digital Converter 1
- SCB
- System Control Block
- SPIM0_
NS - Serial Peripheral Interface Master with EasyDMA 0
- SPIM0_S
- Serial Peripheral Interface Master with EasyDMA 1
- SPIM1_
NS - Serial Peripheral Interface Master with EasyDMA 2
- SPIM1_S
- Serial Peripheral Interface Master with EasyDMA 3
- SPIM2_
NS - Serial Peripheral Interface Master with EasyDMA 6
- SPIM2_S
- Serial Peripheral Interface Master with EasyDMA 7
- SPIM3_
NS - Serial Peripheral Interface Master with EasyDMA 8
- SPIM3_S
- Serial Peripheral Interface Master with EasyDMA 9
- SPIM4_
NS - Serial Peripheral Interface Master with EasyDMA 4
- SPIM4_S
- Serial Peripheral Interface Master with EasyDMA 5
- SPIS0_
NS - SPI Slave 0
- SPIS0_S
- SPI Slave 1
- SPIS1_
NS - SPI Slave 2
- SPIS1_S
- SPI Slave 3
- SPIS2_
NS - SPI Slave 4
- SPIS2_S
- SPI Slave 5
- SPIS3_
NS - SPI Slave 6
- SPIS3_S
- SPI Slave 7
- SPU_S
- System protection unit
- SYST
- SysTick: System Timer
- TAD_S
- Trace and debug control
- TIME
R0_ NS - Timer/Counter 0
- TIME
R0_ S - Timer/Counter 1
- TIME
R1_ NS - Timer/Counter 2
- TIME
R1_ S - Timer/Counter 3
- TIME
R2_ NS - Timer/Counter 4
- TIME
R2_ S - Timer/Counter 5
- TPIU
- Trace Port Interface Unit
- TWIM0_
NS - I2C compatible Two-Wire Master Interface with EasyDMA 0
- TWIM0_S
- I2C compatible Two-Wire Master Interface with EasyDMA 1
- TWIM1_
NS - I2C compatible Two-Wire Master Interface with EasyDMA 2
- TWIM1_S
- I2C compatible Two-Wire Master Interface with EasyDMA 3
- TWIM2_
NS - I2C compatible Two-Wire Master Interface with EasyDMA 4
- TWIM2_S
- I2C compatible Two-Wire Master Interface with EasyDMA 5
- TWIM3_
NS - I2C compatible Two-Wire Master Interface with EasyDMA 6
- TWIM3_S
- I2C compatible Two-Wire Master Interface with EasyDMA 7
- TWIS0_
NS - I2C compatible Two-Wire Slave Interface with EasyDMA 0
- TWIS0_S
- I2C compatible Two-Wire Slave Interface with EasyDMA 1
- TWIS1_
NS - I2C compatible Two-Wire Slave Interface with EasyDMA 2
- TWIS1_S
- I2C compatible Two-Wire Slave Interface with EasyDMA 3
- TWIS2_
NS - I2C compatible Two-Wire Slave Interface with EasyDMA 4
- TWIS2_S
- I2C compatible Two-Wire Slave Interface with EasyDMA 5
- TWIS3_
NS - I2C compatible Two-Wire Slave Interface with EasyDMA 6
- TWIS3_S
- I2C compatible Two-Wire Slave Interface with EasyDMA 7
- UART
E0_ NS - UART with EasyDMA 0
- UART
E0_ S - UART with EasyDMA 1
- UART
E1_ NS - UART with EasyDMA 2
- UART
E1_ S - UART with EasyDMA 3
- UART
E2_ NS - UART with EasyDMA 4
- UART
E2_ S - UART with EasyDMA 5
- UART
E3_ NS - UART with EasyDMA 6
- UART
E3_ S - UART with EasyDMA 7
- UICR_S
- User Information Configuration Registers User information configuration registers
- USBD_NS
- Universal serial bus device 0
- USBD_S
- Universal serial bus device 1
- USBREGULATOR_
NS - USB Regulator 0
- USBREGULATOR_
S - USB Regulator 1
- VMC_NS
- Volatile Memory controller 0
- VMC_S
- Volatile Memory controller 1
- WDT0_NS
- Watchdog Timer 0
- WDT0_S
- Watchdog Timer 1
- WDT1_NS
- Watchdog Timer 2
- WDT1_S
- Watchdog Timer 3
Enums§
- Interrupt
- Enumeration of all the interrupts.
Constants§
- NVIC_
PRIO_ BITS - Number available in the NVIC for configuring priority