#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Start WDT"] pub tasks_start: TASKS_START, #[doc = "0x04 - Stop WDT"] pub tasks_stop: TASKS_STOP, _reserved2: [u8; 0x78], #[doc = "0x80 - Subscribe configuration for task START"] pub subscribe_start: SUBSCRIBE_START, #[doc = "0x84 - Subscribe configuration for task STOP"] pub subscribe_stop: SUBSCRIBE_STOP, _reserved4: [u8; 0x78], #[doc = "0x100 - Watchdog timeout"] pub events_timeout: EVENTS_TIMEOUT, #[doc = "0x104 - Watchdog stopped"] pub events_stopped: EVENTS_STOPPED, _reserved6: [u8; 0x78], #[doc = "0x180 - Publish configuration for event TIMEOUT"] pub publish_timeout: PUBLISH_TIMEOUT, #[doc = "0x184 - Publish configuration for event STOPPED"] pub publish_stopped: PUBLISH_STOPPED, _reserved8: [u8; 0x017c], #[doc = "0x304 - Enable interrupt"] pub intenset: INTENSET, #[doc = "0x308 - Disable interrupt"] pub intenclr: INTENCLR, _reserved10: [u8; 0x18], #[doc = "0x324 - Enable interrupt"] pub nmienset: NMIENSET, #[doc = "0x328 - Disable interrupt"] pub nmienclr: NMIENCLR, _reserved12: [u8; 0xd4], #[doc = "0x400 - Run status"] pub runstatus: RUNSTATUS, #[doc = "0x404 - Request status"] pub reqstatus: REQSTATUS, _reserved14: [u8; 0xfc], #[doc = "0x504 - Counter reload value"] pub crv: CRV, #[doc = "0x508 - Enable register for reload request registers"] pub rren: RREN, #[doc = "0x50c - Configuration register"] pub config: CONFIG, _reserved17: [u8; 0x10], #[doc = "0x520 - Task stop enable"] pub tsen: TSEN, _reserved18: [u8; 0xdc], #[doc = "0x600..0x620 - Description collection: Reload request n"] pub rr: [RR; 8], } #[doc = "TASKS_START (w) register accessor: an alias for `Reg`"] pub type TASKS_START = crate::Reg; #[doc = "Start WDT"] pub mod tasks_start; #[doc = "TASKS_STOP (w) register accessor: an alias for `Reg`"] pub type TASKS_STOP = crate::Reg; #[doc = "Stop WDT"] pub mod tasks_stop; #[doc = "SUBSCRIBE_START (rw) register accessor: an alias for `Reg`"] pub type SUBSCRIBE_START = crate::Reg; #[doc = "Subscribe configuration for task START"] pub mod subscribe_start; #[doc = "SUBSCRIBE_STOP (rw) register accessor: an alias for `Reg`"] pub type SUBSCRIBE_STOP = crate::Reg; #[doc = "Subscribe configuration for task STOP"] pub mod subscribe_stop; #[doc = "EVENTS_TIMEOUT (rw) register accessor: an alias for `Reg`"] pub type EVENTS_TIMEOUT = crate::Reg; #[doc = "Watchdog timeout"] pub mod events_timeout; #[doc = "EVENTS_STOPPED (rw) register accessor: an alias for `Reg`"] pub type EVENTS_STOPPED = crate::Reg; #[doc = "Watchdog stopped"] pub mod events_stopped; #[doc = "PUBLISH_TIMEOUT (rw) register accessor: an alias for `Reg`"] pub type PUBLISH_TIMEOUT = crate::Reg; #[doc = "Publish configuration for event TIMEOUT"] pub mod publish_timeout; #[doc = "PUBLISH_STOPPED (rw) register accessor: an alias for `Reg`"] pub type PUBLISH_STOPPED = crate::Reg; #[doc = "Publish configuration for event STOPPED"] pub mod publish_stopped; #[doc = "INTENSET (rw) register accessor: an alias for `Reg`"] pub type INTENSET = crate::Reg; #[doc = "Enable interrupt"] pub mod intenset; #[doc = "INTENCLR (rw) register accessor: an alias for `Reg`"] pub type INTENCLR = crate::Reg; #[doc = "Disable interrupt"] pub mod intenclr; #[doc = "NMIENSET (rw) register accessor: an alias for `Reg`"] pub type NMIENSET = crate::Reg; #[doc = "Enable interrupt"] pub mod nmienset; #[doc = "NMIENCLR (rw) register accessor: an alias for `Reg`"] pub type NMIENCLR = crate::Reg; #[doc = "Disable interrupt"] pub mod nmienclr; #[doc = "RUNSTATUS (r) register accessor: an alias for `Reg`"] pub type RUNSTATUS = crate::Reg; #[doc = "Run status"] pub mod runstatus; #[doc = "REQSTATUS (r) register accessor: an alias for `Reg`"] pub type REQSTATUS = crate::Reg; #[doc = "Request status"] pub mod reqstatus; #[doc = "CRV (rw) register accessor: an alias for `Reg`"] pub type CRV = crate::Reg; #[doc = "Counter reload value"] pub mod crv; #[doc = "RREN (rw) register accessor: an alias for `Reg`"] pub type RREN = crate::Reg; #[doc = "Enable register for reload request registers"] pub mod rren; #[doc = "CONFIG (rw) register accessor: an alias for `Reg`"] pub type CONFIG = crate::Reg; #[doc = "Configuration register"] pub mod config; #[doc = "TSEN (w) register accessor: an alias for `Reg`"] pub type TSEN = crate::Reg; #[doc = "Task stop enable"] pub mod tsen; #[doc = "RR (w) register accessor: an alias for `Reg`"] pub type RR = crate::Reg; #[doc = "Description collection: Reload request n"] pub mod rr;