Struct zinc_hal_lpc11xx::ioregs::IOCON_iocon_pio2_10 [] [src]

pub struct IOCON_iocon_pio2_10 {
    // some fields omitted
}

Register IOCON_PIO2_10: I/O configuration for pin PIO2_10

Methods

impl IOCON_iocon_pio2_10

fn get(&self) -> IOCON_iocon_pio2_10_Get

Fetch the value of the IOCON_PIO2_10 register.

fn mode(&self) -> IOCON_iocon_pio2_10_mode

Get value of MODE field.

fn hys(&self) -> IOCON_iocon_pio2_10_hys

Get value of HYS field.

fn od(&self) -> IOCON_iocon_pio2_10_od

Get value of OD field.

fn ignoring_state(&self) -> IOCON_iocon_pio2_10_Update

Create new updater that ignores current value of the IOCON_PIO2_10 register.

fn set_mode<'a>(&'a mut self, new_value: IOCON_iocon_pio2_10_mode) -> IOCON_iocon_pio2_10_Update<'a>

Set value of MODE field.

fn set_hys<'a>(&'a mut self, new_value: IOCON_iocon_pio2_10_hys) -> IOCON_iocon_pio2_10_Update<'a>

Set value of HYS field.

fn set_od<'a>(&'a mut self, new_value: IOCON_iocon_pio2_10_od) -> IOCON_iocon_pio2_10_Update<'a>

Set value of OD field.

Trait Implementations

impl Copy for IOCON_iocon_pio2_10

Derived Implementations

impl Clone for IOCON_iocon_pio2_10

fn clone(&self) -> IOCON_iocon_pio2_10

fn clone_from(&mut self, source: &Self)