Struct zinc_hal_lpc11xx::ioregs::I2C_conclr_Update
[−]
[src]
pub struct I2C_conclr_Update<'a> { // some fields omitted }
Updater for CONCLR
register.
Methods
impl<'a> I2C_conclr_Update<'a>
fn new(reg: &'a I2C_conclr) -> I2C_conclr_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a I2C_conclr) -> I2C_conclr_Update<'a>
Create a new updater that ignores current state.
fn set_aac<'b>(&'b mut self, new_value: bool) -> &'b mut I2C_conclr_Update<'a>
Set value of AAC
field.
fn set_sic<'b>(&'b mut self, new_value: bool) -> &'b mut I2C_conclr_Update<'a>
Set value of SIC
field.
fn set_stac<'b>(&'b mut self, new_value: bool) -> &'b mut I2C_conclr_Update<'a>
Set value of STAC
field.
fn set_i2enc<'b>(&'b mut self, new_value: bool) -> &'b mut I2C_conclr_Update<'a>
Set value of I2ENC
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for I2C_conclr_Update<'a>
This performs the register update.