Struct zinc_hal_lpc11xx::ioregs::IOCON_iocon_pio1_11_Update
[−]
[src]
pub struct IOCON_iocon_pio1_11_Update<'a> { // some fields omitted }
Updater for IOCON_PIO1_11
register.
Methods
impl<'a> IOCON_iocon_pio1_11_Update<'a>
fn new(reg: &'a IOCON_iocon_pio1_11) -> IOCON_iocon_pio1_11_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a IOCON_iocon_pio1_11) -> IOCON_iocon_pio1_11_Update<'a>
Create a new updater that ignores current state.
fn set_func<'b>(&'b mut self, new_value: IOCON_iocon_pio1_11_func) -> &'b mut IOCON_iocon_pio1_11_Update<'a>
Set value of FUNC
field.
fn set_mode<'b>(&'b mut self, new_value: IOCON_iocon_pio1_11_mode) -> &'b mut IOCON_iocon_pio1_11_Update<'a>
Set value of MODE
field.
fn set_hys<'b>(&'b mut self, new_value: IOCON_iocon_pio1_11_hys) -> &'b mut IOCON_iocon_pio1_11_Update<'a>
Set value of HYS
field.
fn set_admode<'b>(&'b mut self, new_value: IOCON_iocon_pio1_11_admode) -> &'b mut IOCON_iocon_pio1_11_Update<'a>
Set value of ADMODE
field.
fn set_od<'b>(&'b mut self, new_value: IOCON_iocon_pio1_11_od) -> &'b mut IOCON_iocon_pio1_11_Update<'a>
Set value of OD
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for IOCON_iocon_pio1_11_Update<'a>
This performs the register update.