Struct zinc_hal_lpc11xx::ioregs::CT16B0_mr0 [] [src]

pub struct CT16B0_mr0 {
    // some fields omitted
}

Register MR0: 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_mr0

fn get(&self) -> CT16B0_mr0_Get

Fetch the value of the MR0 register.

fn match_(&self) -> u32

Get value of MATCH field.

fn ignoring_state(&self) -> CT16B0_mr0_Update

Create new updater that ignores current value of the MR0 register.

fn set_match_<'a>(&'a mut self, new_value: u32) -> CT16B0_mr0_Update<'a>

Set value of MATCH field.

Trait Implementations

impl Copy for CT16B0_mr0

Derived Implementations

impl Clone for CT16B0_mr0

fn clone(&self) -> CT16B0_mr0

fn clone_from(&mut self, source: &Self)