Inputmux

Struct Inputmux 

Source
pub struct Inputmux { /* private fields */ }
Expand description

LPC_Next0 Peripheral Input Multiplexers Controller

Implementations§

Source§

impl Inputmux

Source

pub const PTR: *const RegisterBlock = {0x40026000 as *const inputmux::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_in_sel(&self, n: usize) -> &Sct0InSel

0x00..0x1c - SCT Peripheral Input Multiplexers N

Source

pub fn sct0_in_sel_iter(&self) -> impl Iterator<Item = &Sct0InSel>

Iterator for array of: 0x00..0x1c - SCT Peripheral Input Multiplexers N

Source

pub fn pint_sel(&self, n: usize) -> &PintSel

0x100..0x120 - GPIO Pin Input Multiplexer N

Source

pub fn pint_sel_iter(&self) -> impl Iterator<Item = &PintSel>

Iterator for array of: 0x100..0x120 - GPIO Pin Input Multiplexer N

Source

pub fn dsp_int_sel(&self, n: usize) -> &DspIntSel

0x140..0x1ac - DSP Interrupt Input Multiplexers N

Source

pub fn dsp_int_sel_iter(&self) -> impl Iterator<Item = &DspIntSel>

Iterator for array of: 0x140..0x1ac - DSP Interrupt Input Multiplexers N

Source

pub fn dmac0_itrig_sel(&self, n: usize) -> &Dmac0ItrigSel

0x200..0x284 - DMAC0 Input Trigger Multiplexers N

Source

pub fn dmac0_itrig_sel_iter(&self) -> impl Iterator<Item = &Dmac0ItrigSel>

Iterator for array of: 0x200..0x284 - DMAC0 Input Trigger Multiplexers N

Source

pub fn dmac0_otrig_sel(&self, n: usize) -> &Dmac0OtrigSel

0x300..0x310 - DMAC0 Output Trigger Multiplexers N

Source

pub fn dmac0_otrig_sel_iter(&self) -> impl Iterator<Item = &Dmac0OtrigSel>

Iterator for array of: 0x300..0x310 - DMAC0 Output Trigger Multiplexers N

Source

pub fn dmac1_itrig_sel(&self, n: usize) -> &Dmac1ItrigSel

0x400..0x484 - DMAC1 Input Trigger Multiplexers N

Source

pub fn dmac1_itrig_sel_iter(&self) -> impl Iterator<Item = &Dmac1ItrigSel>

Iterator for array of: 0x400..0x484 - DMAC1 Input Trigger Multiplexers N

Source

pub fn dmac1_otrig_sel(&self, n: usize) -> &Dmac1OtrigSel

0x500..0x510 - DMAC1 Output Trigger Multiplexers N

Source

pub fn dmac1_otrig_sel_iter(&self) -> impl Iterator<Item = &Dmac1OtrigSel>

Iterator for array of: 0x500..0x510 - DMAC1 Output Trigger Multiplexers N

Source

pub fn ct32bit_cap(&self, n: usize) -> &Ct32bitCap

0x600..0x650 - CT32BITn Counter Timer Capture Trigger Multiplexers

Source

pub fn ct32bit_cap_iter(&self) -> impl Iterator<Item = &Ct32bitCap>

Iterator for array of: 0x600..0x650 - CT32BITn Counter Timer Capture Trigger Multiplexers

Source

pub fn fmeasure_ch_sel(&self, n: usize) -> &FmeasureChSel

0x700..0x708 - Frequency Measurement Input Channel Multiplexers

Source

pub fn fmeasure_ch_sel_iter(&self) -> impl Iterator<Item = &FmeasureChSel>

Iterator for array of: 0x700..0x708 - Frequency Measurement Input Channel Multiplexers

Source

pub fn dmac0_req_ena0(&self) -> &Dmac0ReqEna0

0x740 - DMAC0 request enable 0

Source

pub fn dmac0_req_ena0_set(&self) -> &Dmac0ReqEna0Set

0x748 - DMAC0 request enable set 0

Source

pub fn dmac0_req_ena0_clr(&self) -> &Dmac0ReqEna0Clr

0x750 - DMAC0 request enable clear 0

Source

pub fn dmac1_req_ena0(&self) -> &Dmac1ReqEna0

0x760 - DMAC1 request enable 0

Source

pub fn dmac1_req_ena0_set(&self) -> &Dmac1ReqEna0Set

0x768 - DMAC1 request enable set 0

Source

pub fn dmac1_req_ena0_clr(&self) -> &Dmac1ReqEna0Clr

0x770 - DMAC1 request enable clear 0

Source

pub fn dmac0_itrig_ena0(&self) -> &Dmac0ItrigEna0

0x780 - DMAC0 input trigger enable 0

Source

pub fn dmac0_itrig_ena0_set(&self) -> &Dmac0ItrigEna0Set

0x788 - DMAC0 input trigger enable set 0

Source

pub fn dmac0_itrig_ena0_clr(&self) -> &Dmac0ItrigEna0Clr

0x790 - DMAC0 input trigger enable clear 0

Source

pub fn dmac1_itrig_ena0(&self) -> &Dmac1ItrigEna0

0x7a0 - DMAC1 input trigger enable 0

Source

pub fn dmac1_itrig_ena0_set(&self) -> &Dmac1ItrigEna0Set

0x7a8 - DMAC1 input trigger enable set 0

Source

pub fn dmac1_itrig_ena0_clr(&self) -> &Dmac1ItrigEna0Clr

0x7b0 - DMAC1 input trigger enable clear 0

Trait Implementations§

Source§

impl Debug for Inputmux

Source§

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

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

impl Deref for Inputmux

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Send for Inputmux

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

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

Source§

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

Source§

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.