nxp-pac

Crates

git

Versions

mcxn947_cm33_core0

Flavors

Sct0

Struct Sct0 

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

SCT

Implementations§

Source§

impl Sct0

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

Source

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

SCT Control

Source

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

SCT Limit Event Select

Source

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

Halt Event Select

Source

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

Stop Event Select

Source

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

Start Event Select

Source

pub const fn dither(self) -> Reg<Dither, RW>

Dither Condition

Source

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

Counter Value

Source

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

State Variable

Source

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

Input State

Source

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

Match and Capture Register Mode

Source

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

Output State

Source

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

Output Counter Direction Control

Source

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

Output Conflict Resolution

Source

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

DMA Request 0

Source

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

DMA Request 1

Source

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

Event Interrupt Enable

Source

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

Event Flag

Source

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

Conflict Interrupt Enable

Source

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

Conflict Flag

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

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

Capture Value

Source

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

Match Value

Source

pub const fn fracmat(self, n: usize) -> Reg<Fracmat, RW>

Fractional Match

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

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

Capture Control

Source

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

Match Reload Value

Source

pub const fn fracmatrel(self, n: usize) -> Reg<Fracmatrel, RW>

Fractional Match Reload

Source

pub const fn event(self, n: usize) -> Event

Array of registers: EV_STATE, EV_CTRL

Source

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

Array of registers: OUT_SET, OUT_CLR

Trait Implementations§

Source§

impl Clone for Sct0

Source§

fn clone(&self) -> Sct0

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 Sct0

Source§

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

Source§

impl Eq for Sct0

Source§

impl Send for Sct0

Source§

impl StructuralPartialEq for Sct0

Source§

impl Sync for Sct0

Auto Trait Implementations§

§

impl Freeze for Sct0

§

impl RefUnwindSafe for Sct0

§

impl Unpin for Sct0

§

impl UnwindSafe for Sct0

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.