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

type W = W<u32, IOCON_PIO0_4>;

Writer for register IOCON_PIO0_4

Methods

impl W[src]

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

Bits 0:2 - Configure pin function.

pub fn i2cmode(&mut self) -> I2CMODE_W[src]

Bits 8:9 - Selects I2C mode. Select Standard mode (I2CMODE = 00, default) or Standard I/O functionality (I2CMODE = 01) if the pin function is GPIO (FUNC = 000).