Struct lpc13xx::iocon::pio3_2::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn func(&mut self) -> _FUNCW
[src]
Bits 0:2 - Selects pin function. All other values are reserved.
pub fn mode(&mut self) -> _MODEW
[src]
Bits 3:4 - Selects function mode (on-chip pull-up/pull-down resistor control)
pub fn hys(&mut self) -> _HYSW
[src]
Bit 5 - Hysteresis
pub fn od(&mut self) -> _ODW
[src]
Bit 10 - Selects pseudo open-drain mode.