Struct zinc_hal_lpc11xx::ioregs::CT16B0_mr2
[−]
[src]
pub struct CT16B0_mr2 { // some fields omitted }
Register MR2
: Match Register. MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.
Methods
impl CT16B0_mr2
fn get(&self) -> CT16B0_mr2_Get
Fetch the value of the MR2
register.
fn match_(&self) -> u32
Get value of MATCH
field.
fn ignoring_state(&self) -> CT16B0_mr2_Update
Create new updater that ignores current value of the MR2
register.
fn set_match_<'a>(&'a mut self, new_value: u32) -> CT16B0_mr2_Update<'a>
Set value of MATCH
field.