Struct zinc_hal_lpc11xx::ioregs::SYSCON_wdtoscctrl [] [src]

pub struct SYSCON_wdtoscctrl {
    // some fields omitted
}

Register WDTOSCCTRL: Watchdog oscillator control

Methods

impl SYSCON_wdtoscctrl

fn get(&self) -> SYSCON_wdtoscctrl_Get

Fetch the value of the WDTOSCCTRL register.

fn divsel(&self) -> u32

Get value of DIVSEL field.

fn freqsel(&self) -> SYSCON_wdtoscctrl_freqsel

Get value of FREQSEL field.

fn ignoring_state(&self) -> SYSCON_wdtoscctrl_Update

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

fn set_divsel<'a>(&'a mut self, new_value: u32) -> SYSCON_wdtoscctrl_Update<'a>

Set value of DIVSEL field.

fn set_freqsel<'a>(&'a mut self, new_value: SYSCON_wdtoscctrl_freqsel) -> SYSCON_wdtoscctrl_Update<'a>

Set value of FREQSEL field.

Trait Implementations

impl Copy for SYSCON_wdtoscctrl

Derived Implementations

impl Clone for SYSCON_wdtoscctrl

fn clone(&self) -> SYSCON_wdtoscctrl

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