Struct zinc_hal_lpc11xx::ioregs::I2C_mmctrl_Get [] [src]

pub struct I2C_mmctrl_Get {
    // some fields omitted
}

MMCTRL: Monitor mode control register.

Methods

impl I2C_mmctrl_Get

fn new(reg: &I2C_mmctrl) -> I2C_mmctrl_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn mm_ena(&self) -> I2C_mmctrl_mm_ena

Get value of MM_ENA field: Monitor mode enable.

fn ena_scl(&self) -> I2C_mmctrl_ena_scl

Get value of ENA_SCL field: SCL output enable.

fn match_all(&self) -> I2C_mmctrl_match_all

Get value of MATCH_ALL field: Select interrupt register match.

Trait Implementations

impl Copy for I2C_mmctrl_Get

Derived Implementations

impl Clone for I2C_mmctrl_Get

fn clone(&self) -> I2C_mmctrl_Get

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