nxp-pac

Crates

git

Versions

lpc55s69_cm33_core1

Flavors

Sct0

Struct Sct0 

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

SCTimer/PWM (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 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 cap(self, n: usize) -> Reg<Cap, RW>

SCT capture register of capture channel

Source

pub const fn match_(self, n: usize) -> Reg<Match, RW>

SCT match value register of match channels

Source

pub const fn capctrl(self, n: usize) -> Reg<Capctrl, RW>

SCT capture control register

Source

pub const fn matchrel(self, n: usize) -> Reg<Matchrel, RW>

SCT match reload value register

Source

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

no description available

Source

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

no description available

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.