Struct zinc_hal_lpc11xx::ioregs::I2C_sclh [] [src]

pub struct I2C_sclh {
    // some fields omitted
}

Register SCLH: SCH Duty Cycle Register High Half Word. Determines the high time of the I2C clock.

Methods

impl I2C_sclh

fn get(&self) -> I2C_sclh_Get

Fetch the value of the SCLH register.

fn sclh(&self) -> u32

Get value of SCLH field.

fn ignoring_state(&self) -> I2C_sclh_Update

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

fn set_sclh<'a>(&'a mut self, new_value: u32) -> I2C_sclh_Update<'a>

Set value of SCLH field.

Trait Implementations

impl Copy for I2C_sclh

Derived Implementations

impl Clone for I2C_sclh

fn clone(&self) -> I2C_sclh

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