Struct zinc_hal_lpc11xx::ioregs::I2C_mask0 [] [src]

pub struct I2C_mask0 {
    // some fields omitted
}

Register MASK0: 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_mask0

fn get(&self) -> I2C_mask0_Get

Fetch the value of the MASK0 register.

fn mask(&self) -> u32

Get value of MASK field.

fn ignoring_state(&self) -> I2C_mask0_Update

Create new updater that ignores current value of the MASK0 register.

fn set_mask<'a>(&'a mut self, new_value: u32) -> I2C_mask0_Update<'a>

Set value of MASK field.

Trait Implementations

impl Copy for I2C_mask0

Derived Implementations

impl Clone for I2C_mask0

fn clone(&self) -> I2C_mask0

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