Struct zinc_hal_lpc11xx::ioregs::IOCON_iocon_pio0_2
[−]
[src]
pub struct IOCON_iocon_pio0_2 { // some fields omitted }
Register IOCON_PIO0_2
: I/O configuration for pin PIO0_2/SSEL0/CT16B0_CAP0
Methods
impl IOCON_iocon_pio0_2
fn get(&self) -> IOCON_iocon_pio0_2_Get
Fetch the value of the IOCON_PIO0_2
register.
fn func(&self) -> IOCON_iocon_pio0_2_func
Get value of FUNC
field.
fn mode(&self) -> IOCON_iocon_pio0_2_mode
Get value of MODE
field.
fn hys(&self) -> IOCON_iocon_pio0_2_hys
Get value of HYS
field.
fn od(&self) -> IOCON_iocon_pio0_2_od
Get value of OD
field.
fn ignoring_state(&self) -> IOCON_iocon_pio0_2_Update
Create new updater that ignores current value of the IOCON_PIO0_2
register.
fn set_func<'a>(&'a mut self, new_value: IOCON_iocon_pio0_2_func) -> IOCON_iocon_pio0_2_Update<'a>
Set value of FUNC
field.
fn set_mode<'a>(&'a mut self, new_value: IOCON_iocon_pio0_2_mode) -> IOCON_iocon_pio0_2_Update<'a>
Set value of MODE
field.
fn set_hys<'a>(&'a mut self, new_value: IOCON_iocon_pio0_2_hys) -> IOCON_iocon_pio0_2_Update<'a>
Set value of HYS
field.
fn set_od<'a>(&'a mut self, new_value: IOCON_iocon_pio0_2_od) -> IOCON_iocon_pio0_2_Update<'a>
Set value of OD
field.