Struct lpc845_pac::wwdt::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {
pub mod_: Reg<MOD_SPEC>,
pub tc: Reg<TC_SPEC>,
pub feed: Reg<FEED_SPEC>,
pub tv: Reg<TV_SPEC>,
pub warnint: Reg<WARNINT_SPEC>,
pub window: Reg<WINDOW_SPEC>,
// some fields omitted
}
Expand description
Register block
Fields
mod_: Reg<MOD_SPEC>
0x00 - Watchdog mode register. This register contains the basic mode and status of the Watchdog Timer.
tc: Reg<TC_SPEC>
0x04 - Watchdog timer constant register. This 24-bit register determines the time-out value.
feed: Reg<FEED_SPEC>
0x08 - Watchdog feed sequence register. Writing 0xAA followed by 0x55 to this register reloads the Watchdog timer with the value contained in TC.
tv: Reg<TV_SPEC>
0x0c - Watchdog timer value register. This 24-bit register reads out the current value of the Watchdog timer.
warnint: Reg<WARNINT_SPEC>
0x14 - Watchdog Warning Interrupt compare value.
window: Reg<WINDOW_SPEC>
0x18 - Watchdog Window compare value.