Struct zinc_hal_lpc11xx::ioregs::IOCON_iocon_pio2_10_Get [] [src]

pub struct IOCON_iocon_pio2_10_Get {
    // some fields omitted
}

IOCON_PIO2_10: I/O configuration for pin PIO2_10

Methods

impl IOCON_iocon_pio2_10_Get

fn new(reg: &IOCON_iocon_pio2_10) -> IOCON_iocon_pio2_10_Get

Create a getter reflecting the current value of the given register.

fn raw(&self) -> u32

Get the raw value of the register.

fn mode(&self) -> IOCON_iocon_pio2_10_mode

Get value of MODE field: Selects function mode (on-chip pull-up/pull-down resistor control).

fn hys(&self) -> IOCON_iocon_pio2_10_hys

Get value of HYS field: Hysteresis.

fn od(&self) -> IOCON_iocon_pio2_10_od

Get value of OD field: Selects pseudo open-drain mode.

Trait Implementations

impl Copy for IOCON_iocon_pio2_10_Get

Derived Implementations

impl Clone for IOCON_iocon_pio2_10_Get

fn clone(&self) -> IOCON_iocon_pio2_10_Get

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