Struct zinc_hal_lpc11xx::ioregs::CT16B0_mcr
[−]
[src]
pub struct CT16B0_mcr {
// some fields omitted
}Register MCR: Match Control Register (MCR). The MCR is used to control if an interrupt is generated and if the TC is reset when a Match occurs.
Methods
impl CT16B0_mcr
fn get(&self) -> CT16B0_mcr_Get
Fetch the value of the MCR register.
fn mr0i(&self) -> CT16B0_mcr_mr0i
Get value of MR0I field.
fn mr0r(&self) -> CT16B0_mcr_mr0r
Get value of MR0R field.
fn mr0s(&self) -> CT16B0_mcr_mr0s
Get value of MR0S field.
fn mr1i(&self) -> CT16B0_mcr_mr1i
Get value of MR1I field.
fn mr1r(&self) -> CT16B0_mcr_mr1r
Get value of MR1R field.
fn mr1s(&self) -> CT16B0_mcr_mr1s
Get value of MR1S field.
fn mr2i(&self) -> CT16B0_mcr_mr2i
Get value of MR2I field.
fn mr2r(&self) -> CT16B0_mcr_mr2r
Get value of MR2R field.
fn mr2s(&self) -> CT16B0_mcr_mr2s
Get value of MR2S field.
fn mr3i(&self) -> CT16B0_mcr_mr3i
Get value of MR3I field.
fn mr3r(&self) -> CT16B0_mcr_mr3r
Get value of MR3R field.
fn mr3s(&self) -> CT16B0_mcr_mr3s
Get value of MR3S field.
fn ignoring_state(&self) -> CT16B0_mcr_Update
Create new updater that ignores current value of the MCR register.
fn set_mr0i<'a>(&'a mut self, new_value: CT16B0_mcr_mr0i) -> CT16B0_mcr_Update<'a>
Set value of MR0I field.
fn set_mr0r<'a>(&'a mut self, new_value: CT16B0_mcr_mr0r) -> CT16B0_mcr_Update<'a>
Set value of MR0R field.
fn set_mr0s<'a>(&'a mut self, new_value: CT16B0_mcr_mr0s) -> CT16B0_mcr_Update<'a>
Set value of MR0S field.
fn set_mr1i<'a>(&'a mut self, new_value: CT16B0_mcr_mr1i) -> CT16B0_mcr_Update<'a>
Set value of MR1I field.
fn set_mr1r<'a>(&'a mut self, new_value: CT16B0_mcr_mr1r) -> CT16B0_mcr_Update<'a>
Set value of MR1R field.
fn set_mr1s<'a>(&'a mut self, new_value: CT16B0_mcr_mr1s) -> CT16B0_mcr_Update<'a>
Set value of MR1S field.
fn set_mr2i<'a>(&'a mut self, new_value: CT16B0_mcr_mr2i) -> CT16B0_mcr_Update<'a>
Set value of MR2I field.
fn set_mr2r<'a>(&'a mut self, new_value: CT16B0_mcr_mr2r) -> CT16B0_mcr_Update<'a>
Set value of MR2R field.
fn set_mr2s<'a>(&'a mut self, new_value: CT16B0_mcr_mr2s) -> CT16B0_mcr_Update<'a>
Set value of MR2S field.
fn set_mr3i<'a>(&'a mut self, new_value: CT16B0_mcr_mr3i) -> CT16B0_mcr_Update<'a>
Set value of MR3I field.
fn set_mr3r<'a>(&'a mut self, new_value: CT16B0_mcr_mr3r) -> CT16B0_mcr_Update<'a>
Set value of MR3R field.
fn set_mr3s<'a>(&'a mut self, new_value: CT16B0_mcr_mr3s) -> CT16B0_mcr_Update<'a>
Set value of MR3S field.