Struct zinc_hal_lpc11xx::ioregs::GPIO0_ic_Update
[−]
[src]
pub struct GPIO0_ic_Update<'a> { // some fields omitted }
Updater for IC
register.
Methods
impl<'a> GPIO0_ic_Update<'a>
fn new(reg: &'a GPIO0_ic) -> GPIO0_ic_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a GPIO0_ic) -> GPIO0_ic_Update<'a>
Create a new updater that ignores current state.
fn set_clr0<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR0
field.
fn set_clr1<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR1
field.
fn set_clr2<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR2
field.
fn set_clr3<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR3
field.
fn set_clr4<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR4
field.
fn set_clr5<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR5
field.
fn set_clr6<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR6
field.
fn set_clr7<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR7
field.
fn set_clr8<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR8
field.
fn set_clr9<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR9
field.
fn set_clr10<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR10
field.
fn set_clr11<'b>(&'b mut self, new_value: bool) -> &'b mut GPIO0_ic_Update<'a>
Set value of CLR11
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for GPIO0_ic_Update<'a>
This performs the register update.