Struct zinc_hal_lpc11xx::ioregs::WWDT_wdtc [] [src]

pub struct WWDT_wdtc {
    // some fields omitted
}

Register WDTC: Watchdog timer constant register. This register determines the time-out value.

Methods

impl WWDT_wdtc

fn get(&self) -> WWDT_wdtc_Get

Fetch the value of the WDTC register.

fn count(&self) -> u32

Get value of Count field.

fn ignoring_state(&self) -> WWDT_wdtc_Update

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

fn set_count<'a>(&'a mut self, new_value: u32) -> WWDT_wdtc_Update<'a>

Set value of Count field.

Trait Implementations

impl Copy for WWDT_wdtc

Derived Implementations

impl Clone for WWDT_wdtc

fn clone(&self) -> WWDT_wdtc

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