Struct nrf5340_app_pac::wdt0_ns::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 19 fields
pub tasks_start: TASKS_START,
pub tasks_stop: TASKS_STOP,
pub subscribe_start: SUBSCRIBE_START,
pub subscribe_stop: SUBSCRIBE_STOP,
pub events_timeout: EVENTS_TIMEOUT,
pub events_stopped: EVENTS_STOPPED,
pub publish_timeout: PUBLISH_TIMEOUT,
pub publish_stopped: PUBLISH_STOPPED,
pub intenset: INTENSET,
pub intenclr: INTENCLR,
pub nmienset: NMIENSET,
pub nmienclr: NMIENCLR,
pub runstatus: RUNSTATUS,
pub reqstatus: REQSTATUS,
pub crv: CRV,
pub rren: RREN,
pub config: CONFIG,
pub tsen: TSEN,
pub rr: [RR; 8],
/* private fields */
}
Expand description
Register block
Fields
tasks_start: TASKS_START
0x00 - Start WDT
tasks_stop: TASKS_STOP
0x04 - Stop WDT
subscribe_start: SUBSCRIBE_START
0x80 - Subscribe configuration for task START
subscribe_stop: SUBSCRIBE_STOP
0x84 - Subscribe configuration for task STOP
events_timeout: EVENTS_TIMEOUT
0x100 - Watchdog timeout
events_stopped: EVENTS_STOPPED
0x104 - Watchdog stopped
publish_timeout: PUBLISH_TIMEOUT
0x180 - Publish configuration for event TIMEOUT
publish_stopped: PUBLISH_STOPPED
0x184 - Publish configuration for event STOPPED
intenset: INTENSET
0x304 - Enable interrupt
intenclr: INTENCLR
0x308 - Disable interrupt
nmienset: NMIENSET
0x324 - Enable interrupt
nmienclr: NMIENCLR
0x328 - Disable interrupt
runstatus: RUNSTATUS
0x400 - Run status
reqstatus: REQSTATUS
0x404 - Request status
crv: CRV
0x504 - Counter reload value
rren: RREN
0x508 - Enable register for reload request registers
config: CONFIG
0x50c - Configuration register
tsen: TSEN
0x520 - Task stop enable
rr: [RR; 8]
0x600..0x620 - Description collection: Reload request n
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more