Struct zinc_hal_lpc11xx::ioregs::I2C_scll [] [src]

pub struct I2C_scll {
    // some fields omitted
}

Register SCLL: SCL Duty Cycle Register Low Half Word. Determines the low time of the I2C clock. I2nSCLL and I2nSCLH together determine the clock frequency generated by an I2C master and certain times used in slave mode.

Methods

impl I2C_scll

fn get(&self) -> I2C_scll_Get

Fetch the value of the SCLL register.

fn scll(&self) -> u32

Get value of SCLL field.

fn ignoring_state(&self) -> I2C_scll_Update

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

fn set_scll<'a>(&'a mut self, new_value: u32) -> I2C_scll_Update<'a>

Set value of SCLL field.

Trait Implementations

impl Copy for I2C_scll

Derived Implementations

impl Clone for I2C_scll

fn clone(&self) -> I2C_scll

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