Struct zinc_hal_lpc11xx::ioregs::I2C_sclh_Get [] [src]

pub struct I2C_sclh_Get {
    // some fields omitted
}

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

Methods

impl I2C_sclh_Get

fn new(reg: &I2C_sclh) -> I2C_sclh_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn sclh(&self) -> u32

Get value of SCLH field: Count for SCL HIGH time period selection.

Trait Implementations

impl Copy for I2C_sclh_Get

Derived Implementations

impl Clone for I2C_sclh_Get

fn clone(&self) -> I2C_sclh_Get

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