Skip to main content

W

Type Alias W 

Source
pub type W = W<WDOG_CTRL_SPEC>;
Expand description

Register wdog_ctrl writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn wdog_restart(&mut self) -> WDOG_RESTART_W<'_, WDOG_CTRL_SPEC>

Bit 0 - Watchdog Restart

Source

pub fn wdog_key_field(&mut self) -> WDOG_KEY_FIELD_W<'_, WDOG_CTRL_SPEC>

Bits 1:12 - Watchdog Key Field

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual