[][src]Struct lpc55s6x_pac::ctimer0::mcr::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 mr0i(&mut self) -> _MR0IW[src]

Bit 0 - Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC.

pub fn mr0r(&mut self) -> _MR0RW[src]

Bit 1 - Reset on MR0: the TC will be reset if MR0 matches it.

pub fn mr0s(&mut self) -> _MR0SW[src]

Bit 2 - Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC.

pub fn mr1i(&mut self) -> _MR1IW[src]

Bit 3 - Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC.

pub fn mr1r(&mut self) -> _MR1RW[src]

Bit 4 - Reset on MR1: the TC will be reset if MR1 matches it.

pub fn mr1s(&mut self) -> _MR1SW[src]

Bit 5 - Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC.

pub fn mr2i(&mut self) -> _MR2IW[src]

Bit 6 - Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC.

pub fn mr2r(&mut self) -> _MR2RW[src]

Bit 7 - Reset on MR2: the TC will be reset if MR2 matches it.

pub fn mr2s(&mut self) -> _MR2SW[src]

Bit 8 - Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC.

pub fn mr3i(&mut self) -> _MR3IW[src]

Bit 9 - Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC.

pub fn mr3r(&mut self) -> _MR3RW[src]

Bit 10 - Reset on MR3: the TC will be reset if MR3 matches it.

pub fn mr3s(&mut self) -> _MR3SW[src]

Bit 11 - Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC.

pub fn mr0rl(&mut self) -> _MR0RLW[src]

Bit 24 - Reload MR0 with the contents of the Match 0 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR).

pub fn mr1rl(&mut self) -> _MR1RLW[src]

Bit 25 - Reload MR1 with the contents of the Match 1 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR).

pub fn mr2rl(&mut self) -> _MR2RLW[src]

Bit 26 - Reload MR2 with the contents of the Match 2 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR).

pub fn mr3rl(&mut self) -> _MR3RLW[src]

Bit 27 - Reload MR3 with the contents of the Match 3 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR).

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