nxp-pac

Crates

git

Versions

mimxrt1011

Flavors

Sm

Struct Sm 

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

no description available

Implementations§

Source§

impl Sm

Source

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

Source

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

Source

pub const fn smcnt(self) -> Reg<Smcnt, R>

Counter Register

Source

pub const fn sminit(self) -> Reg<Sminit, RW>

Initial Count Register

Source

pub const fn smctrl2(self) -> Reg<Smctrl2, RW>

Control 2 Register

Source

pub const fn smctrl(self) -> Reg<Smctrl, RW>

Control Register

Source

pub const fn smval0(self) -> Reg<Smval0, RW>

Value Register 0

Source

pub const fn smfracval1(self) -> Reg<Smfracval1, RW>

Fractional Value Register 1

Source

pub const fn smval1(self) -> Reg<Smval1, RW>

Value Register 1

Source

pub const fn smfracval2(self) -> Reg<Smfracval2, RW>

Fractional Value Register 2

Source

pub const fn smval2(self) -> Reg<Smval2, RW>

Value Register 2

Source

pub const fn smfracval3(self) -> Reg<Smfracval3, RW>

Fractional Value Register 3

Source

pub const fn smval3(self) -> Reg<Smval3, RW>

Value Register 3

Source

pub const fn smfracval4(self) -> Reg<Smfracval4, RW>

Fractional Value Register 4

Source

pub const fn smval4(self) -> Reg<Smval4, RW>

Value Register 4

Source

pub const fn smfracval5(self) -> Reg<Smfracval5, RW>

Fractional Value Register 5

Source

pub const fn smval5(self) -> Reg<Smval5, RW>

Value Register 5

Source

pub const fn smfrctrl(self) -> Reg<Smfrctrl, RW>

Fractional Control Register

Source

pub const fn smoctrl(self) -> Reg<Smoctrl, RW>

Output Control Register

Source

pub const fn smsts(self) -> Reg<Smsts, RW>

Status Register

Source

pub const fn sminten(self) -> Reg<Sminten, RW>

Interrupt Enable Register

Source

pub const fn smdmaen(self) -> Reg<Smdmaen, RW>

DMA Enable Register

Source

pub const fn smtctrl(self) -> Reg<Smtctrl, RW>

Output Trigger Control Register

Source

pub const fn smdismap0(self) -> Reg<Smdismap0, RW>

Fault Disable Mapping Register 0

Source

pub const fn smdtcnt0(self) -> Reg<Smdtcnt0, RW>

Deadtime Count Register 0

Source

pub const fn smdtcnt1(self) -> Reg<Smdtcnt1, RW>

Deadtime Count Register 1

Source

pub const fn smcaptctrla(self) -> Reg<Smcaptctrla, RW>

Capture Control A Register

Source

pub const fn smcaptcompa(self) -> Reg<Smcaptcompa, RW>

Capture Compare A Register

Source

pub const fn smcaptctrlb(self) -> Reg<Smcaptctrlb, RW>

Capture Control B Register

Source

pub const fn smcaptcompb(self) -> Reg<Smcaptcompb, RW>

Capture Compare B Register

Source

pub const fn smcaptctrlx(self) -> Reg<Smcaptctrlx, RW>

Capture Control X Register

Source

pub const fn smcaptcompx(self) -> Reg<Smcaptcompx, RW>

Capture Compare X Register

Source

pub const fn smcval0(self) -> Reg<Smcval0, R>

Capture Value 0 Register

Source

pub const fn smcval0cyc(self) -> Reg<Smcval0cyc, R>

Capture Value 0 Cycle Register

Source

pub const fn smcval1(self) -> Reg<Smcval1, R>

Capture Value 1 Register

Source

pub const fn smcval1cyc(self) -> Reg<Smcval1cyc, R>

Capture Value 1 Cycle Register

Source

pub const fn smcval2(self) -> Reg<Smcval2, R>

Capture Value 2 Register

Source

pub const fn smcval2cyc(self) -> Reg<Smcval2cyc, R>

Capture Value 2 Cycle Register

Source

pub const fn smcval3(self) -> Reg<Smcval3, R>

Capture Value 3 Register

Source

pub const fn smcval3cyc(self) -> Reg<Smcval3cyc, R>

Capture Value 3 Cycle Register

Source

pub const fn smcval4(self) -> Reg<Smcval4, R>

Capture Value 4 Register

Source

pub const fn smcval4cyc(self) -> Reg<Smcval4cyc, R>

Capture Value 4 Cycle Register

Source

pub const fn smcval5(self) -> Reg<Smcval5, R>

Capture Value 5 Register

Source

pub const fn smcval5cyc(self) -> Reg<Smcval5cyc, R>

Capture Value 5 Cycle Register

Trait Implementations§

Source§

impl Clone for Sm

Source§

fn clone(&self) -> Sm

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 Sm

Source§

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

Source§

impl Eq for Sm

Source§

impl Send for Sm

Source§

impl StructuralPartialEq for Sm

Source§

impl Sync for Sm

Auto Trait Implementations§

§

impl Freeze for Sm

§

impl RefUnwindSafe for Sm

§

impl Unpin for Sm

§

impl UnwindSafe for Sm

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.