Struct mcxn947_pac::INPUTMUX0

source ·
pub struct INPUTMUX0 { /* private fields */ }
Expand description

INPUTMUX

Implementations§

source§

impl INPUTMUX0

source

pub const PTR: *const RegisterBlock = {0x40006000 as *const inputmux0::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

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>§

source

pub fn sct0_inmux(&self, n: usize) -> &SCT0_INMUX

0x00..0x20 - Inputmux Register for SCT0 Input

source

pub fn sct0_inmux_iter(&self) -> impl Iterator<Item = &SCT0_INMUX>

Iterator for array of: 0x00..0x20 - Inputmux Register for SCT0 Input

source

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

source

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

source

pub fn smartdmaarchb_inmux(&self, n: usize) -> &SMARTDMAARCHB_INMUX

0xa0..0xc0 - Inputmux Register for SMARTDMA Arch B Inputs

source

pub fn smartdmaarchb_inmux_iter( &self ) -> impl Iterator<Item = &SMARTDMAARCHB_INMUX>

Iterator for array of: 0xa0..0xc0 - Inputmux Register for SMARTDMA Arch B Inputs

source

pub fn pintsel(&self, n: usize) -> &PINTSEL

0xc0..0xe0 - Pin Interrupt Select

source

pub fn pintsel_iter(&self) -> impl Iterator<Item = &PINTSEL>

Iterator for array of: 0xc0..0xe0 - Pin Interrupt Select

source

pub fn freqmeas_ref(&self) -> &FREQMEAS_REF

0x180 - Selection for Frequency Measurement Reference Clock

source

pub fn freqmeas_tar(&self) -> &FREQMEAS_TAR

0x184 - Selection for Frequency Measurement Target Clock

source

pub fn ctimer3cap0(&self) -> &CTIMER3CAP0

0x1a0 - Capture Select Register for CTIMER Inputs

source

pub fn ctimer3cap1(&self) -> &CTIMER3CAP1

0x1a4 - Capture Select Register for CTIMER Inputs

source

pub fn ctimer3cap2(&self) -> &CTIMER3CAP2

0x1a8 - Capture Select Register for CTIMER Inputs

source

pub fn ctimer3cap3(&self) -> &CTIMER3CAP3

0x1ac - Capture Select Register for CTIMER Inputs

source

pub fn timer3trig(&self) -> &TIMER3TRIG

0x1b0 - Trigger Register for TIMER

source

pub fn ctimer4cap0(&self) -> &CTIMER4CAP0

0x1c0 - Capture Select Register for CTIMER Inputs

source

pub fn ctimer4cap1(&self) -> &CTIMER4CAP1

0x1c4 - Capture Select Register for CTIMER Inputs

source

pub fn ctimer4cap2(&self) -> &CTIMER4CAP2

0x1c8 - Capture Select Register for CTIMER Inputs

source

pub fn ctimer4cap3(&self) -> &CTIMER4CAP3

0x1cc - Capture Select Register for CTIMER Inputs

source

pub fn timer4trig(&self) -> &TIMER4TRIG

0x1d0 - Trigger Register for TIMER

source

pub fn cmp0_trig(&self) -> &CMP0_TRIG

0x260 - CMP0 Input Connections

source

pub fn adc0_trig(&self, n: usize) -> &ADC0_TRIG

0x280..0x290 - ADC Trigger Input Connections

source

pub fn adc0_trig_iter(&self) -> impl Iterator<Item = &ADC0_TRIG>

Iterator for array of: 0x280..0x290 - ADC Trigger Input Connections

source

pub fn adc1_trig(&self, n: usize) -> &ADC1_TRIG

0x2c0..0x2d0 - ADC Trigger Input Connections

source

pub fn adc1_trig_iter(&self) -> impl Iterator<Item = &ADC1_TRIG>

Iterator for array of: 0x2c0..0x2d0 - ADC Trigger Input Connections

source

pub fn dac_trig(&self, n: usize) -> &DAC_TRIG

0x300..0x30c - DAC%s Trigger Inputs

source

pub fn dac_trig_iter(&self) -> impl Iterator<Item = &DAC_TRIG>

Iterator for array of: 0x300..0x30c - DAC%s Trigger Inputs

source

pub fn dac0_trig(&self) -> &DAC_TRIG

0x300 - DAC0 Trigger Inputs

source

pub fn dac1_trig(&self) -> &DAC_TRIG

0x320 - DAC1 Trigger Inputs

source

pub fn dac2_trig(&self) -> &DAC_TRIG

0x340 - DAC2 Trigger Inputs

source

pub fn enc(&self, n: usize) -> &ENC

0x360..0x388 - Cluster ENC%s, containing ENC?_TRIG, ENC?_HOME, ENC?_INDEX, ENC?_PHASEB, ENC?_PHASEA

source

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

source

pub fn flex_pwm0_sm_extsync(&self, n: usize) -> &FLEX_PWM0_SM_EXTSYNC

0x3a0..0x3b0 - PWM0 External Synchronization

source

pub fn flex_pwm0_sm_extsync_iter( &self ) -> impl Iterator<Item = &FLEX_PWM0_SM_EXTSYNC>

Iterator for array of: 0x3a0..0x3b0 - PWM0 External Synchronization

source

pub fn flex_pwm0_sm_exta(&self, n: usize) -> &FLEX_PWM0_SM_EXTA

0x3b0..0x3c0 - PWM0 Input Trigger Connections

source

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

source

pub fn flex_pwm0_extforce(&self) -> &FLEX_PWM0_EXTFORCE

0x3c0 - PWM0 External Force Trigger Connections

source

pub fn flex_pwm0_fault(&self, n: usize) -> &FLEX_PWM0_FAULT

0x3c4..0x3d4 - PWM0 Fault Input Trigger Connections

source

pub fn flex_pwm0_fault_iter(&self) -> impl Iterator<Item = &FLEX_PWM0_FAULT>

Iterator for array of: 0x3c4..0x3d4 - PWM0 Fault Input Trigger Connections

source

pub fn flex_pwm1_sm_extsync(&self, n: usize) -> &FLEX_PWM1_SM_EXTSYNC

0x3e0..0x3f0 - PWM1 External Synchronization

source

pub fn flex_pwm1_sm_extsync_iter( &self ) -> impl Iterator<Item = &FLEX_PWM1_SM_EXTSYNC>

Iterator for array of: 0x3e0..0x3f0 - PWM1 External Synchronization

source

pub fn flex_pwm1_sm_exta(&self, n: usize) -> &FLEX_PWM1_SM_EXTA

0x3f0..0x400 - PWM1 Input Trigger Connections

source

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

source

pub fn flex_pwm1_extforce(&self) -> &FLEX_PWM1_EXTFORCE

0x400 - PWM1 External Force Trigger Connections

source

pub fn flex_pwm1_fault(&self, n: usize) -> &FLEX_PWM1_FAULT

0x404..0x414 - PWM1 Fault Input Trigger Connections

source

pub fn flex_pwm1_fault_iter(&self) -> impl Iterator<Item = &FLEX_PWM1_FAULT>

Iterator for array of: 0x404..0x414 - PWM1 Fault Input Trigger Connections

source

pub fn pwm0_ext_clk(&self) -> &PWM0_EXT_CLK

0x420 - PWM0 External Clock Trigger

source

pub fn pwm1_ext_clk(&self) -> &PWM1_EXT_CLK

0x424 - PWM1 External Clock Trigger

source

pub fn evtg_trig(&self, n: usize) -> &EVTG_TRIG

0x440..0x480 - EVTG Trigger Input Connections %s

source

pub fn evtg_trig_iter(&self) -> impl Iterator<Item = &EVTG_TRIG>

Iterator for array of: 0x440..0x480 - EVTG Trigger Input Connections %s

source

pub fn usbfs_trig(&self) -> &USBFS_TRIG

0x480 - USB-FS Trigger Input Connections

source

pub fn tsi_trig(&self) -> &TSI_TRIG

0x4a0 - TSI Trigger Input Connections

source

pub fn ext_trig(&self, n: usize) -> &EXT_TRIG

0x4c0..0x4e0 - EXT Trigger Connections %s

source

pub fn ext_trig_iter(&self) -> impl Iterator<Item = &EXT_TRIG>

Iterator for array of: 0x4c0..0x4e0 - EXT Trigger Connections %s

source

pub fn cmp1_trig(&self) -> &CMP1_TRIG

0x4e0 - CMP1 Input Connections

source

pub fn cmp2_trig(&self) -> &CMP2_TRIG

0x500 - CMP2 Input Connections

source

pub fn sinc_filter_ch(&self, n: usize) -> &SINC_FILTER_CH

0x520..0x534 - SINC Filter Channel%s Trigger Input Connections

source

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

source

pub fn opamp_trig(&self, n: usize) -> &OPAMP_TRIG

0x580..0x58c - OPAMP%s Trigger Input Connections

source

pub fn opamp_trig_iter(&self) -> impl Iterator<Item = &OPAMP_TRIG>

Iterator for array of: 0x580..0x58c - OPAMP%s Trigger Input Connections

source

pub fn opamp0_trig(&self) -> &OPAMP_TRIG

0x580 - OPAMP0 Trigger Input Connections

source

pub fn opamp1_trig(&self) -> &OPAMP_TRIG

0x584 - OPAMP1 Trigger Input Connections

source

pub fn opamp2_trig(&self) -> &OPAMP_TRIG

0x588 - OPAMP2 Trigger Input Connections

source

pub fn flexcomm_trig(&self, n: usize) -> &FLEXCOMM_TRIG

0x5a0..0x5c8 - LP_FLEXCOMM%s Trigger Input Connections

source

pub fn flexcomm_trig_iter(&self) -> impl Iterator<Item = &FLEXCOMM_TRIG>

Iterator for array of: 0x5a0..0x5c8 - LP_FLEXCOMM%s Trigger Input Connections

source

pub fn flexcomm0_trig(&self) -> &FLEXCOMM_TRIG

0x5a0 - LP_FLEXCOMM0 Trigger Input Connections

source

pub fn flexcomm1_trig(&self) -> &FLEXCOMM_TRIG

0x5c0 - LP_FLEXCOMM1 Trigger Input Connections

source

pub fn flexcomm2_trig(&self) -> &FLEXCOMM_TRIG

0x5e0 - LP_FLEXCOMM2 Trigger Input Connections

source

pub fn flexcomm3_trig(&self) -> &FLEXCOMM_TRIG

0x600 - LP_FLEXCOMM3 Trigger Input Connections

source

pub fn flexcomm4_trig(&self) -> &FLEXCOMM_TRIG

0x620 - LP_FLEXCOMM4 Trigger Input Connections

source

pub fn flexcomm5_trig(&self) -> &FLEXCOMM_TRIG

0x640 - LP_FLEXCOMM5 Trigger Input Connections

source

pub fn flexcomm6_trig(&self) -> &FLEXCOMM_TRIG

0x660 - LP_FLEXCOMM6 Trigger Input Connections

source

pub fn flexcomm7_trig(&self) -> &FLEXCOMM_TRIG

0x680 - LP_FLEXCOMM7 Trigger Input Connections

source

pub fn flexcomm8_trig(&self) -> &FLEXCOMM_TRIG

0x6a0 - LP_FLEXCOMM8 Trigger Input Connections

source

pub fn flexcomm9_trig(&self) -> &FLEXCOMM_TRIG

0x6c0 - LP_FLEXCOMM9 Trigger Input Connections

source

pub fn flexio_trig(&self, n: usize) -> &FLEXIO_TRIG

0x6e0..0x700 - FlexIO Trigger Input Connections %s

source

pub fn flexio_trig_iter(&self) -> impl Iterator<Item = &FLEXIO_TRIG>

Iterator for array of: 0x6e0..0x700 - FlexIO Trigger Input Connections %s

source

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

source

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

Trait Implementations§

source§

impl Debug for INPUTMUX0

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for INPUTMUX0

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for INPUTMUX0

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.