Struct zinc_hal_lpc11xx::ioregs::I2C_mask3_Get [] [src]

pub struct I2C_mask3_Get {
    // some fields omitted
}

MASK3: I2C Slave address mask register 0. This mask register is associated with I2ADR0 to determine an address match. The mask register has no effect when comparing to the General Call address (0000000).

Methods

impl I2C_mask3_Get

fn new(reg: &I2C_mask3) -> I2C_mask3_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn mask(&self) -> u32

Get value of MASK field: Mask bits.

Trait Implementations

impl Copy for I2C_mask3_Get

Derived Implementations

impl Clone for I2C_mask3_Get

fn clone(&self) -> I2C_mask3_Get

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