Struct lpc55_pac::utick0::cfg::R[][src]

pub struct R(_);

Register CFG reader

Implementations

impl R[src]

pub fn capen0(&self) -> CAPEN0_R[src]

Bit 0 - Enable Capture 0. 1 = Enabled, 0 = Disabled.

pub fn capen1(&self) -> CAPEN1_R[src]

Bit 1 - Enable Capture 1. 1 = Enabled, 0 = Disabled.

pub fn capen2(&self) -> CAPEN2_R[src]

Bit 2 - Enable Capture 2. 1 = Enabled, 0 = Disabled.

pub fn capen3(&self) -> CAPEN3_R[src]

Bit 3 - Enable Capture 3. 1 = Enabled, 0 = Disabled.

pub fn cappol0(&self) -> CAPPOL0_R[src]

Bit 8 - Capture Polarity 0. 0 = Positive edge capture, 1 = Negative edge capture.

pub fn cappol1(&self) -> CAPPOL1_R[src]

Bit 9 - Capture Polarity 1. 0 = Positive edge capture, 1 = Negative edge capture.

pub fn cappol2(&self) -> CAPPOL2_R[src]

Bit 10 - Capture Polarity 2. 0 = Positive edge capture, 1 = Negative edge capture.

pub fn cappol3(&self) -> CAPPOL3_R[src]

Bit 11 - Capture Polarity 3. 0 = Positive edge capture, 1 = Negative edge capture.

Methods from Deref<Target = R<CFG_SPEC>>

pub fn bits(&self) -> REG::Ux[src]

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<CFG_SPEC>

The resulting type after dereferencing.

impl From<R<CFG_SPEC>> for R[src]

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.