Struct zinc_hal_lpc11xx::ioregs::CT16B0_ccr_Update
[−]
[src]
pub struct CT16B0_ccr_Update<'a> { // some fields omitted }
Updater for CCR
register.
Methods
impl<'a> CT16B0_ccr_Update<'a>
fn new(reg: &'a CT16B0_ccr) -> CT16B0_ccr_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a CT16B0_ccr) -> CT16B0_ccr_Update<'a>
Create a new updater that ignores current state.
fn set_cap0re<'b>(&'b mut self, new_value: CT16B0_ccr_cap0re) -> &'b mut CT16B0_ccr_Update<'a>
Set value of CAP0RE
field.
fn set_cap0fe<'b>(&'b mut self, new_value: CT16B0_ccr_cap0fe) -> &'b mut CT16B0_ccr_Update<'a>
Set value of CAP0FE
field.
fn set_cap0i<'b>(&'b mut self, new_value: CT16B0_ccr_cap0i) -> &'b mut CT16B0_ccr_Update<'a>
Set value of CAP0I
field.
fn set_cap1re<'b>(&'b mut self, new_value: CT16B0_ccr_cap1re) -> &'b mut CT16B0_ccr_Update<'a>
Set value of CAP1RE
field.
fn set_cap1fe<'b>(&'b mut self, new_value: CT16B0_ccr_cap1fe) -> &'b mut CT16B0_ccr_Update<'a>
Set value of CAP1FE
field.
fn set_cap1i<'b>(&'b mut self, new_value: CT16B0_ccr_cap1i) -> &'b mut CT16B0_ccr_Update<'a>
Set value of CAP1I
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for CT16B0_ccr_Update<'a>
This performs the register update.