[][src]Type Definition lpc11xx::iocon::iocon_pio2_4::R

type R = R<u32, IOCON_PIO2_4>;

Reader of register IOCON_PIO2_4

Methods

impl R[src]

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

Bits 0:2 - Configure pin function.

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

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

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

Bit 5 - Hysteresis.

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

Bit 10 - Selects pseudo open-drain mode.