Struct zinc_hal_lpc11xx::ioregs::I2C_stat_Get [] [src]

pub struct I2C_stat_Get {
    // some fields omitted
}

STAT: I2C Status Register. During I2C operation, this register provides detailed status codes that allow software to determine the next action needed.

Methods

impl I2C_stat_Get

fn new(reg: &I2C_stat) -> I2C_stat_Get

Create a getter reflecting the current value of the given register.

fn raw(&self) -> u32

Get the raw value of the register.

fn status(&self) -> u32

Get value of Status field: These bits give the actual status information about the I 2C interface.

Trait Implementations

impl Copy for I2C_stat_Get

Derived Implementations

impl Clone for I2C_stat_Get

fn clone(&self) -> I2C_stat_Get

fn clone_from(&mut self, source: &Self)