Struct zinc_hal_lpc11xx::ioregs::SYSCON_systckcal [] [src]

pub struct SYSCON_systckcal {
    // some fields omitted
}

Register SYSTCKCAL: System tick counter calibration

Methods

impl SYSCON_systckcal

fn get(&self) -> SYSCON_systckcal_Get

Fetch the value of the SYSTCKCAL register.

fn cal(&self) -> u32

Get value of CAL field.

fn ignoring_state(&self) -> SYSCON_systckcal_Update

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

fn set_cal<'a>(&'a mut self, new_value: u32) -> SYSCON_systckcal_Update<'a>

Set value of CAL field.

Trait Implementations

impl Copy for SYSCON_systckcal

Derived Implementations

impl Clone for SYSCON_systckcal

fn clone(&self) -> SYSCON_systckcal

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