pub struct R(_);
Expand description
Register MCR
reader
Implementations
sourceimpl R
impl R
sourcepub fn mr0i(&self) -> MR0I_R
pub fn mr0i(&self) -> MR0I_R
Bit 0 - Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC.
sourcepub fn mr0s(&self) -> MR0S_R
pub fn mr0s(&self) -> MR0S_R
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.
sourcepub fn mr1i(&self) -> MR1I_R
pub fn mr1i(&self) -> MR1I_R
Bit 3 - Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC.
sourcepub fn mr1s(&self) -> MR1S_R
pub fn mr1s(&self) -> MR1S_R
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.
sourcepub fn mr2i(&self) -> MR2I_R
pub fn mr2i(&self) -> MR2I_R
Bit 6 - Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC.
sourcepub fn mr2s(&self) -> MR2S_R
pub fn mr2s(&self) -> MR2S_R
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.
sourcepub fn mr3i(&self) -> MR3I_R
pub fn mr3i(&self) -> MR3I_R
Bit 9 - Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC.
sourcepub fn mr3s(&self) -> MR3S_R
pub fn mr3s(&self) -> MR3S_R
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.
sourcepub fn mr0rl(&self) -> MR0RL_R
pub fn mr0rl(&self) -> MR0RL_R
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).
sourcepub fn mr1rl(&self) -> MR1RL_R
pub fn mr1rl(&self) -> MR1RL_R
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).
Methods from Deref<Target = R<MCR_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more