Struct lpc13xx::iocon::pio1_7::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. 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 od(&self) -> ODR
[src]
Bit 10 - Selects pseudo open-drain mode.