pub struct Inputmux { /* private fields */ }Expand description
LPC_Next0 Peripheral Input Multiplexers Controller
Implementations§
Source§impl Inputmux
impl Inputmux
Sourcepub const PTR: *const RegisterBlock = {0x40026000 as *const inputmux::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40026000 as *const inputmux::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_in_sel(&self, n: usize) -> &Sct0InSel
pub fn sct0_in_sel(&self, n: usize) -> &Sct0InSel
0x00..0x1c - SCT Peripheral Input Multiplexers N
Sourcepub fn sct0_in_sel_iter(&self) -> impl Iterator<Item = &Sct0InSel>
pub fn sct0_in_sel_iter(&self) -> impl Iterator<Item = &Sct0InSel>
Iterator for array of: 0x00..0x1c - SCT Peripheral Input Multiplexers N
Sourcepub fn pint_sel_iter(&self) -> impl Iterator<Item = &PintSel>
pub fn pint_sel_iter(&self) -> impl Iterator<Item = &PintSel>
Iterator for array of: 0x100..0x120 - GPIO Pin Input Multiplexer N
Sourcepub fn dsp_int_sel(&self, n: usize) -> &DspIntSel
pub fn dsp_int_sel(&self, n: usize) -> &DspIntSel
0x140..0x1ac - DSP Interrupt Input Multiplexers N
Sourcepub fn dsp_int_sel_iter(&self) -> impl Iterator<Item = &DspIntSel>
pub fn dsp_int_sel_iter(&self) -> impl Iterator<Item = &DspIntSel>
Iterator for array of: 0x140..0x1ac - DSP Interrupt Input Multiplexers N
Sourcepub fn dmac0_itrig_sel(&self, n: usize) -> &Dmac0ItrigSel
pub fn dmac0_itrig_sel(&self, n: usize) -> &Dmac0ItrigSel
0x200..0x284 - DMAC0 Input Trigger Multiplexers N
Sourcepub fn dmac0_itrig_sel_iter(&self) -> impl Iterator<Item = &Dmac0ItrigSel>
pub fn dmac0_itrig_sel_iter(&self) -> impl Iterator<Item = &Dmac0ItrigSel>
Iterator for array of: 0x200..0x284 - DMAC0 Input Trigger Multiplexers N
Sourcepub fn dmac0_otrig_sel(&self, n: usize) -> &Dmac0OtrigSel
pub fn dmac0_otrig_sel(&self, n: usize) -> &Dmac0OtrigSel
0x300..0x310 - DMAC0 Output Trigger Multiplexers N
Sourcepub fn dmac0_otrig_sel_iter(&self) -> impl Iterator<Item = &Dmac0OtrigSel>
pub fn dmac0_otrig_sel_iter(&self) -> impl Iterator<Item = &Dmac0OtrigSel>
Iterator for array of: 0x300..0x310 - DMAC0 Output Trigger Multiplexers N
Sourcepub fn dmac1_itrig_sel(&self, n: usize) -> &Dmac1ItrigSel
pub fn dmac1_itrig_sel(&self, n: usize) -> &Dmac1ItrigSel
0x400..0x484 - DMAC1 Input Trigger Multiplexers N
Sourcepub fn dmac1_itrig_sel_iter(&self) -> impl Iterator<Item = &Dmac1ItrigSel>
pub fn dmac1_itrig_sel_iter(&self) -> impl Iterator<Item = &Dmac1ItrigSel>
Iterator for array of: 0x400..0x484 - DMAC1 Input Trigger Multiplexers N
Sourcepub fn dmac1_otrig_sel(&self, n: usize) -> &Dmac1OtrigSel
pub fn dmac1_otrig_sel(&self, n: usize) -> &Dmac1OtrigSel
0x500..0x510 - DMAC1 Output Trigger Multiplexers N
Sourcepub fn dmac1_otrig_sel_iter(&self) -> impl Iterator<Item = &Dmac1OtrigSel>
pub fn dmac1_otrig_sel_iter(&self) -> impl Iterator<Item = &Dmac1OtrigSel>
Iterator for array of: 0x500..0x510 - DMAC1 Output Trigger Multiplexers N
Sourcepub fn ct32bit_cap(&self, n: usize) -> &Ct32bitCap
pub fn ct32bit_cap(&self, n: usize) -> &Ct32bitCap
0x600..0x650 - CT32BITn Counter Timer Capture Trigger Multiplexers
Sourcepub fn ct32bit_cap_iter(&self) -> impl Iterator<Item = &Ct32bitCap>
pub fn ct32bit_cap_iter(&self) -> impl Iterator<Item = &Ct32bitCap>
Iterator for array of: 0x600..0x650 - CT32BITn Counter Timer Capture Trigger Multiplexers
Sourcepub fn fmeasure_ch_sel(&self, n: usize) -> &FmeasureChSel
pub fn fmeasure_ch_sel(&self, n: usize) -> &FmeasureChSel
0x700..0x708 - Frequency Measurement Input Channel Multiplexers
Sourcepub fn fmeasure_ch_sel_iter(&self) -> impl Iterator<Item = &FmeasureChSel>
pub fn fmeasure_ch_sel_iter(&self) -> impl Iterator<Item = &FmeasureChSel>
Iterator for array of: 0x700..0x708 - Frequency Measurement Input Channel Multiplexers
Sourcepub fn dmac0_req_ena0(&self) -> &Dmac0ReqEna0
pub fn dmac0_req_ena0(&self) -> &Dmac0ReqEna0
0x740 - DMAC0 request enable 0
Sourcepub fn dmac0_req_ena0_set(&self) -> &Dmac0ReqEna0Set
pub fn dmac0_req_ena0_set(&self) -> &Dmac0ReqEna0Set
0x748 - DMAC0 request enable set 0
Sourcepub fn dmac0_req_ena0_clr(&self) -> &Dmac0ReqEna0Clr
pub fn dmac0_req_ena0_clr(&self) -> &Dmac0ReqEna0Clr
0x750 - DMAC0 request enable clear 0
Sourcepub fn dmac1_req_ena0(&self) -> &Dmac1ReqEna0
pub fn dmac1_req_ena0(&self) -> &Dmac1ReqEna0
0x760 - DMAC1 request enable 0
Sourcepub fn dmac1_req_ena0_set(&self) -> &Dmac1ReqEna0Set
pub fn dmac1_req_ena0_set(&self) -> &Dmac1ReqEna0Set
0x768 - DMAC1 request enable set 0
Sourcepub fn dmac1_req_ena0_clr(&self) -> &Dmac1ReqEna0Clr
pub fn dmac1_req_ena0_clr(&self) -> &Dmac1ReqEna0Clr
0x770 - DMAC1 request enable clear 0
Sourcepub fn dmac0_itrig_ena0(&self) -> &Dmac0ItrigEna0
pub fn dmac0_itrig_ena0(&self) -> &Dmac0ItrigEna0
0x780 - DMAC0 input trigger enable 0
Sourcepub fn dmac0_itrig_ena0_set(&self) -> &Dmac0ItrigEna0Set
pub fn dmac0_itrig_ena0_set(&self) -> &Dmac0ItrigEna0Set
0x788 - DMAC0 input trigger enable set 0
Sourcepub fn dmac0_itrig_ena0_clr(&self) -> &Dmac0ItrigEna0Clr
pub fn dmac0_itrig_ena0_clr(&self) -> &Dmac0ItrigEna0Clr
0x790 - DMAC0 input trigger enable clear 0
Sourcepub fn dmac1_itrig_ena0(&self) -> &Dmac1ItrigEna0
pub fn dmac1_itrig_ena0(&self) -> &Dmac1ItrigEna0
0x7a0 - DMAC1 input trigger enable 0
Sourcepub fn dmac1_itrig_ena0_set(&self) -> &Dmac1ItrigEna0Set
pub fn dmac1_itrig_ena0_set(&self) -> &Dmac1ItrigEna0Set
0x7a8 - DMAC1 input trigger enable set 0
Sourcepub fn dmac1_itrig_ena0_clr(&self) -> &Dmac1ItrigEna0Clr
pub fn dmac1_itrig_ena0_clr(&self) -> &Dmac1ItrigEna0Clr
0x7b0 - DMAC1 input trigger enable clear 0