Struct zinc_hal_lpc11xx::ioregs::IOCON_iocon_pio0_5_Update [] [src]

pub struct IOCON_iocon_pio0_5_Update<'a> {
    // some fields omitted
}

Updater for IOCON_PIO0_5 register.

Methods

impl<'a> IOCON_iocon_pio0_5_Update<'a>

fn new(reg: &'a IOCON_iocon_pio0_5) -> IOCON_iocon_pio0_5_Update<'a>

Create a new updater.

fn new_ignoring_state(reg: &'a IOCON_iocon_pio0_5) -> IOCON_iocon_pio0_5_Update<'a>

Create a new updater that ignores current state.

fn set_func<'b>(&'b mut self, new_value: IOCON_iocon_pio0_5_func) -> &'b mut IOCON_iocon_pio0_5_Update<'a>

Set value of FUNC field.

fn set_i2cmode<'b>(&'b mut self, new_value: IOCON_iocon_pio0_5_i2cmode) -> &'b mut IOCON_iocon_pio0_5_Update<'a>

Set value of I2CMODE field.

fn done(self)

Commit changes to register.

Trait Implementations

impl<'a> Drop for IOCON_iocon_pio0_5_Update<'a>

This performs the register update.

fn drop(&mut self)