nxp-pac

Crates

git

Versions

mimxrt685s_cm33

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
ahb_secure_ctrl
cache64
cache64_polsel
casper
clkctl0
clkctl1
cmp
common
crc
ctimer
dma
dmic
espi
flexcomm
flexspi
freqme
gpio
hashcrypt
i2c
i2s
i3c
inputmux
iopctl
mrt
mua
ocotp
ostimer
otfad
pint
pmc
powerquad
puf
rstctl0
rstctl1
rtc
scn_scb
sct
sema42
spi
sysctl0
sysctl1
trng
usart
usbhsd
usbhsdcd
usbhsh
usbphy
usdhc
utick
wwdt

Enums§

Interrupt
interrupt

Constants§

ADC0
ADC
AHB_SECURE_CTRL
LPC_Next0 AHB secure controller
CACHE64
CACHE64
CACHE64_POLSEL
CACHE64_POLSEL
CASPER
LPC-Next0 CASPER
CLKCTL0
clock ccontroller 0
CLKCTL1
clock ccontroller 1
CMP
CMP
CRC_ENGINE
LPC_Next0 CRC engine
CTIMER0
LPC-Next0 Standard async counter/timer
CTIMER1
LPC-Next0 Standard async counter/timer
CTIMER2
LPC-Next0 Standard async counter/timer
CTIMER3
LPC-Next0 Standard async counter/timer
CTIMER4
LPC-Next0 Standard async counter/timer
DMA0
LPC-Next0 DMA controller
DMA1
LPC-Next0 DMA controller
DMIC0
LPC_Next0 DMIC Subsystem (DMIC))
ESPI
a variant of SPI used by Intel to communicate with its processors via the PCH (aka Southbridge).
FLEXCOMM0
LPC-Next0 Flexcomm serial communication
FLEXCOMM1
LPC-Next0 Flexcomm serial communication
FLEXCOMM2
LPC-Next0 Flexcomm serial communication
FLEXCOMM3
LPC-Next0 Flexcomm serial communication
FLEXCOMM4
LPC-Next0 Flexcomm serial communication
FLEXCOMM5
LPC-Next0 Flexcomm serial communication
FLEXCOMM6
LPC-Next0 Flexcomm serial communication
FLEXCOMM7
LPC-Next0 Flexcomm serial communication
FLEXCOMM14
LPC-Next0 Flexcomm serial communication
FLEXCOMM15
LPC-Next0 Flexcomm serial communication
FLEXSPI
FlexSPI
FREQME
LPC_Next0 Frequency Measurement (FREQME)
GPIO
LPC-Next0 General Purpose I/O (GPIO)
HASHCRYPT
LPC-Next0 Hash-Crypt peripheral
I2C0
LPC-Next0 I2C-bus interfaces
I2C1
LPC-Next0 I2C-bus interfaces
I2C2
LPC-Next0 I2C-bus interfaces
I2C3
LPC-Next0 I2C-bus interfaces
I2C4
LPC-Next0 I2C-bus interfaces
I2C5
LPC-Next0 I2C-bus interfaces
I2C6
LPC-Next0 I2C-bus interfaces
I2C7
LPC-Next0 I2C-bus interfaces
I2C15
LPC-Next0 I2C-bus interfaces
I2S0
LPC-Next0 I2S interface
I2S1
LPC-Next0 I2S interface
I2S2
LPC-Next0 I2S interface
I2S3
LPC-Next0 I2S interface
I2S4
LPC-Next0 I2S interface
I2S5
LPC-Next0 I2S interface
I2S6
LPC-Next0 I2S interface
I2S7
LPC-Next0 I2S interface
I3C
I3C
INPUTMUX
LPC_Next0 Peripheral Input Multiplexers Controller
IOPCTL
LPC-Next0 IO pad controller
MRT0
LPC-Next0 Multi-Rate Timer (MRT)
MUA
LPC-Next0 MUA
NVIC_PRIO_BITS
Number available in the NVIC for configuring priority
OCOTP
LPC-Next0 OTP controller
OSTIMER0
LPC_Next0 Synchronous OS/Event timer with Wakeup Timer
OTFAD
OTFAD
PINT
LPC-Next0 Pin interrupt and pattern match (PINT)
PMC
LPC-Next0 Power Management Controller
POWERQUAD
LPC-Next0 Digital Signal Co-Processing companion to a Cortex-M v8M CPU core
PUF
PUF Controller
RSTCTL0
reset ccontroller 0
RSTCTL1
reset ccontroller 1
RTC
LPC-Next0 Real-Time Clock (RTC)
SCNSCB
System Control not in System Control Block
SCT0
LPC84x SCTimer/PWM (SCT)
SECGPIO
LPC-Next0 General Purpose I/O (GPIO)
SEMA42
LPC-Next0 SEMA
SPI0
LPC_Next0 Serial Peripheral Interfaces (SPI)
SPI1
LPC_Next0 Serial Peripheral Interfaces (SPI)
SPI2
LPC_Next0 Serial Peripheral Interfaces (SPI)
SPI3
LPC_Next0 Serial Peripheral Interfaces (SPI)
SPI4
LPC_Next0 Serial Peripheral Interfaces (SPI)
SPI5
LPC_Next0 Serial Peripheral Interfaces (SPI)
SPI6
LPC_Next0 Serial Peripheral Interfaces (SPI)
SPI7
LPC_Next0 Serial Peripheral Interfaces (SPI)
SPI14
LPC_Next0 Serial Peripheral Interfaces (SPI)
SYSCTL0
system controller 0
SYSCTL1
system ccontroller 1
TRNG
LPC-Next0 RNG
USART0
LPC_Next0 USARTs
USART1
LPC_Next0 USARTs
USART2
LPC_Next0 USARTs
USART3
LPC_Next0 USARTs
USART4
LPC_Next0 USARTs
USART5
LPC_Next0 USARTs
USART6
LPC_Next0 USARTs
USART7
LPC_Next0 USARTs
USBHSD
LPC54S60x/LPC5460x USB1 High-speed Device Controller
USBHSDCD
USBDCD
USBHSH
LPC-Next0 USB1 High-speed Host Controller
USBPHY
Universal System Bus Physical Layer
USDHC0
uSDHC
USDHC1
uSDHC
UTICK0
LPC-Next0 Micro-tick Timer (UTICK)
WWDT0
LPC_Next0 Windowed Watchdog Timer (WWDT)
WWDT1
LPC_Next0 Windowed Watchdog Timer (WWDT)

Attribute Macros§

interrupt