Struct zinc_hal_lpc11xx::ioregs::I2C_mmctrl [] [src]

pub struct I2C_mmctrl {
    // some fields omitted
}

Register MMCTRL: Monitor mode control register.

Methods

impl I2C_mmctrl

fn get(&self) -> I2C_mmctrl_Get

Fetch the value of the MMCTRL register.

fn mm_ena(&self) -> I2C_mmctrl_mm_ena

Get value of MM_ENA field.

fn ena_scl(&self) -> I2C_mmctrl_ena_scl

Get value of ENA_SCL field.

fn match_all(&self) -> I2C_mmctrl_match_all

Get value of MATCH_ALL field.

fn ignoring_state(&self) -> I2C_mmctrl_Update

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

fn set_mm_ena<'a>(&'a mut self, new_value: I2C_mmctrl_mm_ena) -> I2C_mmctrl_Update<'a>

Set value of MM_ENA field.

fn set_ena_scl<'a>(&'a mut self, new_value: I2C_mmctrl_ena_scl) -> I2C_mmctrl_Update<'a>

Set value of ENA_SCL field.

fn set_match_all<'a>(&'a mut self, new_value: I2C_mmctrl_match_all) -> I2C_mmctrl_Update<'a>

Set value of MATCH_ALL field.

Trait Implementations

impl Copy for I2C_mmctrl

Derived Implementations

impl Clone for I2C_mmctrl

fn clone(&self) -> I2C_mmctrl

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