[][src]Struct lpc55s6x_pac::utick0::cfg::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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

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

type Output = T

Should always be Self