nrf52840_pac/
wdt.rs

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 - Enable interrupt"]
11    pub intenset: INTENSET,
12    #[doc = "0x308 - Disable interrupt"]
13    pub intenclr: INTENCLR,
14    _reserved4: [u8; 0xf4],
15    #[doc = "0x400 - Run status"]
16    pub runstatus: RUNSTATUS,
17    #[doc = "0x404 - Request status"]
18    pub reqstatus: REQSTATUS,
19    _reserved6: [u8; 0xfc],
20    #[doc = "0x504 - Counter reload value"]
21    pub crv: CRV,
22    #[doc = "0x508 - Enable register for reload request registers"]
23    pub rren: RREN,
24    #[doc = "0x50c - Configuration register"]
25    pub config: CONFIG,
26    _reserved9: [u8; 0xf0],
27    #[doc = "0x600..0x620 - Description collection\\[n\\]: Reload request n"]
28    pub rr: [RR; 8],
29}
30#[doc = "TASKS_START (w) register accessor: an alias for `Reg<TASKS_START_SPEC>`"]
31pub type TASKS_START = crate::Reg<tasks_start::TASKS_START_SPEC>;
32#[doc = "Start the watchdog"]
33pub mod tasks_start;
34#[doc = "EVENTS_TIMEOUT (rw) register accessor: an alias for `Reg<EVENTS_TIMEOUT_SPEC>`"]
35pub type EVENTS_TIMEOUT = crate::Reg<events_timeout::EVENTS_TIMEOUT_SPEC>;
36#[doc = "Watchdog timeout"]
37pub mod events_timeout;
38#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
39pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
40#[doc = "Enable interrupt"]
41pub mod intenset;
42#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
43pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
44#[doc = "Disable interrupt"]
45pub mod intenclr;
46#[doc = "RUNSTATUS (r) register accessor: an alias for `Reg<RUNSTATUS_SPEC>`"]
47pub type RUNSTATUS = crate::Reg<runstatus::RUNSTATUS_SPEC>;
48#[doc = "Run status"]
49pub mod runstatus;
50#[doc = "REQSTATUS (r) register accessor: an alias for `Reg<REQSTATUS_SPEC>`"]
51pub type REQSTATUS = crate::Reg<reqstatus::REQSTATUS_SPEC>;
52#[doc = "Request status"]
53pub mod reqstatus;
54#[doc = "CRV (rw) register accessor: an alias for `Reg<CRV_SPEC>`"]
55pub type CRV = crate::Reg<crv::CRV_SPEC>;
56#[doc = "Counter reload value"]
57pub mod crv;
58#[doc = "RREN (rw) register accessor: an alias for `Reg<RREN_SPEC>`"]
59pub type RREN = crate::Reg<rren::RREN_SPEC>;
60#[doc = "Enable register for reload request registers"]
61pub mod rren;
62#[doc = "CONFIG (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
63pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
64#[doc = "Configuration register"]
65pub mod config;
66#[doc = "RR (w) register accessor: an alias for `Reg<RR_SPEC>`"]
67pub type RR = crate::Reg<rr::RR_SPEC>;
68#[doc = "Description collection\\[n\\]: Reload request n"]
69pub mod rr;