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

type R = R<u32, IOCON_PIO0_4>;

Reader of register IOCON_PIO0_4

Methods

impl R[src]

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

Bits 0:2 - Configure pin function.

pub fn i2cmode(&self) -> I2CMODE_R[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).