Struct zinc_hal_lpc11xx::ioregs::CT32B0_ctcr_Update
[−]
[src]
pub struct CT32B0_ctcr_Update<'a> { // some fields omitted }
Updater for CTCR
register.
Methods
impl<'a> CT32B0_ctcr_Update<'a>
fn new(reg: &'a CT32B0_ctcr) -> CT32B0_ctcr_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a CT32B0_ctcr) -> CT32B0_ctcr_Update<'a>
Create a new updater that ignores current state.
fn set_ctm<'b>(&'b mut self, new_value: CT32B0_ctcr_ctm) -> &'b mut CT32B0_ctcr_Update<'a>
Set value of CTM
field.
fn set_cis<'b>(&'b mut self, new_value: CT32B0_ctcr_cis) -> &'b mut CT32B0_ctcr_Update<'a>
Set value of CIS
field.
fn set_encc<'b>(&'b mut self, new_value: bool) -> &'b mut CT32B0_ctcr_Update<'a>
Set value of ENCC
field.
fn set_selcc<'b>(&'b mut self, new_value: CT32B0_ctcr_selcc) -> &'b mut CT32B0_ctcr_Update<'a>
Set value of SELCC
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for CT32B0_ctcr_Update<'a>
This performs the register update.