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§
- adc
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- aoi
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- can
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- cdog
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- cmc
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- cmp
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- common
- crc
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- ctimer
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- dac
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- dbgmailbox
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- dma
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- edma_
0_ tcd - Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- eim
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- erm
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- flexio
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- flexpwm
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- fmc
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- fmu
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- fmu0test
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- freqme
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- glikey
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- gpio
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- i3c
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- inputmux
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- lpi2c
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- lpspi
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- lptmr
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- lpuart
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- mbc
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- mrcc
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- opamp
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- ostimer
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- port
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- qdc
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- scg
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- spc
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- syscon
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- usb
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- utick
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- vbat
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- waketimer
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- wuu
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
- wwdt
- Peripheral access API (generated using chiptool v0.1.0 (e5ab29f 2026-04-30))
Enums§
Constants§
- ADC0
- ADC1
- AOI0
- AOI1
- CAN0
- CDOG0
- CMC
- CMP0
- CMP1
- CRC0
- CTIMER0
- CTIMER1
- CTIMER2
- CTIMER3
- CTIMER4
- DAC0
- DBGMAILBOX
- DMA0
- EDMA_
0_ TCD - EIM0
- EQDC0
- EQDC1
- ERM0
- FLEXIO0
- FLEX_
PWM0 - FLEX_
PWM1 - FMC0
- FMU0
- FMU0TEST
- FREQME0
- GLIKEY0
- GPIO0
- GPIO1
- GPIO2
- GPIO3
- GPIO4
- I3C0
- INPUTMU
X0 - LPI2C0
- LPI2C1
- LPI2C2
- LPI2C3
- LPSPI0
- LPSPI1
- LPTMR0
- LPUART0
- LPUART1
- LPUART2
- LPUART3
- LPUART4
- MBC0
- MRCC0
- NVIC_
PRIO_ BITS - Number available in the NVIC for configuring priority
- OPAMP0
- OSTIME
R0 - PORT0
- PORT1
- PORT2
- PORT3
- PORT4
- SCG0
- SPC0
- SYSCON
- USB0
- UTICK0
- VBAT0
- WAKETIME
R0 - WUU0
- WWDT0