nxp-pac

Crates

git

Versions

mimxrt685s_cm33

Flavors

Sct

Struct Sct 

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

LPC84x SCTimer/PWM (SCT)

Implementations§

Source§

impl Sct

Source

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

Source

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

Source

pub const fn config(self) -> Reg<Config, RW>

SCT configuration register

Source

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

SCT control register

Source

pub const fn limit(self) -> Reg<Limit, RW>

SCT limit event select register

Source

pub const fn halt(self) -> Reg<Halt, RW>

SCT halt event select register

Source

pub const fn stop(self) -> Reg<Stop, RW>

SCT stop event select register

Source

pub const fn start(self) -> Reg<Start, RW>

SCT start event select register

Source

pub const fn count(self) -> Reg<Count, RW>

SCT counter register

Source

pub const fn state(self) -> Reg<State, RW>

SCT state register

Source

pub const fn input(self) -> Reg<Input, R>

SCT input register

Source

pub const fn regmode(self) -> Reg<Regmode, RW>

SCT match/capture mode register

Source

pub const fn output(self) -> Reg<Output, RW>

SCT output register

Source

pub const fn outputdirctrl(self) -> Reg<Outputdirctrl, RW>

SCT output counter direction control register

Source

pub const fn res(self) -> Reg<Res, RW>

SCT conflict resolution register

Source

pub const fn dmareq0(self) -> Reg<Dmareq0, RW>

SCT DMA request 0 register

Source

pub const fn dmareq1(self) -> Reg<Dmareq1, RW>

SCT DMA request 1 register

Source

pub const fn even(self) -> Reg<Even, RW>

SCT event interrupt enable register

Source

pub const fn evflag(self) -> Reg<Evflag, RW>

SCT event flag register

Source

pub const fn conen(self) -> Reg<Conen, RW>

SCT conflict interrupt enable register

Source

pub const fn conflag(self) -> Reg<Conflag, RW>

SCT conflict flag register

Source

pub const fn cap0(self) -> Reg<Cap0, RW>

SCT capture register of capture channel

Source

pub const fn match0(self) -> Reg<Match0, RW>

SCT match value register of match channels

Source

pub const fn cap1(self) -> Reg<Cap1, RW>

SCT capture register of capture channel

Source

pub const fn match1(self) -> Reg<Match1, RW>

SCT match value register of match channels

Source

pub const fn cap2(self) -> Reg<Cap2, RW>

SCT capture register of capture channel

Source

pub const fn match2(self) -> Reg<Match2, RW>

SCT match value register of match channels

Source

pub const fn cap3(self) -> Reg<Cap3, RW>

SCT capture register of capture channel

Source

pub const fn match3(self) -> Reg<Match3, RW>

SCT match value register of match channels

Source

pub const fn cap4(self) -> Reg<Cap4, RW>

SCT capture register of capture channel

Source

pub const fn match4(self) -> Reg<Match4, RW>

SCT match value register of match channels

Source

pub const fn cap5(self) -> Reg<Cap5, RW>

SCT capture register of capture channel

Source

pub const fn match5(self) -> Reg<Match5, RW>

SCT match value register of match channels

Source

pub const fn cap6(self) -> Reg<Cap6, RW>

SCT capture register of capture channel

Source

pub const fn match6(self) -> Reg<Match6, RW>

SCT match value register of match channels

Source

pub const fn cap7(self) -> Reg<Cap7, RW>

SCT capture register of capture channel

Source

pub const fn match7(self) -> Reg<Match7, RW>

SCT match value register of match channels

Source

pub const fn cap8(self) -> Reg<Cap8, RW>

SCT capture register of capture channel

Source

pub const fn match8(self) -> Reg<Match8, RW>

SCT match value register of match channels

Source

pub const fn cap9(self) -> Reg<Cap9, RW>

SCT capture register of capture channel

Source

pub const fn match9(self) -> Reg<Match9, RW>

SCT match value register of match channels

Source

pub const fn cap10(self) -> Reg<Cap10, RW>

SCT capture register of capture channel

Source

pub const fn match10(self) -> Reg<Match10, RW>

SCT match value register of match channels

Source

pub const fn cap11(self) -> Reg<Cap11, RW>

SCT capture register of capture channel

Source

pub const fn match11(self) -> Reg<Match11, RW>

SCT match value register of match channels

Source

pub const fn cap12(self) -> Reg<Cap12, RW>

SCT capture register of capture channel

Source

pub const fn match12(self) -> Reg<Match12, RW>

SCT match value register of match channels

Source

pub const fn cap13(self) -> Reg<Cap13, RW>

SCT capture register of capture channel

Source

pub const fn match13(self) -> Reg<Match13, RW>

SCT match value register of match channels

Source

pub const fn cap14(self) -> Reg<Cap14, RW>

SCT capture register of capture channel

Source

pub const fn match14(self) -> Reg<Match14, RW>

SCT match value register of match channels

Source

pub const fn cap15(self) -> Reg<Cap15, RW>

SCT capture register of capture channel

Source

pub const fn match15(self) -> Reg<Match15, RW>

SCT match value register of match channels

Source

pub const fn capctrl0(self) -> Reg<Capctrl0, RW>

SCT capture control register

Source

pub const fn matchrel0(self) -> Reg<Matchrel0, RW>

SCT match reload value register

Source

pub const fn capctrl1(self) -> Reg<Capctrl1, RW>

SCT capture control register

Source

pub const fn matchrel1(self) -> Reg<Matchrel1, RW>

SCT match reload value register

Source

pub const fn capctrl2(self) -> Reg<Capctrl2, RW>

SCT capture control register

Source

pub const fn matchrel2(self) -> Reg<Matchrel2, RW>

SCT match reload value register

Source

pub const fn capctrl3(self) -> Reg<Capctrl3, RW>

SCT capture control register

Source

pub const fn matchrel3(self) -> Reg<Matchrel3, RW>

SCT match reload value register

Source

pub const fn capctrl4(self) -> Reg<Capctrl4, RW>

SCT capture control register

Source

pub const fn matchrel4(self) -> Reg<Matchrel4, RW>

SCT match reload value register

Source

pub const fn capctrl5(self) -> Reg<Capctrl5, RW>

SCT capture control register

Source

pub const fn matchrel5(self) -> Reg<Matchrel5, RW>

SCT match reload value register

Source

pub const fn capctrl6(self) -> Reg<Capctrl6, RW>

SCT capture control register

Source

pub const fn matchrel6(self) -> Reg<Matchrel6, RW>

SCT match reload value register

Source

pub const fn capctrl7(self) -> Reg<Capctrl7, RW>

SCT capture control register

Source

pub const fn matchrel7(self) -> Reg<Matchrel7, RW>

SCT match reload value register

Source

pub const fn capctrl8(self) -> Reg<Capctrl8, RW>

SCT capture control register

Source

pub const fn matchrel8(self) -> Reg<Matchrel8, RW>

SCT match reload value register

Source

pub const fn capctrl9(self) -> Reg<Capctrl9, RW>

SCT capture control register

Source

pub const fn matchrel9(self) -> Reg<Matchrel9, RW>

SCT match reload value register

Source

pub const fn capctrl10(self) -> Reg<Capctrl10, RW>

SCT capture control register

Source

pub const fn matchrel10(self) -> Reg<Matchrel10, RW>

SCT match reload value register

Source

pub const fn capctrl11(self) -> Reg<Capctrl11, RW>

SCT capture control register

Source

pub const fn matchrel11(self) -> Reg<Matchrel11, RW>

SCT match reload value register

Source

pub const fn capctrl12(self) -> Reg<Capctrl12, RW>

SCT capture control register

Source

pub const fn matchrel12(self) -> Reg<Matchrel12, RW>

SCT match reload value register

Source

pub const fn capctrl13(self) -> Reg<Capctrl13, RW>

SCT capture control register

Source

pub const fn matchrel13(self) -> Reg<Matchrel13, RW>

SCT match reload value register

Source

pub const fn capctrl14(self) -> Reg<Capctrl14, RW>

SCT capture control register

Source

pub const fn matchrel14(self) -> Reg<Matchrel14, RW>

SCT match reload value register

Source

pub const fn capctrl15(self) -> Reg<Capctrl15, RW>

SCT capture control register

Source

pub const fn matchrel15(self) -> Reg<Matchrel15, RW>

SCT match reload value register

Source

pub const fn ev(self, n: usize) -> Ev

Array of registers: EV_CTRL, EV_STATE

Source

pub const fn out(self, n: usize) -> Out

Array of registers: OUT_CLR, OUT_SET

Trait Implementations§

Source§

impl Clone for Sct

Source§

fn clone(&self) -> Sct

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 Sct

Source§

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

Source§

impl Eq for Sct

Source§

impl Send for Sct

Source§

impl StructuralPartialEq for Sct

Source§

impl Sync for Sct

Auto Trait Implementations§

§

impl Freeze for Sct

§

impl RefUnwindSafe for Sct

§

impl Unpin for Sct

§

impl UnwindSafe for Sct

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.