Struct lpc13xx::iocon::pio1_4::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn func(&self) -> FUNCR
[src]
Bits 0:2 - Selects pin function. This pin functions as WAKEUP pin if the LPC13xx is in Deep power-down mode regardless of the value of FUNC. All other values are reserved.
pub fn mode(&self) -> MODER
[src]
Bits 3:4 - Selects function mode (on-chip pull-up/pull-down resistor control)
pub fn hys(&self) -> HYSR
[src]
Bit 5 - Hysteresis
pub fn admode(&self) -> ADMODER
[src]
Bit 7 - Selects Analog/Digital mode
pub fn od(&self) -> ODR
[src]
Bit 10 - Selects pseudo open-drain mode.