[][src]Type Definition lpc82x_pac::iocon::pio0_27::W

type W = W<u32, PIO0_27>;

Writer for register PIO0_27

Methods

impl W[src]

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

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

pub fn hys(&mut self) -> HYS_W[src]

Bit 5 - Hysteresis.

pub fn inv(&mut self) -> INV_W[src]

Bit 6 - Invert input

pub fn od(&mut self) -> OD_W[src]

Bit 10 - Open-drain mode.

pub fn s_mode(&mut self) -> S_MODE_W[src]

Bits 11:12 - Digital filter sample mode.

pub fn clk_div(&mut self) -> CLK_DIV_W[src]

Bits 13:15 - Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved.