1#[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 wdmod: WDMOD,
6 #[doc = "0x04 - Watchdog timer constant register. This register determines the time-out value"]
7 pub wdtc: WDTC,
8 #[doc = "0x08 - Watchdog feed sequence register. Writing 0xAA followed by 0x55 to this register reloads the Watchdog timer with the value contained in WDTC"]
9 pub wdfeed: WDFEED,
10 #[doc = "0x0c - Watchdog timer value register. This register reads out the current value of the Watchdog timer"]
11 pub wdtv: WDTV,
12 _reserved4: [u8; 4usize],
13 #[doc = "0x14 - Watchdog Warning Interrupt compare value"]
14 pub wdwarnint: WDWARNINT,
15 #[doc = "0x18 - Watchdog Window compare value"]
16 pub wdwindow: WDWINDOW,
17}
18#[doc = "Watchdog mode register. This register contains the basic mode and status of the Watchdog Timer\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [wdmod](wdmod) module"]
19pub type WDMOD = crate::Reg<u32, _WDMOD>;
20#[allow(missing_docs)]
21#[doc(hidden)]
22pub struct _WDMOD;
23#[doc = "`read()` method returns [wdmod::R](wdmod::R) reader structure"]
24impl crate::Readable for WDMOD {}
25#[doc = "`write(|w| ..)` method takes [wdmod::W](wdmod::W) writer structure"]
26impl crate::Writable for WDMOD {}
27#[doc = "Watchdog mode register. This register contains the basic mode and status of the Watchdog Timer"]
28pub mod wdmod;
29#[doc = "Watchdog timer constant register. This register determines the time-out value\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [wdtc](wdtc) module"]
30pub type WDTC = crate::Reg<u32, _WDTC>;
31#[allow(missing_docs)]
32#[doc(hidden)]
33pub struct _WDTC;
34#[doc = "`read()` method returns [wdtc::R](wdtc::R) reader structure"]
35impl crate::Readable for WDTC {}
36#[doc = "`write(|w| ..)` method takes [wdtc::W](wdtc::W) writer structure"]
37impl crate::Writable for WDTC {}
38#[doc = "Watchdog timer constant register. This register determines the time-out value"]
39pub mod wdtc;
40#[doc = "Watchdog feed sequence register. Writing 0xAA followed by 0x55 to this register reloads the Watchdog timer with the value contained in WDTC\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [wdfeed](wdfeed) module"]
41pub type WDFEED = crate::Reg<u32, _WDFEED>;
42#[allow(missing_docs)]
43#[doc(hidden)]
44pub struct _WDFEED;
45#[doc = "`write(|w| ..)` method takes [wdfeed::W](wdfeed::W) writer structure"]
46impl crate::Writable for WDFEED {}
47#[doc = "Watchdog feed sequence register. Writing 0xAA followed by 0x55 to this register reloads the Watchdog timer with the value contained in WDTC"]
48pub mod wdfeed;
49#[doc = "Watchdog timer value register. This register reads out the current value of the Watchdog timer\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [wdtv](wdtv) module"]
50pub type WDTV = crate::Reg<u32, _WDTV>;
51#[allow(missing_docs)]
52#[doc(hidden)]
53pub struct _WDTV;
54#[doc = "`read()` method returns [wdtv::R](wdtv::R) reader structure"]
55impl crate::Readable for WDTV {}
56#[doc = "Watchdog timer value register. This register reads out the current value of the Watchdog timer"]
57pub mod wdtv;
58#[doc = "Watchdog Warning Interrupt compare value\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [wdwarnint](wdwarnint) module"]
59pub type WDWARNINT = crate::Reg<u32, _WDWARNINT>;
60#[allow(missing_docs)]
61#[doc(hidden)]
62pub struct _WDWARNINT;
63#[doc = "`read()` method returns [wdwarnint::R](wdwarnint::R) reader structure"]
64impl crate::Readable for WDWARNINT {}
65#[doc = "`write(|w| ..)` method takes [wdwarnint::W](wdwarnint::W) writer structure"]
66impl crate::Writable for WDWARNINT {}
67#[doc = "Watchdog Warning Interrupt compare value"]
68pub mod wdwarnint;
69#[doc = "Watchdog Window compare value\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [wdwindow](wdwindow) module"]
70pub type WDWINDOW = crate::Reg<u32, _WDWINDOW>;
71#[allow(missing_docs)]
72#[doc(hidden)]
73pub struct _WDWINDOW;
74#[doc = "`read()` method returns [wdwindow::R](wdwindow::R) reader structure"]
75impl crate::Readable for WDWINDOW {}
76#[doc = "`write(|w| ..)` method takes [wdwindow::W](wdwindow::W) writer structure"]
77impl crate::Writable for WDWINDOW {}
78#[doc = "Watchdog Window compare value"]
79pub mod wdwindow;