nxp-pac

Crates

git

Versions

mimxrt1062

Flavors

Tmr

Struct Tmr 

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

TMR

Implementations§

Source§

impl Tmr

Source

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

Source

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

Source

pub const fn comp10(self) -> Reg<Comp10, RW>

Timer Channel Compare Register 1

Source

pub const fn comp20(self) -> Reg<Comp20, RW>

Timer Channel Compare Register 2

Source

pub const fn capt0(self) -> Reg<Capt0, RW>

Timer Channel Capture Register

Source

pub const fn load0(self) -> Reg<Load0, RW>

Timer Channel Load Register

Source

pub const fn hold0(self) -> Reg<Hold0, RW>

Timer Channel Hold Register

Source

pub const fn cntr0(self) -> Reg<Cntr0, RW>

Timer Channel Counter Register

Source

pub const fn ctrl0(self) -> Reg<Ctrl0, RW>

Timer Channel Control Register

Source

pub const fn sctrl0(self) -> Reg<Sctrl0, RW>

Timer Channel Status and Control Register

Source

pub const fn cmpld10(self) -> Reg<Cmpld10, RW>

Timer Channel Comparator Load Register 1

Source

pub const fn cmpld20(self) -> Reg<Cmpld20, RW>

Timer Channel Comparator Load Register 2

Source

pub const fn csctrl0(self) -> Reg<Csctrl0, RW>

Timer Channel Comparator Status and Control Register

Source

pub const fn filt0(self) -> Reg<Filt0, RW>

Timer Channel Input Filter Register

Source

pub const fn dma0(self) -> Reg<Dma0, RW>

Timer Channel DMA Enable Register

Source

pub const fn enbl(self) -> Reg<Enbl, RW>

Timer Channel Enable Register

Source

pub const fn comp11(self) -> Reg<Comp11, RW>

Timer Channel Compare Register 1

Source

pub const fn comp21(self) -> Reg<Comp21, RW>

Timer Channel Compare Register 2

Source

pub const fn capt1(self) -> Reg<Capt1, RW>

Timer Channel Capture Register

Source

pub const fn load1(self) -> Reg<Load1, RW>

Timer Channel Load Register

Source

pub const fn hold1(self) -> Reg<Hold1, RW>

Timer Channel Hold Register

Source

pub const fn cntr1(self) -> Reg<Cntr1, RW>

Timer Channel Counter Register

Source

pub const fn ctrl1(self) -> Reg<Ctrl1, RW>

Timer Channel Control Register

Source

pub const fn sctrl1(self) -> Reg<Sctrl1, RW>

Timer Channel Status and Control Register

Source

pub const fn cmpld11(self) -> Reg<Cmpld11, RW>

Timer Channel Comparator Load Register 1

Source

pub const fn cmpld21(self) -> Reg<Cmpld21, RW>

Timer Channel Comparator Load Register 2

Source

pub const fn csctrl1(self) -> Reg<Csctrl1, RW>

Timer Channel Comparator Status and Control Register

Source

pub const fn filt1(self) -> Reg<Filt1, RW>

Timer Channel Input Filter Register

Source

pub const fn dma1(self) -> Reg<Dma1, RW>

Timer Channel DMA Enable Register

Source

pub const fn comp12(self) -> Reg<Comp12, RW>

Timer Channel Compare Register 1

Source

pub const fn comp22(self) -> Reg<Comp22, RW>

Timer Channel Compare Register 2

Source

pub const fn capt2(self) -> Reg<Capt2, RW>

Timer Channel Capture Register

Source

pub const fn load2(self) -> Reg<Load2, RW>

Timer Channel Load Register

Source

pub const fn hold2(self) -> Reg<Hold2, RW>

Timer Channel Hold Register

Source

pub const fn cntr2(self) -> Reg<Cntr2, RW>

Timer Channel Counter Register

Source

pub const fn ctrl2(self) -> Reg<Ctrl2, RW>

Timer Channel Control Register

Source

pub const fn sctrl2(self) -> Reg<Sctrl2, RW>

Timer Channel Status and Control Register

Source

pub const fn cmpld12(self) -> Reg<Cmpld12, RW>

Timer Channel Comparator Load Register 1

Source

pub const fn cmpld22(self) -> Reg<Cmpld22, RW>

Timer Channel Comparator Load Register 2

Source

pub const fn csctrl2(self) -> Reg<Csctrl2, RW>

Timer Channel Comparator Status and Control Register

Source

pub const fn filt2(self) -> Reg<Filt2, RW>

Timer Channel Input Filter Register

Source

pub const fn dma2(self) -> Reg<Dma2, RW>

Timer Channel DMA Enable Register

Source

pub const fn comp13(self) -> Reg<Comp13, RW>

Timer Channel Compare Register 1

Source

pub const fn comp23(self) -> Reg<Comp23, RW>

Timer Channel Compare Register 2

Source

pub const fn capt3(self) -> Reg<Capt3, RW>

Timer Channel Capture Register

Source

pub const fn load3(self) -> Reg<Load3, RW>

Timer Channel Load Register

Source

pub const fn hold3(self) -> Reg<Hold3, RW>

Timer Channel Hold Register

Source

pub const fn cntr3(self) -> Reg<Cntr3, RW>

Timer Channel Counter Register

Source

pub const fn ctrl3(self) -> Reg<Ctrl3, RW>

Timer Channel Control Register

Source

pub const fn sctrl3(self) -> Reg<Sctrl3, RW>

Timer Channel Status and Control Register

Source

pub const fn cmpld13(self) -> Reg<Cmpld13, RW>

Timer Channel Comparator Load Register 1

Source

pub const fn cmpld23(self) -> Reg<Cmpld23, RW>

Timer Channel Comparator Load Register 2

Source

pub const fn csctrl3(self) -> Reg<Csctrl3, RW>

Timer Channel Comparator Status and Control Register

Source

pub const fn filt3(self) -> Reg<Filt3, RW>

Timer Channel Input Filter Register

Source

pub const fn dma3(self) -> Reg<Dma3, RW>

Timer Channel DMA Enable Register

Trait Implementations§

Source§

impl Clone for Tmr

Source§

fn clone(&self) -> Tmr

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 Tmr

Source§

fn eq(&self, other: &Tmr) -> 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 Tmr

Source§

impl Eq for Tmr

Source§

impl Send for Tmr

Source§

impl StructuralPartialEq for Tmr

Source§

impl Sync for Tmr

Auto Trait Implementations§

§

impl Freeze for Tmr

§

impl RefUnwindSafe for Tmr

§

impl Unpin for Tmr

§

impl UnwindSafe for Tmr

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.