1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Start the watchdog."]
5 pub tasks_start: TASKS_START,
6 _reserved1: [u8; 0xfc],
7 #[doc = "0x100 - Watchdog timeout."]
8 pub events_timeout: EVENTS_TIMEOUT,
9 _reserved2: [u8; 0x0200],
10 #[doc = "0x304 - Interrupt enable set register."]
11 pub intenset: INTENSET,
12 #[doc = "0x308 - Interrupt enable clear register."]
13 pub intenclr: INTENCLR,
14 _reserved4: [u8; 0xf4],
15 #[doc = "0x400 - Watchdog running status."]
16 pub runstatus: RUNSTATUS,
17 #[doc = "0x404 - Request status."]
18 pub reqstatus: REQSTATUS,
19 _reserved6: [u8; 0xfc],
20 #[doc = "0x504 - Counter reload value in number of 32kiHz clock cycles."]
21 pub crv: CRV,
22 #[doc = "0x508 - Reload request enable."]
23 pub rren: RREN,
24 #[doc = "0x50c - Configuration register."]
25 pub config: CONFIG,
26 _reserved9: [u8; 0xf0],
27 #[doc = "0x600..0x620 - Reload requests registers."]
28 pub rr: [RR; 8],
29 _reserved10: [u8; 0x09dc],
30 #[doc = "0xffc - Peripheral power control."]
31 pub power: POWER,
32}
33#[doc = "TASKS_START (w) register accessor: an alias for `Reg<TASKS_START_SPEC>`"]
34pub type TASKS_START = crate::Reg<tasks_start::TASKS_START_SPEC>;
35#[doc = "Start the watchdog."]
36pub mod tasks_start;
37#[doc = "EVENTS_TIMEOUT (rw) register accessor: an alias for `Reg<EVENTS_TIMEOUT_SPEC>`"]
38pub type EVENTS_TIMEOUT = crate::Reg<events_timeout::EVENTS_TIMEOUT_SPEC>;
39#[doc = "Watchdog timeout."]
40pub mod events_timeout;
41#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
42pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
43#[doc = "Interrupt enable set register."]
44pub mod intenset;
45#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
46pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
47#[doc = "Interrupt enable clear register."]
48pub mod intenclr;
49#[doc = "RUNSTATUS (r) register accessor: an alias for `Reg<RUNSTATUS_SPEC>`"]
50pub type RUNSTATUS = crate::Reg<runstatus::RUNSTATUS_SPEC>;
51#[doc = "Watchdog running status."]
52pub mod runstatus;
53#[doc = "REQSTATUS (r) register accessor: an alias for `Reg<REQSTATUS_SPEC>`"]
54pub type REQSTATUS = crate::Reg<reqstatus::REQSTATUS_SPEC>;
55#[doc = "Request status."]
56pub mod reqstatus;
57#[doc = "CRV (rw) register accessor: an alias for `Reg<CRV_SPEC>`"]
58pub type CRV = crate::Reg<crv::CRV_SPEC>;
59#[doc = "Counter reload value in number of 32kiHz clock cycles."]
60pub mod crv;
61#[doc = "RREN (rw) register accessor: an alias for `Reg<RREN_SPEC>`"]
62pub type RREN = crate::Reg<rren::RREN_SPEC>;
63#[doc = "Reload request enable."]
64pub mod rren;
65#[doc = "CONFIG (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
66pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
67#[doc = "Configuration register."]
68pub mod config;
69#[doc = "RR (w) register accessor: an alias for `Reg<RR_SPEC>`"]
70pub type RR = crate::Reg<rr::RR_SPEC>;
71#[doc = "Reload requests registers."]
72pub mod rr;
73#[doc = "POWER (rw) register accessor: an alias for `Reg<POWER_SPEC>`"]
74pub type POWER = crate::Reg<power::POWER_SPEC>;
75#[doc = "Peripheral power control."]
76pub mod power;