Struct mcxn947_pac::INPUTMUX0
source · pub struct INPUTMUX0 { /* private fields */ }
Expand description
INPUTMUX
Implementations§
source§impl INPUTMUX0
impl INPUTMUX0
sourcepub const PTR: *const RegisterBlock = {0x40006000 as *const inputmux0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40006000 as *const inputmux0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn sct0_inmux(&self, n: usize) -> &SCT0_INMUX
pub fn sct0_inmux(&self, n: usize) -> &SCT0_INMUX
0x00..0x20 - Inputmux Register for SCT0 Input
sourcepub fn sct0_inmux_iter(&self) -> impl Iterator<Item = &SCT0_INMUX>
pub fn sct0_inmux_iter(&self) -> impl Iterator<Item = &SCT0_INMUX>
Iterator for array of: 0x00..0x20 - Inputmux Register for SCT0 Input
sourcepub fn ctimer(&self, n: usize) -> &CTIMER
pub fn ctimer(&self, n: usize) -> &CTIMER
0x20..0x5c - Cluster CTIMER%s, containing CTIMER[012]CAP0, CTIMER[012]CAP1, CTIMER[012]CAP2, CTIMER[012]CAP3, TIMER[012]TRIG
sourcepub fn ctimer_iter(&self) -> impl Iterator<Item = &CTIMER>
pub fn ctimer_iter(&self) -> impl Iterator<Item = &CTIMER>
Iterator for array of: 0x20..0x5c - Cluster CTIMER%s, containing CTIMER[012]CAP0, CTIMER[012]CAP1, CTIMER[012]CAP2, CTIMER[012]CAP3, TIMER[012]TRIG
sourcepub fn smartdmaarchb_inmux(&self, n: usize) -> &SMARTDMAARCHB_INMUX
pub fn smartdmaarchb_inmux(&self, n: usize) -> &SMARTDMAARCHB_INMUX
0xa0..0xc0 - Inputmux Register for SMARTDMA Arch B Inputs
sourcepub fn smartdmaarchb_inmux_iter(
&self
) -> impl Iterator<Item = &SMARTDMAARCHB_INMUX>
pub fn smartdmaarchb_inmux_iter( &self ) -> impl Iterator<Item = &SMARTDMAARCHB_INMUX>
Iterator for array of: 0xa0..0xc0 - Inputmux Register for SMARTDMA Arch B Inputs
sourcepub fn pintsel_iter(&self) -> impl Iterator<Item = &PINTSEL>
pub fn pintsel_iter(&self) -> impl Iterator<Item = &PINTSEL>
Iterator for array of: 0xc0..0xe0 - Pin Interrupt Select
sourcepub fn freqmeas_ref(&self) -> &FREQMEAS_REF
pub fn freqmeas_ref(&self) -> &FREQMEAS_REF
0x180 - Selection for Frequency Measurement Reference Clock
sourcepub fn freqmeas_tar(&self) -> &FREQMEAS_TAR
pub fn freqmeas_tar(&self) -> &FREQMEAS_TAR
0x184 - Selection for Frequency Measurement Target Clock
sourcepub fn ctimer3cap0(&self) -> &CTIMER3CAP0
pub fn ctimer3cap0(&self) -> &CTIMER3CAP0
0x1a0 - Capture Select Register for CTIMER Inputs
sourcepub fn ctimer3cap1(&self) -> &CTIMER3CAP1
pub fn ctimer3cap1(&self) -> &CTIMER3CAP1
0x1a4 - Capture Select Register for CTIMER Inputs
sourcepub fn ctimer3cap2(&self) -> &CTIMER3CAP2
pub fn ctimer3cap2(&self) -> &CTIMER3CAP2
0x1a8 - Capture Select Register for CTIMER Inputs
sourcepub fn ctimer3cap3(&self) -> &CTIMER3CAP3
pub fn ctimer3cap3(&self) -> &CTIMER3CAP3
0x1ac - Capture Select Register for CTIMER Inputs
sourcepub fn timer3trig(&self) -> &TIMER3TRIG
pub fn timer3trig(&self) -> &TIMER3TRIG
0x1b0 - Trigger Register for TIMER
sourcepub fn ctimer4cap0(&self) -> &CTIMER4CAP0
pub fn ctimer4cap0(&self) -> &CTIMER4CAP0
0x1c0 - Capture Select Register for CTIMER Inputs
sourcepub fn ctimer4cap1(&self) -> &CTIMER4CAP1
pub fn ctimer4cap1(&self) -> &CTIMER4CAP1
0x1c4 - Capture Select Register for CTIMER Inputs
sourcepub fn ctimer4cap2(&self) -> &CTIMER4CAP2
pub fn ctimer4cap2(&self) -> &CTIMER4CAP2
0x1c8 - Capture Select Register for CTIMER Inputs
sourcepub fn ctimer4cap3(&self) -> &CTIMER4CAP3
pub fn ctimer4cap3(&self) -> &CTIMER4CAP3
0x1cc - Capture Select Register for CTIMER Inputs
sourcepub fn timer4trig(&self) -> &TIMER4TRIG
pub fn timer4trig(&self) -> &TIMER4TRIG
0x1d0 - Trigger Register for TIMER
sourcepub fn adc0_trig_iter(&self) -> impl Iterator<Item = &ADC0_TRIG>
pub fn adc0_trig_iter(&self) -> impl Iterator<Item = &ADC0_TRIG>
Iterator for array of: 0x280..0x290 - ADC Trigger Input Connections
sourcepub fn adc1_trig_iter(&self) -> impl Iterator<Item = &ADC1_TRIG>
pub fn adc1_trig_iter(&self) -> impl Iterator<Item = &ADC1_TRIG>
Iterator for array of: 0x2c0..0x2d0 - ADC Trigger Input Connections
sourcepub fn dac_trig_iter(&self) -> impl Iterator<Item = &DAC_TRIG>
pub fn dac_trig_iter(&self) -> impl Iterator<Item = &DAC_TRIG>
Iterator for array of: 0x300..0x30c - DAC%s Trigger Inputs
sourcepub fn enc(&self, n: usize) -> &ENC
pub fn enc(&self, n: usize) -> &ENC
0x360..0x388 - Cluster ENC%s, containing ENC?_TRIG, ENC?_HOME, ENC?_INDEX, ENC?_PHASEB, ENC?_PHASEA
sourcepub fn enc_iter(&self) -> impl Iterator<Item = &ENC>
pub fn enc_iter(&self) -> impl Iterator<Item = &ENC>
Iterator for array of: 0x360..0x388 - Cluster ENC%s, containing ENC?_TRIG, ENC?_HOME, ENC?_INDEX, ENC?_PHASEB, ENC?_PHASEA
sourcepub fn flex_pwm0_sm_extsync(&self, n: usize) -> &FLEX_PWM0_SM_EXTSYNC
pub fn flex_pwm0_sm_extsync(&self, n: usize) -> &FLEX_PWM0_SM_EXTSYNC
0x3a0..0x3b0 - PWM0 External Synchronization
sourcepub fn flex_pwm0_sm_extsync_iter(
&self
) -> impl Iterator<Item = &FLEX_PWM0_SM_EXTSYNC>
pub fn flex_pwm0_sm_extsync_iter( &self ) -> impl Iterator<Item = &FLEX_PWM0_SM_EXTSYNC>
Iterator for array of: 0x3a0..0x3b0 - PWM0 External Synchronization
sourcepub fn flex_pwm0_sm_exta(&self, n: usize) -> &FLEX_PWM0_SM_EXTA
pub fn flex_pwm0_sm_exta(&self, n: usize) -> &FLEX_PWM0_SM_EXTA
0x3b0..0x3c0 - PWM0 Input Trigger Connections
sourcepub fn flex_pwm0_sm_exta_iter(&self) -> impl Iterator<Item = &FLEX_PWM0_SM_EXTA>
pub fn flex_pwm0_sm_exta_iter(&self) -> impl Iterator<Item = &FLEX_PWM0_SM_EXTA>
Iterator for array of: 0x3b0..0x3c0 - PWM0 Input Trigger Connections
sourcepub fn flex_pwm0_extforce(&self) -> &FLEX_PWM0_EXTFORCE
pub fn flex_pwm0_extforce(&self) -> &FLEX_PWM0_EXTFORCE
0x3c0 - PWM0 External Force Trigger Connections
sourcepub fn flex_pwm0_fault(&self, n: usize) -> &FLEX_PWM0_FAULT
pub fn flex_pwm0_fault(&self, n: usize) -> &FLEX_PWM0_FAULT
0x3c4..0x3d4 - PWM0 Fault Input Trigger Connections
sourcepub fn flex_pwm0_fault_iter(&self) -> impl Iterator<Item = &FLEX_PWM0_FAULT>
pub fn flex_pwm0_fault_iter(&self) -> impl Iterator<Item = &FLEX_PWM0_FAULT>
Iterator for array of: 0x3c4..0x3d4 - PWM0 Fault Input Trigger Connections
sourcepub fn flex_pwm1_sm_extsync(&self, n: usize) -> &FLEX_PWM1_SM_EXTSYNC
pub fn flex_pwm1_sm_extsync(&self, n: usize) -> &FLEX_PWM1_SM_EXTSYNC
0x3e0..0x3f0 - PWM1 External Synchronization
sourcepub fn flex_pwm1_sm_extsync_iter(
&self
) -> impl Iterator<Item = &FLEX_PWM1_SM_EXTSYNC>
pub fn flex_pwm1_sm_extsync_iter( &self ) -> impl Iterator<Item = &FLEX_PWM1_SM_EXTSYNC>
Iterator for array of: 0x3e0..0x3f0 - PWM1 External Synchronization
sourcepub fn flex_pwm1_sm_exta(&self, n: usize) -> &FLEX_PWM1_SM_EXTA
pub fn flex_pwm1_sm_exta(&self, n: usize) -> &FLEX_PWM1_SM_EXTA
0x3f0..0x400 - PWM1 Input Trigger Connections
sourcepub fn flex_pwm1_sm_exta_iter(&self) -> impl Iterator<Item = &FLEX_PWM1_SM_EXTA>
pub fn flex_pwm1_sm_exta_iter(&self) -> impl Iterator<Item = &FLEX_PWM1_SM_EXTA>
Iterator for array of: 0x3f0..0x400 - PWM1 Input Trigger Connections
sourcepub fn flex_pwm1_extforce(&self) -> &FLEX_PWM1_EXTFORCE
pub fn flex_pwm1_extforce(&self) -> &FLEX_PWM1_EXTFORCE
0x400 - PWM1 External Force Trigger Connections
sourcepub fn flex_pwm1_fault(&self, n: usize) -> &FLEX_PWM1_FAULT
pub fn flex_pwm1_fault(&self, n: usize) -> &FLEX_PWM1_FAULT
0x404..0x414 - PWM1 Fault Input Trigger Connections
sourcepub fn flex_pwm1_fault_iter(&self) -> impl Iterator<Item = &FLEX_PWM1_FAULT>
pub fn flex_pwm1_fault_iter(&self) -> impl Iterator<Item = &FLEX_PWM1_FAULT>
Iterator for array of: 0x404..0x414 - PWM1 Fault Input Trigger Connections
sourcepub fn pwm0_ext_clk(&self) -> &PWM0_EXT_CLK
pub fn pwm0_ext_clk(&self) -> &PWM0_EXT_CLK
0x420 - PWM0 External Clock Trigger
sourcepub fn pwm1_ext_clk(&self) -> &PWM1_EXT_CLK
pub fn pwm1_ext_clk(&self) -> &PWM1_EXT_CLK
0x424 - PWM1 External Clock Trigger
sourcepub fn evtg_trig(&self, n: usize) -> &EVTG_TRIG
pub fn evtg_trig(&self, n: usize) -> &EVTG_TRIG
0x440..0x480 - EVTG Trigger Input Connections %s
sourcepub fn evtg_trig_iter(&self) -> impl Iterator<Item = &EVTG_TRIG>
pub fn evtg_trig_iter(&self) -> impl Iterator<Item = &EVTG_TRIG>
Iterator for array of: 0x440..0x480 - EVTG Trigger Input Connections %s
sourcepub fn usbfs_trig(&self) -> &USBFS_TRIG
pub fn usbfs_trig(&self) -> &USBFS_TRIG
0x480 - USB-FS Trigger Input Connections
sourcepub fn ext_trig_iter(&self) -> impl Iterator<Item = &EXT_TRIG>
pub fn ext_trig_iter(&self) -> impl Iterator<Item = &EXT_TRIG>
Iterator for array of: 0x4c0..0x4e0 - EXT Trigger Connections %s
sourcepub fn sinc_filter_ch(&self, n: usize) -> &SINC_FILTER_CH
pub fn sinc_filter_ch(&self, n: usize) -> &SINC_FILTER_CH
0x520..0x534 - SINC Filter Channel%s Trigger Input Connections
sourcepub fn sinc_filter_ch_iter(&self) -> impl Iterator<Item = &SINC_FILTER_CH>
pub fn sinc_filter_ch_iter(&self) -> impl Iterator<Item = &SINC_FILTER_CH>
Iterator for array of: 0x520..0x534 - SINC Filter Channel%s Trigger Input Connections
sourcepub fn opamp_trig(&self, n: usize) -> &OPAMP_TRIG
pub fn opamp_trig(&self, n: usize) -> &OPAMP_TRIG
0x580..0x58c - OPAMP%s Trigger Input Connections
sourcepub fn opamp_trig_iter(&self) -> impl Iterator<Item = &OPAMP_TRIG>
pub fn opamp_trig_iter(&self) -> impl Iterator<Item = &OPAMP_TRIG>
Iterator for array of: 0x580..0x58c - OPAMP%s Trigger Input Connections
sourcepub fn opamp0_trig(&self) -> &OPAMP_TRIG
pub fn opamp0_trig(&self) -> &OPAMP_TRIG
0x580 - OPAMP0 Trigger Input Connections
sourcepub fn opamp1_trig(&self) -> &OPAMP_TRIG
pub fn opamp1_trig(&self) -> &OPAMP_TRIG
0x584 - OPAMP1 Trigger Input Connections
sourcepub fn opamp2_trig(&self) -> &OPAMP_TRIG
pub fn opamp2_trig(&self) -> &OPAMP_TRIG
0x588 - OPAMP2 Trigger Input Connections
sourcepub fn flexcomm_trig(&self, n: usize) -> &FLEXCOMM_TRIG
pub fn flexcomm_trig(&self, n: usize) -> &FLEXCOMM_TRIG
0x5a0..0x5c8 - LP_FLEXCOMM%s Trigger Input Connections
sourcepub fn flexcomm_trig_iter(&self) -> impl Iterator<Item = &FLEXCOMM_TRIG>
pub fn flexcomm_trig_iter(&self) -> impl Iterator<Item = &FLEXCOMM_TRIG>
Iterator for array of: 0x5a0..0x5c8 - LP_FLEXCOMM%s Trigger Input Connections
sourcepub fn flexcomm0_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm0_trig(&self) -> &FLEXCOMM_TRIG
0x5a0 - LP_FLEXCOMM0 Trigger Input Connections
sourcepub fn flexcomm1_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm1_trig(&self) -> &FLEXCOMM_TRIG
0x5c0 - LP_FLEXCOMM1 Trigger Input Connections
sourcepub fn flexcomm2_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm2_trig(&self) -> &FLEXCOMM_TRIG
0x5e0 - LP_FLEXCOMM2 Trigger Input Connections
sourcepub fn flexcomm3_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm3_trig(&self) -> &FLEXCOMM_TRIG
0x600 - LP_FLEXCOMM3 Trigger Input Connections
sourcepub fn flexcomm4_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm4_trig(&self) -> &FLEXCOMM_TRIG
0x620 - LP_FLEXCOMM4 Trigger Input Connections
sourcepub fn flexcomm5_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm5_trig(&self) -> &FLEXCOMM_TRIG
0x640 - LP_FLEXCOMM5 Trigger Input Connections
sourcepub fn flexcomm6_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm6_trig(&self) -> &FLEXCOMM_TRIG
0x660 - LP_FLEXCOMM6 Trigger Input Connections
sourcepub fn flexcomm7_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm7_trig(&self) -> &FLEXCOMM_TRIG
0x680 - LP_FLEXCOMM7 Trigger Input Connections
sourcepub fn flexcomm8_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm8_trig(&self) -> &FLEXCOMM_TRIG
0x6a0 - LP_FLEXCOMM8 Trigger Input Connections
sourcepub fn flexcomm9_trig(&self) -> &FLEXCOMM_TRIG
pub fn flexcomm9_trig(&self) -> &FLEXCOMM_TRIG
0x6c0 - LP_FLEXCOMM9 Trigger Input Connections
sourcepub fn flexio_trig(&self, n: usize) -> &FLEXIO_TRIG
pub fn flexio_trig(&self, n: usize) -> &FLEXIO_TRIG
0x6e0..0x700 - FlexIO Trigger Input Connections %s
sourcepub fn flexio_trig_iter(&self) -> impl Iterator<Item = &FLEXIO_TRIG>
pub fn flexio_trig_iter(&self) -> impl Iterator<Item = &FLEXIO_TRIG>
Iterator for array of: 0x6e0..0x700 - FlexIO Trigger Input Connections %s
sourcepub fn dma(&self, n: usize) -> &DMA
pub fn dma(&self, n: usize) -> &DMA
0x700..0x778 - Cluster DMA%s, containing DMA?_REQ_ENABLE0, DMA?_REQ_ENABLE0_SET, DMA?_REQ_ENABLE0_CLR, DMA?_REQ_ENABLE0_TOG, DMA?_REQ_ENABLE1, DMA?_REQ_ENABLE1_SET, DMA?_REQ_ENABLE1_CLR, DMA?_REQ_ENABLE1_TOG, DMA?_REQ_ENABLE2, DMA?_REQ_ENABLE2_SET, DMA?_REQ_ENABLE2_CLR, DMA?_REQ_ENABLE2_TOG, DMA?_REQ_ENABLE3, DMA?_REQ_ENABLE3_SET, DMA?_REQ_ENABLE3_CLR
sourcepub fn dma_iter(&self) -> impl Iterator<Item = &DMA>
pub fn dma_iter(&self) -> impl Iterator<Item = &DMA>
Iterator for array of: 0x700..0x778 - Cluster DMA%s, containing DMA?_REQ_ENABLE0, DMA?_REQ_ENABLE0_SET, DMA?_REQ_ENABLE0_CLR, DMA?_REQ_ENABLE0_TOG, DMA?_REQ_ENABLE1, DMA?_REQ_ENABLE1_SET, DMA?_REQ_ENABLE1_CLR, DMA?_REQ_ENABLE1_TOG, DMA?_REQ_ENABLE2, DMA?_REQ_ENABLE2_SET, DMA?_REQ_ENABLE2_CLR, DMA?_REQ_ENABLE2_TOG, DMA?_REQ_ENABLE3, DMA?_REQ_ENABLE3_SET, DMA?_REQ_ENABLE3_CLR