nrf9160_pac/
wdt_ns.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; 0x7c],
7    #[doc = "0x80 - Subscribe configuration for task START"]
8    pub subscribe_start: SUBSCRIBE_START,
9    _reserved2: [u8; 0x7c],
10    #[doc = "0x100 - Watchdog timeout"]
11    pub events_timeout: EVENTS_TIMEOUT,
12    _reserved3: [u8; 0x7c],
13    #[doc = "0x180 - Publish configuration for event TIMEOUT"]
14    pub publish_timeout: PUBLISH_TIMEOUT,
15    _reserved4: [u8; 0x0180],
16    #[doc = "0x304 - Enable interrupt"]
17    pub intenset: INTENSET,
18    #[doc = "0x308 - Disable interrupt"]
19    pub intenclr: INTENCLR,
20    _reserved6: [u8; 0xf4],
21    #[doc = "0x400 - Run status"]
22    pub runstatus: RUNSTATUS,
23    #[doc = "0x404 - Request status"]
24    pub reqstatus: REQSTATUS,
25    _reserved8: [u8; 0xfc],
26    #[doc = "0x504 - Counter reload value"]
27    pub crv: CRV,
28    #[doc = "0x508 - Enable register for reload request registers"]
29    pub rren: RREN,
30    #[doc = "0x50c - Configuration register"]
31    pub config: CONFIG,
32    _reserved11: [u8; 0xf0],
33    #[doc = "0x600..0x620 - Description collection: Reload request n"]
34    pub rr: [RR; 8],
35}
36#[doc = "TASKS_START (w) register accessor: an alias for `Reg<TASKS_START_SPEC>`"]
37pub type TASKS_START = crate::Reg<tasks_start::TASKS_START_SPEC>;
38#[doc = "Start the watchdog"]
39pub mod tasks_start;
40#[doc = "SUBSCRIBE_START (rw) register accessor: an alias for `Reg<SUBSCRIBE_START_SPEC>`"]
41pub type SUBSCRIBE_START = crate::Reg<subscribe_start::SUBSCRIBE_START_SPEC>;
42#[doc = "Subscribe configuration for task START"]
43pub mod subscribe_start;
44#[doc = "EVENTS_TIMEOUT (rw) register accessor: an alias for `Reg<EVENTS_TIMEOUT_SPEC>`"]
45pub type EVENTS_TIMEOUT = crate::Reg<events_timeout::EVENTS_TIMEOUT_SPEC>;
46#[doc = "Watchdog timeout"]
47pub mod events_timeout;
48#[doc = "PUBLISH_TIMEOUT (rw) register accessor: an alias for `Reg<PUBLISH_TIMEOUT_SPEC>`"]
49pub type PUBLISH_TIMEOUT = crate::Reg<publish_timeout::PUBLISH_TIMEOUT_SPEC>;
50#[doc = "Publish configuration for event TIMEOUT"]
51pub mod publish_timeout;
52#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
53pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
54#[doc = "Enable interrupt"]
55pub mod intenset;
56#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
57pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
58#[doc = "Disable interrupt"]
59pub mod intenclr;
60#[doc = "RUNSTATUS (r) register accessor: an alias for `Reg<RUNSTATUS_SPEC>`"]
61pub type RUNSTATUS = crate::Reg<runstatus::RUNSTATUS_SPEC>;
62#[doc = "Run status"]
63pub mod runstatus;
64#[doc = "REQSTATUS (r) register accessor: an alias for `Reg<REQSTATUS_SPEC>`"]
65pub type REQSTATUS = crate::Reg<reqstatus::REQSTATUS_SPEC>;
66#[doc = "Request status"]
67pub mod reqstatus;
68#[doc = "CRV (rw) register accessor: an alias for `Reg<CRV_SPEC>`"]
69pub type CRV = crate::Reg<crv::CRV_SPEC>;
70#[doc = "Counter reload value"]
71pub mod crv;
72#[doc = "RREN (rw) register accessor: an alias for `Reg<RREN_SPEC>`"]
73pub type RREN = crate::Reg<rren::RREN_SPEC>;
74#[doc = "Enable register for reload request registers"]
75pub mod rren;
76#[doc = "CONFIG (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
77pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
78#[doc = "Configuration register"]
79pub mod config;
80#[doc = "RR (w) register accessor: an alias for `Reg<RR_SPEC>`"]
81pub type RR = crate::Reg<rr::RR_SPEC>;
82#[doc = "Description collection: Reload request n"]
83pub mod rr;