Struct zinc_hal_lpc11xx::ioregs::IOCON_iocon_pio0_4
[−]
[src]
pub struct IOCON_iocon_pio0_4 { // some fields omitted }
Register IOCON_PIO0_4
: I/O configuration for pin PIO0_4/SCL
Methods
impl IOCON_iocon_pio0_4
fn get(&self) -> IOCON_iocon_pio0_4_Get
Fetch the value of the IOCON_PIO0_4
register.
fn func(&self) -> IOCON_iocon_pio0_4_func
Get value of FUNC
field.
fn i2cmode(&self) -> IOCON_iocon_pio0_4_i2cmode
Get value of I2CMODE
field.
fn ignoring_state(&self) -> IOCON_iocon_pio0_4_Update
Create new updater that ignores current value of the IOCON_PIO0_4
register.
fn set_func<'a>(&'a mut self, new_value: IOCON_iocon_pio0_4_func) -> IOCON_iocon_pio0_4_Update<'a>
Set value of FUNC
field.
fn set_i2cmode<'a>(&'a mut self, new_value: IOCON_iocon_pio0_4_i2cmode) -> IOCON_iocon_pio0_4_Update<'a>
Set value of I2CMODE
field.