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 (2fd28c5 2026-04-02))
- ahbsc
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- cdog
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- cmc
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- common
- crc
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- ctimer
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- dma
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- edma_
tcd - Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- fmu
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- gpio
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- i3c
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- inputmux
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- lpi2c
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- lpspi
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- lpuart
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- mrcc
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- ostimer
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- port
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- rtc5xx
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- scg
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- sgi
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c582599 2026-04-02))
- spc
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- syscon
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- trng
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- vbat
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
- wwdt
- Peripheral access API (generated using chiptool v0.1.0 (2fd28c5 2026-04-02))
Enums§
Constants§
- ADC0
- ADC1
- AHBSC
- CDOG0
- CDOG1
- CMC
- CRC0
- CTIMER0
- CTIMER1
- CTIMER2
- CTIMER3
- CTIMER4
- DMA0
- DMA1
- EDMA_
0_ TCD - EDMA_
1_ TCD - FMU0
- GPIO0
- GPIO1
- GPIO2
- GPIO3
- GPIO4
- GPIO5
- I3C0
- I3C1
- I3C2
- I3C3
- INPUTMU
X0 - LPI2C0
- LPI2C1
- LPI2C2
- LPI2C3
- LPI2C4
- LPSPI0
- LPSPI1
- LPSPI2
- LPSPI3
- LPSPI4
- LPSPI5
- LPUART0
- LPUART1
- LPUART2
- LPUART3
- LPUART4
- LPUART5
- MRCC0
- NVIC_
PRIO_ BITS - Number available in the NVIC for configuring priority
- OSTIME
R0 - PORT0
- PORT1
- PORT2
- PORT3
- PORT4
- PORT5
- RTC0
- SCG0
- SGI0
- SPC0
- SYSCON
- TRNG0
- VBAT0
- WWDT0
- WWDT1