Crate s32k146_pac
Expand description
Peripheral access API for S32K146 microcontrollers (generated using svd2rust v0.37.0 (a5d3538 2025-09-26))
You can find an overview of the generated API here.
API features to be included in the next svd2rust release can be generated
by cloning the svd2rust repository, checking out the above commit, and
running cargo doc --open.
Re-exports§
pub use self::Interrupt as interrupt;rtpub use self::can0 as can1;pub use self::ftm0 as ftm1;pub use self::ftm0 as ftm2;pub use self::ftm0 as ftm3;pub use self::ftm0 as ftm4;pub use self::ftm0 as ftm5;pub use self::adc0 as adc1;pub use self::lpspi0 as lpspi1;pub use self::lpspi0 as lpspi2;pub use self::lpuart0 as lpuart1;pub use self::lpuart0 as lpuart2;pub use self::pta as ptb;pub use self::pta as ptc;pub use self::pta as ptd;pub use self::pta as pte;
Modules§
- adc0
- Analog-to-Digital Converter
- aips
- AIPS-Lite Bridge
- can0
- Flex Controller Area Network module
- can2
- Flex Controller Area Network module
- cmp0
- High-Speed Comparator (CMP), Voltage Reference (VREF) Digital-to-Analog Converter (DAC), and Analog Mux (ANMUX)
- crc
- Cyclic Redundancy Check
- cse_
pram - CSE_PRAM
- dma
- Enhanced Direct Memory Access
- dmamux
- DMA channel multiplexor
- eim
- Error Injection Module
- erm
- ERM
- ewm
- External Watchdog Monitor
- flexio
- The FLEXIO Memory Map/Register Definition can be found here.
- ftfc
- FTFC
- ftm0
- FlexTimer Module
- generic
- Common register and bit access and modify traits
- lmem
- Local Memory Controller
- lpi2c0
- The LPI2C Memory Map/Register Definition can be found here.
- lpit0
- Low Power Periodic Interrupt Timer (LPIT)
- lpspi0
- The LPSPI Memory Map/Register Definition can be found here.
- lptmr0
- Low Power Timer
- lpuart0
- Universal Asynchronous Receiver/Transmitter
- mcm
- Core Platform Miscellaneous Control Module
- mscm
- MSCM
- pcc
- PCC
- pdb0
- Programmable Delay Block
- pdb1
- Programmable Delay Block
- pmc
- PMC
- porta
- Pin Control and Interrupts
- portb
- Pin Control and Interrupts
- portc
- Pin Control and Interrupts
- portd
- Pin Control and Interrupts
- porte
- Pin Control and Interrupts
- pta
- General Purpose Input/Output
- rcm
- Reset Control Module
- rtc
- Secure Real Time Clock
- s32_
nvic - Nested Vectored Interrupt Controller
- s32_scb
- System Control Registers
- s32_
sys_ tick - System timer
- scg
- System Clock Generator
- sim
- System Integration Module
- smc
- System Mode Controller
- trgmux
- TRGMUX
- wdog
- Watchdog timer
Structs§
- CBP
- Cache and branch predictor maintenance operations
- CPUID
- CPUID
- Core
Peripherals - Core peripherals
- DCB
- Debug Control Block
- DWT
- Data Watchpoint and Trace unit
- FPB
- Flash Patch and Breakpoint unit
- FPU
- Floating Point Unit
- ITM
- Instrumentation Trace Macrocell
- MPU
- Memory Protection Unit
- NVIC
- Nested Vector Interrupt Controller
- Peripherals
- All the peripherals.
- SCB
- System Control Block
- SYST
- SysTick: System Timer
- TPIU
- Trace Port Interface Unit
Enums§
- Interrupt
- Enumeration of all the interrupts.
Constants§
- NVIC_
PRIO_ BITS - Number available in the NVIC for configuring priority
Statics§
Functions§
- ADC0 🔒 ⚠
- ADC1 🔒 ⚠
- CAN0_
Error 🔒 ⚠ - CAN0_
ORed 🔒 ⚠ - CAN0_
ORed_ 🔒 ⚠0_ 15_ MB - CAN0_
ORed_ 🔒 ⚠16_ 31_ MB - CAN0_
Wake_ 🔒 ⚠Up - CAN1_
Error 🔒 ⚠ - CAN1_
ORed 🔒 ⚠ - CAN1_
ORed_ 🔒 ⚠0_ 15_ MB - CAN1_
ORed_ 🔒 ⚠16_ 31_ MB - CAN2_
Error 🔒 ⚠ - CAN2_
ORed 🔒 ⚠ - CAN2_
ORed_ 🔒 ⚠0_ 15_ MB - CMP0 🔒 ⚠
- DMA0 🔒 ⚠
- DMA1 🔒 ⚠
- DMA2 🔒 ⚠
- DMA3 🔒 ⚠
- DMA4 🔒 ⚠
- DMA5 🔒 ⚠
- DMA6 🔒 ⚠
- DMA7 🔒 ⚠
- DMA8 🔒 ⚠
- DMA9 🔒 ⚠
- DMA10 🔒 ⚠
- DMA11 🔒 ⚠
- DMA12 🔒 ⚠
- DMA13 🔒 ⚠
- DMA14 🔒 ⚠
- DMA15 🔒 ⚠
- DMA_
Error 🔒 ⚠ - ERM_
double_ 🔒 ⚠fault - ERM_
single_ 🔒 ⚠fault - FLEXIO 🔒 ⚠
- FTFC 🔒 ⚠
- FTFC_
Fault 🔒 ⚠ - FTM0_
Ch0_ 🔒 ⚠Ch1 - FTM0_
Ch2_ 🔒 ⚠Ch3 - FTM0_
Ch4_ 🔒 ⚠Ch5 - FTM0_
Ch6_ 🔒 ⚠Ch7 - FTM0_
Fault 🔒 ⚠ - FTM0_
Ovf_ 🔒 ⚠Reload - FTM1_
Ch0_ 🔒 ⚠Ch1 - FTM1_
Ch2_ 🔒 ⚠Ch3 - FTM1_
Ch4_ 🔒 ⚠Ch5 - FTM1_
Ch6_ 🔒 ⚠Ch7 - FTM1_
Fault 🔒 ⚠ - FTM1_
Ovf_ 🔒 ⚠Reload - FTM2_
Ch0_ 🔒 ⚠Ch1 - FTM2_
Ch2_ 🔒 ⚠Ch3 - FTM2_
Ch4_ 🔒 ⚠Ch5 - FTM2_
Ch6_ 🔒 ⚠Ch7 - FTM2_
Fault 🔒 ⚠ - FTM2_
Ovf_ 🔒 ⚠Reload - FTM3_
Ch0_ 🔒 ⚠Ch1 - FTM3_
Ch2_ 🔒 ⚠Ch3 - FTM3_
Ch4_ 🔒 ⚠Ch5 - FTM3_
Ch6_ 🔒 ⚠Ch7 - FTM3_
Fault 🔒 ⚠ - FTM3_
Ovf_ 🔒 ⚠Reload - FTM4_
Ch0_ 🔒 ⚠Ch1 - FTM4_
Ch2_ 🔒 ⚠Ch3 - FTM4_
Ch4_ 🔒 ⚠Ch5 - FTM4_
Ch6_ 🔒 ⚠Ch7 - FTM4_
Fault 🔒 ⚠ - FTM4_
Ovf_ 🔒 ⚠Reload - FTM5_
Ch0_ 🔒 ⚠Ch1 - FTM5_
Ch2_ 🔒 ⚠Ch3 - FTM5_
Ch4_ 🔒 ⚠Ch5 - FTM5_
Ch6_ 🔒 ⚠Ch7 - FTM5_
Fault 🔒 ⚠ - FTM5_
Ovf_ 🔒 ⚠Reload - LPI2
C0_ 🔒 ⚠Master - LPI2
C0_ 🔒 ⚠Slave - LPIT0_
Ch0 🔒 ⚠ - LPIT0_
Ch1 🔒 ⚠ - LPIT0_
Ch2 🔒 ⚠ - LPIT0_
Ch3 🔒 ⚠ - LPSPI0 🔒 ⚠
- LPSPI1 🔒 ⚠
- LPSPI2 🔒 ⚠
- LPTMR0 🔒 ⚠
- LPUAR
T0_ 🔒 ⚠RxTx - LPUAR
T1_ 🔒 ⚠RxTx - LPUAR
T2_ 🔒 ⚠RxTx - LVD_LVW 🔒 ⚠
- MCM 🔒 ⚠
- PDB0 🔒 ⚠
- PDB1 🔒 ⚠
- PORTA 🔒 ⚠
- PORTB 🔒 ⚠
- PORTC 🔒 ⚠
- PORTD 🔒 ⚠
- PORTE 🔒 ⚠
- RCM 🔒 ⚠
- RTC 🔒 ⚠
- RTC_
Seconds 🔒 ⚠ - Read_
Collision 🔒 ⚠ - SCG 🔒 ⚠
- SWI 🔒 ⚠
- WDOG_
EWM 🔒 ⚠
Type Aliases§
- Adc0
- Analog-to-Digital Converter
- Adc1
- Analog-to-Digital Converter
- Aips
- AIPS-Lite Bridge
- Can0
- Flex Controller Area Network module
- Can1
- Flex Controller Area Network module
- Can2
- Flex Controller Area Network module
- Cmp0
- High-Speed Comparator (CMP), Voltage Reference (VREF) Digital-to-Analog Converter (DAC), and Analog Mux (ANMUX)
- Crc
- Cyclic Redundancy Check
- CsePram
- CSE_PRAM
- Dma
- Enhanced Direct Memory Access
- Dmamux
- DMA channel multiplexor
- Eim
- Error Injection Module
- Erm
- ERM
- Ewm
- External Watchdog Monitor
- Flexio
- The FLEXIO Memory Map/Register Definition can be found here.
- Ftfc
- FTFC
- Ftm0
- FlexTimer Module
- Ftm1
- FlexTimer Module
- Ftm2
- FlexTimer Module
- Ftm3
- FlexTimer Module
- Ftm4
- FlexTimer Module
- Ftm5
- FlexTimer Module
- Lmem
- Local Memory Controller
- Lpi2c0
- The LPI2C Memory Map/Register Definition can be found here.
- Lpit0
- Low Power Periodic Interrupt Timer (LPIT)
- Lpspi0
- The LPSPI Memory Map/Register Definition can be found here.
- Lpspi1
- The LPSPI Memory Map/Register Definition can be found here.
- Lpspi2
- The LPSPI Memory Map/Register Definition can be found here.
- Lptmr0
- Low Power Timer
- Lpuart0
- Universal Asynchronous Receiver/Transmitter
- Lpuart1
- Universal Asynchronous Receiver/Transmitter
- Lpuart2
- Universal Asynchronous Receiver/Transmitter
- Mcm
- Core Platform Miscellaneous Control Module
- Mscm
- MSCM
- Pcc
- PCC
- Pdb0
- Programmable Delay Block
- Pdb1
- Programmable Delay Block
- Pmc
- PMC
- Porta
- Pin Control and Interrupts
- Portb
- Pin Control and Interrupts
- Portc
- Pin Control and Interrupts
- Portd
- Pin Control and Interrupts
- Porte
- Pin Control and Interrupts
- Pta
- General Purpose Input/Output
- Ptb
- General Purpose Input/Output
- Ptc
- General Purpose Input/Output
- Ptd
- General Purpose Input/Output
- Pte
- General Purpose Input/Output
- Rcm
- Reset Control Module
- Rtc
- Secure Real Time Clock
- S32Nvic
- Nested Vectored Interrupt Controller
- S32Scb
- System Control Registers
- S32Sys
Tick - System timer
- Scg
- System Clock Generator
- Sim
- System Integration Module
- Smc
- System Mode Controller
- Trgmux
- TRGMUX
- Wdog
- Watchdog timer