nxp-pac

Crates

git

Versions

mcxa256

Flavors

Crate nxp_pac

Crate nxp_pac 

Source
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))
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))
flexpwm
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))
rtc2xx
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§

Interrupt
interrupt

Constants§

ADC0
ADC1
CDOG0
CDOG1
CMC
CRC0
CTIMER0
CTIMER1
CTIMER2
CTIMER3
CTIMER4
DMA0
EDMA_0_TCD
FLEX_PWM0
FLEX_PWM1
FMU0
GPIO0
GPIO1
GPIO2
GPIO3
GPIO4
I3C0
INPUTMUX0
LPI2C0
LPI2C1
LPI2C2
LPI2C3
LPSPI0
LPSPI1
LPUART0
LPUART1
LPUART2
LPUART3
LPUART4
MRCC0
NVIC_PRIO_BITS
Number available in the NVIC for configuring priority
OSTIMER0
PORT0
PORT1
PORT2
PORT3
PORT4
RTC0
SCG0
SGI0
SPC0
SYSCON
TRNG0
VBAT0
WWDT0

Attribute Macros§

interrupt