Struct zinc_hal_lpc11xx::ioregs::IOCON_iocon_r_pio1_0 [] [src]

pub struct IOCON_iocon_r_pio1_0 {
    // some fields omitted
}

Register IOCON_R_PIO1_0: I/O configuration for pin R/PIO1_0/AD1/CT32B1_CAP0

Methods

impl IOCON_iocon_r_pio1_0

fn get(&self) -> IOCON_iocon_r_pio1_0_Get

Fetch the value of the IOCON_R_PIO1_0 register.

fn func(&self) -> IOCON_iocon_r_pio1_0_func

Get value of FUNC field.

fn mode(&self) -> IOCON_iocon_r_pio1_0_mode

Get value of MODE field.

fn hys(&self) -> IOCON_iocon_r_pio1_0_hys

Get value of HYS field.

fn admode(&self) -> IOCON_iocon_r_pio1_0_admode

Get value of ADMODE field.

fn od(&self) -> IOCON_iocon_r_pio1_0_od

Get value of OD field.

fn ignoring_state(&self) -> IOCON_iocon_r_pio1_0_Update

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

fn set_func<'a>(&'a mut self, new_value: IOCON_iocon_r_pio1_0_func) -> IOCON_iocon_r_pio1_0_Update<'a>

Set value of FUNC field.

fn set_mode<'a>(&'a mut self, new_value: IOCON_iocon_r_pio1_0_mode) -> IOCON_iocon_r_pio1_0_Update<'a>

Set value of MODE field.

fn set_hys<'a>(&'a mut self, new_value: IOCON_iocon_r_pio1_0_hys) -> IOCON_iocon_r_pio1_0_Update<'a>

Set value of HYS field.

fn set_admode<'a>(&'a mut self, new_value: IOCON_iocon_r_pio1_0_admode) -> IOCON_iocon_r_pio1_0_Update<'a>

Set value of ADMODE field.

fn set_od<'a>(&'a mut self, new_value: IOCON_iocon_r_pio1_0_od) -> IOCON_iocon_r_pio1_0_Update<'a>

Set value of OD field.

Trait Implementations

impl Copy for IOCON_iocon_r_pio1_0

Derived Implementations

impl Clone for IOCON_iocon_r_pio1_0

fn clone(&self) -> IOCON_iocon_r_pio1_0

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