lpc81x_pac/lpc811/
wwdt.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Watchdog mode register. This register contains the basic mode and status of the Watchdog Timer."]
5 pub mod_: MOD,
6 #[doc = "0x04 - Watchdog timer constant register. This 24-bit register determines the time-out value."]
7 pub tc: TC,
8 #[doc = "0x08 - Watchdog feed sequence register. Writing 0xAA followed by 0x55 to this register reloads the Watchdog timer with the value contained in TC."]
9 pub feed: FEED,
10 #[doc = "0x0c - Watchdog timer value register. This 24-bit register reads out the current value of the Watchdog timer."]
11 pub tv: TV,
12 _reserved4: [u8; 0x04],
13 #[doc = "0x14 - Watchdog Warning Interrupt compare value."]
14 pub warnint: WARNINT,
15 #[doc = "0x18 - Watchdog Window compare value."]
16 pub window: WINDOW,
17}
18#[doc = "MOD (rw) register accessor: an alias for `Reg<MOD_SPEC>`"]
19pub type MOD = crate::Reg<mod_::MOD_SPEC>;
20#[doc = "Watchdog mode register. This register contains the basic mode and status of the Watchdog Timer."]
21pub mod mod_;
22#[doc = "TC (rw) register accessor: an alias for `Reg<TC_SPEC>`"]
23pub type TC = crate::Reg<tc::TC_SPEC>;
24#[doc = "Watchdog timer constant register. This 24-bit register determines the time-out value."]
25pub mod tc;
26#[doc = "FEED (w) register accessor: an alias for `Reg<FEED_SPEC>`"]
27pub type FEED = crate::Reg<feed::FEED_SPEC>;
28#[doc = "Watchdog feed sequence register. Writing 0xAA followed by 0x55 to this register reloads the Watchdog timer with the value contained in TC."]
29pub mod feed;
30#[doc = "TV (r) register accessor: an alias for `Reg<TV_SPEC>`"]
31pub type TV = crate::Reg<tv::TV_SPEC>;
32#[doc = "Watchdog timer value register. This 24-bit register reads out the current value of the Watchdog timer."]
33pub mod tv;
34#[doc = "WARNINT (rw) register accessor: an alias for `Reg<WARNINT_SPEC>`"]
35pub type WARNINT = crate::Reg<warnint::WARNINT_SPEC>;
36#[doc = "Watchdog Warning Interrupt compare value."]
37pub mod warnint;
38#[doc = "WINDOW (rw) register accessor: an alias for `Reg<WINDOW_SPEC>`"]
39pub type WINDOW = crate::Reg<window::WINDOW_SPEC>;
40#[doc = "Watchdog Window compare value."]
41pub mod window;