[][src]Struct imxrt1062_rtwdog::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u32, Reg<u32, _CS>>[src]

pub fn stop(&mut self) -> STOP_W[src]

Bit 0 - Stop Enable

pub fn wait(&mut self) -> WAIT_W[src]

Bit 1 - Wait Enable

pub fn dbg(&mut self) -> DBG_W[src]

Bit 2 - Debug Enable

pub fn tst(&mut self) -> TST_W[src]

Bits 3:4 - Watchdog Test

pub fn update(&mut self) -> UPDATE_W[src]

Bit 5 - Allow updates

pub fn int(&mut self) -> INT_W[src]

Bit 6 - Watchdog Interrupt

pub fn en(&mut self) -> EN_W[src]

Bit 7 - Watchdog Enable

pub fn clk(&mut self) -> CLK_W[src]

Bits 8:9 - Watchdog Clock

pub fn pres(&mut self) -> PRES_W[src]

Bit 12 - Watchdog prescaler

pub fn cmd32en(&mut self) -> CMD32EN_W[src]

Bit 13 - Enables or disables WDOG support for 32-bit (otherwise 16-bit or 8-bit) refresh/unlock command write words

pub fn flg(&mut self) -> FLG_W[src]

Bit 14 - Watchdog Interrupt Flag

pub fn win(&mut self) -> WIN_W[src]

Bit 15 - Watchdog Window

impl W<u32, Reg<u32, _CNT>>[src]

pub fn cntlow(&mut self) -> CNTLOW_W[src]

Bits 0:7 - Low byte of the Watchdog Counter

pub fn cnthigh(&mut self) -> CNTHIGH_W[src]

Bits 8:15 - High byte of the Watchdog Counter

impl W<u32, Reg<u32, _TOVAL>>[src]

pub fn tovallow(&mut self) -> TOVALLOW_W[src]

Bits 0:7 - Low byte of the timeout value

pub fn tovalhigh(&mut self) -> TOVALHIGH_W[src]

Bits 8:15 - High byte of the timeout value

impl W<u32, Reg<u32, _WIN>>[src]

pub fn winlow(&mut self) -> WINLOW_W[src]

Bits 0:7 - Low byte of Watchdog Window

pub fn winhigh(&mut self) -> WINHIGH_W[src]

Bits 8:15 - High byte of Watchdog Window

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.