1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - The WDOGLOAD Register contains the value from which the counter is to decrement. When this register is written to, the count is immediately restarted from the new value. The minimum valid value for WDOGLOAD is 1."]
5 pub wdogload: crate::Reg<wdogload::WDOGLOAD_SPEC>,
6 #[doc = "0x04 - The WDOGVALUE Register gives the current value of the decrementing counter."]
7 pub wdogvalue: crate::Reg<wdogvalue::WDOGVALUE_SPEC>,
8 #[doc = "0x08 - Control register for the WatchDog timer"]
9 pub wdogcontrol: crate::Reg<wdogcontrol::WDOGCONTROL_SPEC>,
10 #[doc = "0x0c - A write of any value to the WDOGINTCLR Register clears the watchdog interrupt, and reloads the counter from the value in WDOGLOAD."]
11 pub wdogintclr: crate::Reg<wdogintclr::WDOGINTCLR_SPEC>,
12 #[doc = "0x10 - The WDOGRIS Register indicates the raw interrupt status from the counter. This value is ANDed with the interrupt enable bit from the control register to create the masked interrupt, that is passed to the interrupt output pin."]
13 pub wdogris: crate::Reg<wdogris::WDOGRIS_SPEC>,
14 #[doc = "0x14 - The WDOGMIS Register indicates the masked interrupt status from the counter. This value is the logical AND of the raw interrupt status with the INTEN bit from the control register, and is the same value that is passed to the interrupt output pin. Enabled interrupt status from the counter."]
15 pub wdogmis: crate::Reg<wdogmis::WDOGMIS_SPEC>,
16 _reserved6: [u8; 0x0be8],
17 #[doc = "0xc00 - The WDOGLOCK Register diables write accesses to all other registers. This is to prevent rogue software from diabling the watchdog functionality. Writing a value 0x1ACCE551 enables write access to all other registers. Writing any other value disables write accesses."]
18 pub wdoglock: crate::Reg<wdoglock::WDOGLOCK_SPEC>,
19 _reserved7: [u8; 0x02fc],
20 #[doc = "0xf00 - The WDOGITCR Register enables integration test mode. When in this more, the test output register directly controls the masted interrup output, WDOGINT, and reset output, WDOGRES. Integration Test mode Enable \\[0\\]
21When set HIGH, places th watchdog into integration test mode."]
22 pub wdogitcr: crate::Reg<wdogitcr::WDOGITCR_SPEC>,
23 #[doc = "0xf04 - Watchdog Integration Test Output Set Register When the WDOGITOP Register is in integration test mode, the values in this register directly drive the enabled interrupt output and reset output."]
24 pub wdogitop: crate::Reg<wdogitop::WDOGITOP_SPEC>,
25 _reserved9: [u8; 0xc8],
26 #[doc = "0xfd0 - Peripheral ID Register 4: \\[7:4\\]
27Block count. \\[3:0\\]
28jep106_c_code."]
29 pub wdogperiphid4: crate::Reg<wdogperiphid4::WDOGPERIPHID4_SPEC>,
30 #[doc = "0xfd4 - Peripheral ID Register 5."]
31 pub wdogperiphid5: crate::Reg<wdogperiphid5::WDOGPERIPHID5_SPEC>,
32 #[doc = "0xfd8 - Peripheral ID Register 6."]
33 pub wdogperiphid6: crate::Reg<wdogperiphid6::WDOGPERIPHID6_SPEC>,
34 #[doc = "0xfdc - Peripheral ID Register 7."]
35 pub wdogperiphid7: crate::Reg<wdogperiphid7::WDOGPERIPHID7_SPEC>,
36 #[doc = "0xfe0 - Periperhal ID Register 0. \\[7:0\\]
37Part number\\[7:0\\]."]
38 pub wdogperiphid0: crate::Reg<wdogperiphid0::WDOGPERIPHID0_SPEC>,
39 #[doc = "0xfe4 - Peripheral ID Register 1. \\[7:4\\]
40jep106_id_3_0. \\[3:0\\]
41Part number \\[11:8\\]."]
42 pub wdogperiphid1: crate::Reg<wdogperiphid1::WDOGPERIPHID1_SPEC>,
43 #[doc = "0xfe8 - Peripheral ID Register 2. \\[7:4\\]
44Revision. \\[3\\]
45jedec_used. \\[2:0\\]
46jep106_id_6_4."]
47 pub wdogperiphid2: crate::Reg<wdogperiphid2::WDOGPERIPHID2_SPEC>,
48 #[doc = "0xfec - Peripherial ID Register 3. \\[7:4\\]
49ECO revision number. \\[3:0\\]
50Customer modification number."]
51 pub wdogperiphid3: crate::Reg<wdogperiphid3::WDOGPERIPHID3_SPEC>,
52 #[doc = "0xff0 - Component ID Register 0."]
53 pub wdogpcellid0: crate::Reg<wdogpcellid0::WDOGPCELLID0_SPEC>,
54 #[doc = "0xff4 - Component ID Register 1."]
55 pub wdogpcellid1: crate::Reg<wdogpcellid1::WDOGPCELLID1_SPEC>,
56 #[doc = "0xff8 - Component ID Register 2."]
57 pub wdogpcellid2: crate::Reg<wdogpcellid2::WDOGPCELLID2_SPEC>,
58 #[doc = "0xffc - Component ID Register 3."]
59 pub wdogpcellid3: crate::Reg<wdogpcellid3::WDOGPCELLID3_SPEC>,
60}
61#[doc = "WDOGLOAD register accessor: an alias for `Reg<WDOGLOAD_SPEC>`"]
62pub type WDOGLOAD = crate::Reg<wdogload::WDOGLOAD_SPEC>;
63#[doc = "The WDOGLOAD Register contains the value from which the counter is to decrement. When this register is written to, the count is immediately restarted from the new value. The minimum valid value for WDOGLOAD is 1."]
64pub mod wdogload;
65#[doc = "WDOGVALUE register accessor: an alias for `Reg<WDOGVALUE_SPEC>`"]
66pub type WDOGVALUE = crate::Reg<wdogvalue::WDOGVALUE_SPEC>;
67#[doc = "The WDOGVALUE Register gives the current value of the decrementing counter."]
68pub mod wdogvalue;
69#[doc = "WDOGCONTROL register accessor: an alias for `Reg<WDOGCONTROL_SPEC>`"]
70pub type WDOGCONTROL = crate::Reg<wdogcontrol::WDOGCONTROL_SPEC>;
71#[doc = "Control register for the WatchDog timer"]
72pub mod wdogcontrol;
73#[doc = "WDOGINTCLR register accessor: an alias for `Reg<WDOGINTCLR_SPEC>`"]
74pub type WDOGINTCLR = crate::Reg<wdogintclr::WDOGINTCLR_SPEC>;
75#[doc = "A write of any value to the WDOGINTCLR Register clears the watchdog interrupt, and reloads the counter from the value in WDOGLOAD."]
76pub mod wdogintclr;
77#[doc = "WDOGRIS register accessor: an alias for `Reg<WDOGRIS_SPEC>`"]
78pub type WDOGRIS = crate::Reg<wdogris::WDOGRIS_SPEC>;
79#[doc = "The WDOGRIS Register indicates the raw interrupt status from the counter. This value is ANDed with the interrupt enable bit from the control register to create the masked interrupt, that is passed to the interrupt output pin."]
80pub mod wdogris;
81#[doc = "WDOGMIS register accessor: an alias for `Reg<WDOGMIS_SPEC>`"]
82pub type WDOGMIS = crate::Reg<wdogmis::WDOGMIS_SPEC>;
83#[doc = "The WDOGMIS Register indicates the masked interrupt status from the counter. This value is the logical AND of the raw interrupt status with the INTEN bit from the control register, and is the same value that is passed to the interrupt output pin. Enabled interrupt status from the counter."]
84pub mod wdogmis;
85#[doc = "WDOGLOCK register accessor: an alias for `Reg<WDOGLOCK_SPEC>`"]
86pub type WDOGLOCK = crate::Reg<wdoglock::WDOGLOCK_SPEC>;
87#[doc = "The WDOGLOCK Register diables write accesses to all other registers. This is to prevent rogue software from diabling the watchdog functionality. Writing a value 0x1ACCE551 enables write access to all other registers. Writing any other value disables write accesses."]
88pub mod wdoglock;
89#[doc = "WDOGITCR register accessor: an alias for `Reg<WDOGITCR_SPEC>`"]
90pub type WDOGITCR = crate::Reg<wdogitcr::WDOGITCR_SPEC>;
91#[doc = "The WDOGITCR Register enables integration test mode. When in this more, the test output register directly controls the masted interrup output, WDOGINT, and reset output, WDOGRES. Integration Test mode Enable \\[0\\]
92When set HIGH, places th watchdog into integration test mode."]
93pub mod wdogitcr;
94#[doc = "WDOGITOP register accessor: an alias for `Reg<WDOGITOP_SPEC>`"]
95pub type WDOGITOP = crate::Reg<wdogitop::WDOGITOP_SPEC>;
96#[doc = "Watchdog Integration Test Output Set Register When the WDOGITOP Register is in integration test mode, the values in this register directly drive the enabled interrupt output and reset output."]
97pub mod wdogitop;
98#[doc = "WDOGPERIPHID4 register accessor: an alias for `Reg<WDOGPERIPHID4_SPEC>`"]
99pub type WDOGPERIPHID4 = crate::Reg<wdogperiphid4::WDOGPERIPHID4_SPEC>;
100#[doc = "Peripheral ID Register 4: \\[7:4\\]
101Block count. \\[3:0\\]
102jep106_c_code."]
103pub mod wdogperiphid4;
104#[doc = "WDOGPERIPHID5 register accessor: an alias for `Reg<WDOGPERIPHID5_SPEC>`"]
105pub type WDOGPERIPHID5 = crate::Reg<wdogperiphid5::WDOGPERIPHID5_SPEC>;
106#[doc = "Peripheral ID Register 5."]
107pub mod wdogperiphid5;
108#[doc = "WDOGPERIPHID6 register accessor: an alias for `Reg<WDOGPERIPHID6_SPEC>`"]
109pub type WDOGPERIPHID6 = crate::Reg<wdogperiphid6::WDOGPERIPHID6_SPEC>;
110#[doc = "Peripheral ID Register 6."]
111pub mod wdogperiphid6;
112#[doc = "WDOGPERIPHID7 register accessor: an alias for `Reg<WDOGPERIPHID7_SPEC>`"]
113pub type WDOGPERIPHID7 = crate::Reg<wdogperiphid7::WDOGPERIPHID7_SPEC>;
114#[doc = "Peripheral ID Register 7."]
115pub mod wdogperiphid7;
116#[doc = "WDOGPERIPHID0 register accessor: an alias for `Reg<WDOGPERIPHID0_SPEC>`"]
117pub type WDOGPERIPHID0 = crate::Reg<wdogperiphid0::WDOGPERIPHID0_SPEC>;
118#[doc = "Periperhal ID Register 0. \\[7:0\\]
119Part number\\[7:0\\]."]
120pub mod wdogperiphid0;
121#[doc = "WDOGPERIPHID1 register accessor: an alias for `Reg<WDOGPERIPHID1_SPEC>`"]
122pub type WDOGPERIPHID1 = crate::Reg<wdogperiphid1::WDOGPERIPHID1_SPEC>;
123#[doc = "Peripheral ID Register 1. \\[7:4\\]
124jep106_id_3_0. \\[3:0\\]
125Part number \\[11:8\\]."]
126pub mod wdogperiphid1;
127#[doc = "WDOGPERIPHID2 register accessor: an alias for `Reg<WDOGPERIPHID2_SPEC>`"]
128pub type WDOGPERIPHID2 = crate::Reg<wdogperiphid2::WDOGPERIPHID2_SPEC>;
129#[doc = "Peripheral ID Register 2. \\[7:4\\]
130Revision. \\[3\\]
131jedec_used. \\[2:0\\]
132jep106_id_6_4."]
133pub mod wdogperiphid2;
134#[doc = "WDOGPERIPHID3 register accessor: an alias for `Reg<WDOGPERIPHID3_SPEC>`"]
135pub type WDOGPERIPHID3 = crate::Reg<wdogperiphid3::WDOGPERIPHID3_SPEC>;
136#[doc = "Peripherial ID Register 3. \\[7:4\\]
137ECO revision number. \\[3:0\\]
138Customer modification number."]
139pub mod wdogperiphid3;
140#[doc = "WDOGPCELLID0 register accessor: an alias for `Reg<WDOGPCELLID0_SPEC>`"]
141pub type WDOGPCELLID0 = crate::Reg<wdogpcellid0::WDOGPCELLID0_SPEC>;
142#[doc = "Component ID Register 0."]
143pub mod wdogpcellid0;
144#[doc = "WDOGPCELLID1 register accessor: an alias for `Reg<WDOGPCELLID1_SPEC>`"]
145pub type WDOGPCELLID1 = crate::Reg<wdogpcellid1::WDOGPCELLID1_SPEC>;
146#[doc = "Component ID Register 1."]
147pub mod wdogpcellid1;
148#[doc = "WDOGPCELLID2 register accessor: an alias for `Reg<WDOGPCELLID2_SPEC>`"]
149pub type WDOGPCELLID2 = crate::Reg<wdogpcellid2::WDOGPCELLID2_SPEC>;
150#[doc = "Component ID Register 2."]
151pub mod wdogpcellid2;
152#[doc = "WDOGPCELLID3 register accessor: an alias for `Reg<WDOGPCELLID3_SPEC>`"]
153pub type WDOGPCELLID3 = crate::Reg<wdogpcellid3::WDOGPCELLID3_SPEC>;
154#[doc = "Component ID Register 3."]
155pub mod wdogpcellid3;