Struct zinc_hal_lpc11xx::ioregs::IOCON_iocon_pio0_5_Get
[−]
[src]
pub struct IOCON_iocon_pio0_5_Get { // some fields omitted }
IOCON_PIO0_5
: I/O configuration for pin PIO0_5/SDA
Methods
impl IOCON_iocon_pio0_5_Get
fn new(reg: &IOCON_iocon_pio0_5) -> IOCON_iocon_pio0_5_Get
Create a getter reflecting the current value of the given register.
fn raw(&self) -> u32
Get the raw value of the register.
fn func(&self) -> IOCON_iocon_pio0_5_func
Get value of FUNC
field: Selects pin function. All other values are reserved.
fn i2cmode(&self) -> IOCON_iocon_pio0_5_i2cmode
Get value of I2CMODE
field: Selects I2C mode. Select Standard mode (I2CMODE = 00, default) or Standard I/O functionality (I2CMODE = 01) if the pin function is GPIO (FUNC = 000).