Expand description
§nxp-pac
This is a Peripheral Access Crate for NXP microcontrollers.
This crate has been automatically generated from the SVD files in NXP’s mcux-soc-svd repo, 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 will (hopefully) be used for embassy-nxp Rust Hardware Abstraction Layer (HAL) for the NXP microcontrollers.
§Cloning
If you want to regenerate the pac, you need to clone with --recursive.
If you forgot this, you can use git submodule update --checkout --init to fetch the submodules.
§License
The contents of this crate are auto-generated and licensed under the same terms as the underlying SVD file, which is licensed by NXP under a BSD-3-Clause license.
Modules§
- adc0
- ahb_
secure_ ctrl - anactrl
- casper
- common
- crc_
engine - ctimer
- dbgmailbox
- dma
- flash
- flash_
cfpa - flash_
cmpa - flash_
key_ store - flexcomm
- gint
- gpio
- hashcrypt
- i2c
- i2s
- inputmux
- iocon
- mailbox
- mrt0
- ostimer
- pint
- plu
- pmc
- powerquad
- prince
- puf
- rng
- rtc
- scn_scb
- sct0
- sdif
- secgpio
- spi
- syscon
- sysctl
- usart
- usb0
- usbfsh
- usbhsd
- usbhsh
- usbphy
- utick0
- wwdt
Enums§
Constants§
- ADC0
- ADC
- AHB_
SECURE_ CTRL - AHB secure controller
- ANACTRL
- ANALOGCTRL
- CASPER
- CASPER
- CRC_
ENGINE - CRC engine
- CTIMER0
- Standard counter/timers (CTIMER0 to 4)
- CTIMER1
- Standard counter/timers (CTIMER0 to 4)
- CTIMER2
- Standard counter/timers (CTIMER0 to 4)
- CTIMER3
- Standard counter/timers (CTIMER0 to 4)
- CTIMER4
- Standard counter/timers (CTIMER0 to 4)
- DBGMAILBOX
- MCU Debugger Mailbox
- DMA0
- DMA controller
- DMA1
- DMA controller
- FLASH
- FLASH
- FLASH_
CFPA0 - FLASH_CFPA
- FLASH_
CFPA1 - FLASH_CFPA
- FLASH_
CFPA_ SCRATCH - FLASH_CFPA
- FLASH_
CMPA - FLASH_CMPA
- FLASH_
KEY_ STORE - FLASH_KEY_STORE
- FLEXCOM
M0 - Flexcomm serial communication
- FLEXCOM
M1 - Flexcomm serial communication
- FLEXCOM
M2 - Flexcomm serial communication
- FLEXCOM
M3 - Flexcomm serial communication
- FLEXCOM
M4 - Flexcomm serial communication
- FLEXCOM
M5 - Flexcomm serial communication
- FLEXCOM
M6 - Flexcomm serial communication
- FLEXCOM
M7 - Flexcomm serial communication
- FLEXCOM
M8 - Flexcomm serial communication
- GINT0
- Group GPIO input interrupt (GINT0/1)
- GINT1
- Group GPIO input interrupt (GINT0/1)
- GPIO
- General Purpose I/O (GPIO)
- HASHCRYPT
- Hash-Crypt peripheral
- I2C0
- I2C-bus interfaces
- I2C1
- I2C-bus interfaces
- I2C2
- I2C-bus interfaces
- I2C3
- I2C-bus interfaces
- I2C4
- I2C-bus interfaces
- I2C5
- I2C-bus interfaces
- I2C6
- I2C-bus interfaces
- I2C7
- I2C-bus interfaces
- I2S0
- I2S interface
- I2S1
- I2S interface
- I2S2
- I2S interface
- I2S3
- I2S interface
- I2S4
- I2S interface
- I2S5
- I2S interface
- I2S6
- I2S interface
- I2S7
- I2S interface
- INPUTMUX
- Input multiplexing (INPUT MUX)
- IOCON
- I/O pin configuration (IOCON)
- MAILBOX
- Mailbox
- MRT0
- Multi-Rate Timer (MRT)
- NVIC_
PRIO_ BITS - Number available in the NVIC for configuring priority
- OSTIMER
- Synchronous OS/Event timer with Wakeup Timer
- PINT
- Pin interrupt and pattern match (PINT)
- PLU
- LPC80X Programmable Logic Unit (PLU)
- PMC
- PMC
- POWERQUAD
- Digital Signal Co-Processing companion to a Cortex-M v8M CPU core
- PRINCE
- PRINCE
- PUF
- PUFCTRL
- RNG
- RNG
- RTC
- Real-Time Clock (RTC)
- SCNSCB
- no description available
- SCT0
- SCTimer/PWM (SCT)
- SDIF
- SDMMC
- SECGPIO
- General Purpose I/O (GPIO)
- SECPINT
- Pin interrupt and pattern match (PINT)
- SPI0
- Serial Peripheral Interfaces (SPI)
- SPI1
- Serial Peripheral Interfaces (SPI)
- SPI2
- Serial Peripheral Interfaces (SPI)
- SPI3
- Serial Peripheral Interfaces (SPI)
- SPI4
- Serial Peripheral Interfaces (SPI)
- SPI5
- Serial Peripheral Interfaces (SPI)
- SPI6
- Serial Peripheral Interfaces (SPI)
- SPI7
- Serial Peripheral Interfaces (SPI)
- SPI8
- Serial Peripheral Interfaces (SPI)
- SYSCON
- SYSCON
- SYSCTL
- system controller
- USART0
- USARTs
- USART1
- USARTs
- USART2
- USARTs
- USART3
- USARTs
- USART4
- USARTs
- USART5
- USARTs
- USART6
- USARTs
- USART7
- USARTs
- USB0
- USB 2.0 Device Controller
- USBFSH
- USB0 Full-speed Host controller
- USBHSD
- USB1 High-speed Device Controller
- USBHSH
- USB1 High-speed Host Controller
- USBPHY
- Universal System Bus Physical Layer
- UTICK0
- Micro-tick Timer (UTICK)
- WWDT
- Windowed Watchdog Timer (WWDT)