nxp-pac

Crates

git

Versions

mimxrt1062

Flavors

AdcEtc

Struct AdcEtc 

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

ADC_ETC

Implementations§

Source§

impl AdcEtc

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn ctrl(self) -> Reg<Ctrl, RW>

ADC_ETC Global Control Register

Source

pub const fn done0_1_irq(self) -> Reg<Done01Irq, RW>

ETC DONE0 and DONE1 IRQ State Register

Source

pub const fn done2_3_err_irq(self) -> Reg<Done23ErrIrq, RW>

ETC DONE_2 and DONE_ERR IRQ State Register

Source

pub const fn dma_ctrl(self) -> Reg<DmaCtrl, RW>

ETC DMA control Register

Source

pub const fn trig0_ctrl(self) -> Reg<Trig0Ctrl, RW>

ETC_TRIG Control Register

Source

pub const fn trig0_counter(self) -> Reg<Trig0Counter, RW>

ETC_TRIG Counter Register

Source

pub const fn trig0_chain_1_0(self) -> Reg<Trig0Chain10, RW>

ETC_TRIG Chain 0/1 Register

Source

pub const fn trig0_chain_3_2(self) -> Reg<Trig0Chain32, RW>

ETC_TRIG Chain 2/3 Register

Source

pub const fn trig0_chain_5_4(self) -> Reg<Trig0Chain54, RW>

ETC_TRIG Chain 4/5 Register

Source

pub const fn trig0_chain_7_6(self) -> Reg<Trig0Chain76, RW>

ETC_TRIG Chain 6/7 Register

Source

pub const fn trig0_result_1_0(self) -> Reg<Trig0Result10, R>

ETC_TRIG Result Data 1/0 Register

Source

pub const fn trig0_result_3_2(self) -> Reg<Trig0Result32, R>

ETC_TRIG Result Data 3/2 Register

Source

pub const fn trig0_result_5_4(self) -> Reg<Trig0Result54, R>

ETC_TRIG Result Data 5/4 Register

Source

pub const fn trig0_result_7_6(self) -> Reg<Trig0Result76, R>

ETC_TRIG Result Data 7/6 Register

Source

pub const fn trig1_ctrl(self) -> Reg<Trig1Ctrl, RW>

ETC_TRIG Control Register

Source

pub const fn trig1_counter(self) -> Reg<Trig1Counter, RW>

ETC_TRIG Counter Register

Source

pub const fn trig1_chain_1_0(self) -> Reg<Trig1Chain10, RW>

ETC_TRIG Chain 0/1 Register

Source

pub const fn trig1_chain_3_2(self) -> Reg<Trig1Chain32, RW>

ETC_TRIG Chain 2/3 Register

Source

pub const fn trig1_chain_5_4(self) -> Reg<Trig1Chain54, RW>

ETC_TRIG Chain 4/5 Register

Source

pub const fn trig1_chain_7_6(self) -> Reg<Trig1Chain76, RW>

ETC_TRIG Chain 6/7 Register

Source

pub const fn trig1_result_1_0(self) -> Reg<Trig1Result10, R>

ETC_TRIG Result Data 1/0 Register

Source

pub const fn trig1_result_3_2(self) -> Reg<Trig1Result32, R>

ETC_TRIG Result Data 3/2 Register

Source

pub const fn trig1_result_5_4(self) -> Reg<Trig1Result54, R>

ETC_TRIG Result Data 5/4 Register

Source

pub const fn trig1_result_7_6(self) -> Reg<Trig1Result76, R>

ETC_TRIG Result Data 7/6 Register

Source

pub const fn trig2_ctrl(self) -> Reg<Trig2Ctrl, RW>

ETC_TRIG Control Register

Source

pub const fn trig2_counter(self) -> Reg<Trig2Counter, RW>

ETC_TRIG Counter Register

Source

pub const fn trig2_chain_1_0(self) -> Reg<Trig2Chain10, RW>

ETC_TRIG Chain 0/1 Register

Source

pub const fn trig2_chain_3_2(self) -> Reg<Trig2Chain32, RW>

ETC_TRIG Chain 2/3 Register

Source

pub const fn trig2_chain_5_4(self) -> Reg<Trig2Chain54, RW>

ETC_TRIG Chain 4/5 Register

Source

pub const fn trig2_chain_7_6(self) -> Reg<Trig2Chain76, RW>

ETC_TRIG Chain 6/7 Register

Source

pub const fn trig2_result_1_0(self) -> Reg<Trig2Result10, R>

ETC_TRIG Result Data 1/0 Register

Source

pub const fn trig2_result_3_2(self) -> Reg<Trig2Result32, R>

ETC_TRIG Result Data 3/2 Register

Source

pub const fn trig2_result_5_4(self) -> Reg<Trig2Result54, R>

ETC_TRIG Result Data 5/4 Register

Source

pub const fn trig2_result_7_6(self) -> Reg<Trig2Result76, R>

ETC_TRIG Result Data 7/6 Register

Source

pub const fn trig3_ctrl(self) -> Reg<Trig3Ctrl, RW>

ETC_TRIG Control Register

Source

pub const fn trig3_counter(self) -> Reg<Trig3Counter, RW>

ETC_TRIG Counter Register

Source

pub const fn trig3_chain_1_0(self) -> Reg<Trig3Chain10, RW>

ETC_TRIG Chain 0/1 Register

Source

pub const fn trig3_chain_3_2(self) -> Reg<Trig3Chain32, RW>

ETC_TRIG Chain 2/3 Register

Source

pub const fn trig3_chain_5_4(self) -> Reg<Trig3Chain54, RW>

ETC_TRIG Chain 4/5 Register

Source

pub const fn trig3_chain_7_6(self) -> Reg<Trig3Chain76, RW>

ETC_TRIG Chain 6/7 Register

Source

pub const fn trig3_result_1_0(self) -> Reg<Trig3Result10, R>

ETC_TRIG Result Data 1/0 Register

Source

pub const fn trig3_result_3_2(self) -> Reg<Trig3Result32, R>

ETC_TRIG Result Data 3/2 Register

Source

pub const fn trig3_result_5_4(self) -> Reg<Trig3Result54, R>

ETC_TRIG Result Data 5/4 Register

Source

pub const fn trig3_result_7_6(self) -> Reg<Trig3Result76, R>

ETC_TRIG Result Data 7/6 Register

Source

pub const fn trig4_ctrl(self) -> Reg<Trig4Ctrl, RW>

ETC_TRIG Control Register

Source

pub const fn trig4_counter(self) -> Reg<Trig4Counter, RW>

ETC_TRIG Counter Register

Source

pub const fn trig4_chain_1_0(self) -> Reg<Trig4Chain10, RW>

ETC_TRIG Chain 0/1 Register

Source

pub const fn trig4_chain_3_2(self) -> Reg<Trig4Chain32, RW>

ETC_TRIG Chain 2/3 Register

Source

pub const fn trig4_chain_5_4(self) -> Reg<Trig4Chain54, RW>

ETC_TRIG Chain 4/5 Register

Source

pub const fn trig4_chain_7_6(self) -> Reg<Trig4Chain76, RW>

ETC_TRIG Chain 6/7 Register

Source

pub const fn trig4_result_1_0(self) -> Reg<Trig4Result10, R>

ETC_TRIG Result Data 1/0 Register

Source

pub const fn trig4_result_3_2(self) -> Reg<Trig4Result32, R>

ETC_TRIG Result Data 3/2 Register

Source

pub const fn trig4_result_5_4(self) -> Reg<Trig4Result54, R>

ETC_TRIG Result Data 5/4 Register

Source

pub const fn trig4_result_7_6(self) -> Reg<Trig4Result76, R>

ETC_TRIG Result Data 7/6 Register

Source

pub const fn trig5_ctrl(self) -> Reg<Trig5Ctrl, RW>

ETC_TRIG Control Register

Source

pub const fn trig5_counter(self) -> Reg<Trig5Counter, RW>

ETC_TRIG Counter Register

Source

pub const fn trig5_chain_1_0(self) -> Reg<Trig5Chain10, RW>

ETC_TRIG Chain 0/1 Register

Source

pub const fn trig5_chain_3_2(self) -> Reg<Trig5Chain32, RW>

ETC_TRIG Chain 2/3 Register

Source

pub const fn trig5_chain_5_4(self) -> Reg<Trig5Chain54, RW>

ETC_TRIG Chain 4/5 Register

Source

pub const fn trig5_chain_7_6(self) -> Reg<Trig5Chain76, RW>

ETC_TRIG Chain 6/7 Register

Source

pub const fn trig5_result_1_0(self) -> Reg<Trig5Result10, R>

ETC_TRIG Result Data 1/0 Register

Source

pub const fn trig5_result_3_2(self) -> Reg<Trig5Result32, R>

ETC_TRIG Result Data 3/2 Register

Source

pub const fn trig5_result_5_4(self) -> Reg<Trig5Result54, R>

ETC_TRIG Result Data 5/4 Register

Source

pub const fn trig5_result_7_6(self) -> Reg<Trig5Result76, R>

ETC_TRIG Result Data 7/6 Register

Source

pub const fn trig6_ctrl(self) -> Reg<Trig6Ctrl, RW>

ETC_TRIG Control Register

Source

pub const fn trig6_counter(self) -> Reg<Trig6Counter, RW>

ETC_TRIG Counter Register

Source

pub const fn trig6_chain_1_0(self) -> Reg<Trig6Chain10, RW>

ETC_TRIG Chain 0/1 Register

Source

pub const fn trig6_chain_3_2(self) -> Reg<Trig6Chain32, RW>

ETC_TRIG Chain 2/3 Register

Source

pub const fn trig6_chain_5_4(self) -> Reg<Trig6Chain54, RW>

ETC_TRIG Chain 4/5 Register

Source

pub const fn trig6_chain_7_6(self) -> Reg<Trig6Chain76, RW>

ETC_TRIG Chain 6/7 Register

Source

pub const fn trig6_result_1_0(self) -> Reg<Trig6Result10, R>

ETC_TRIG Result Data 1/0 Register

Source

pub const fn trig6_result_3_2(self) -> Reg<Trig6Result32, R>

ETC_TRIG Result Data 3/2 Register

Source

pub const fn trig6_result_5_4(self) -> Reg<Trig6Result54, R>

ETC_TRIG Result Data 5/4 Register

Source

pub const fn trig6_result_7_6(self) -> Reg<Trig6Result76, R>

ETC_TRIG Result Data 7/6 Register

Source

pub const fn trig7_ctrl(self) -> Reg<Trig7Ctrl, RW>

ETC_TRIG Control Register

Source

pub const fn trig7_counter(self) -> Reg<Trig7Counter, RW>

ETC_TRIG Counter Register

Source

pub const fn trig7_chain_1_0(self) -> Reg<Trig7Chain10, RW>

ETC_TRIG Chain 0/1 Register

Source

pub const fn trig7_chain_3_2(self) -> Reg<Trig7Chain32, RW>

ETC_TRIG Chain 2/3 Register

Source

pub const fn trig7_chain_5_4(self) -> Reg<Trig7Chain54, RW>

ETC_TRIG Chain 4/5 Register

Source

pub const fn trig7_chain_7_6(self) -> Reg<Trig7Chain76, RW>

ETC_TRIG Chain 6/7 Register

Source

pub const fn trig7_result_1_0(self) -> Reg<Trig7Result10, R>

ETC_TRIG Result Data 1/0 Register

Source

pub const fn trig7_result_3_2(self) -> Reg<Trig7Result32, R>

ETC_TRIG Result Data 3/2 Register

Source

pub const fn trig7_result_5_4(self) -> Reg<Trig7Result54, R>

ETC_TRIG Result Data 5/4 Register

Source

pub const fn trig7_result_7_6(self) -> Reg<Trig7Result76, R>

ETC_TRIG Result Data 7/6 Register

Trait Implementations§

Source§

impl Clone for AdcEtc

Source§

fn clone(&self) -> AdcEtc

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for AdcEtc

Source§

fn eq(&self, other: &AdcEtc) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for AdcEtc

Source§

impl Eq for AdcEtc

Source§

impl Send for AdcEtc

Source§

impl StructuralPartialEq for AdcEtc

Source§

impl Sync for AdcEtc

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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>,

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.