[][src]Type Definition lpc11xx::iocon::iocon_pio2_11::W

type W = W<u32, IOCON_PIO2_11>;

Writer for register IOCON_PIO2_11

Methods

impl W[src]

pub fn func(&mut self) -> FUNC_W[src]

Bits 0:2 - Configure pin function.

pub fn mode(&mut self) -> MODE_W[src]

Bits 3:4 - Pin function mode (on-chip pull-up/pull-down resistor control).

pub fn hysteresis(&mut self) -> HYSTERESIS_W[src]

Bit 5 - Hysteresis.

pub fn open_drain(&mut self) -> OPEN_DRAIN_W[src]

Bit 10 - Selects pseudo open-drain mode.