[][src]Struct imxrt1062_rtwdog::R

pub struct R<U, T> { /* fields omitted */ }

Register/field reader

Result of the read method of a register. Also it can be used in the modify method

Methods

impl<U, T> R<U, T> where
    U: Copy
[src]

pub fn bits(&self) -> U[src]

Read raw bits from register/field

impl<FI> R<bool, FI>[src]

pub fn bit(&self) -> bool[src]

Value of the field as raw bits

pub fn bit_is_clear(&self) -> bool[src]

Returns true if the bit is clear (0)

pub fn bit_is_set(&self) -> bool[src]

Returns true if the bit is set (1)

impl R<bool, STOP_A>[src]

pub fn variant(&self) -> STOP_A[src]

Get enumerated values variant

pub fn is_stop_0(&self) -> bool[src]

Checks if the value of the field is STOP_0

pub fn is_stop_1(&self) -> bool[src]

Checks if the value of the field is STOP_1

impl R<bool, WAIT_A>[src]

pub fn variant(&self) -> WAIT_A[src]

Get enumerated values variant

pub fn is_wait_0(&self) -> bool[src]

Checks if the value of the field is WAIT_0

pub fn is_wait_1(&self) -> bool[src]

Checks if the value of the field is WAIT_1

impl R<bool, DBG_A>[src]

pub fn variant(&self) -> DBG_A[src]

Get enumerated values variant

pub fn is_dbg_0(&self) -> bool[src]

Checks if the value of the field is DBG_0

pub fn is_dbg_1(&self) -> bool[src]

Checks if the value of the field is DBG_1

impl R<u8, TST_A>[src]

pub fn variant(&self) -> TST_A[src]

Get enumerated values variant

pub fn is_tst_0(&self) -> bool[src]

Checks if the value of the field is TST_0

pub fn is_tst_1(&self) -> bool[src]

Checks if the value of the field is TST_1

pub fn is_tst_2(&self) -> bool[src]

Checks if the value of the field is TST_2

pub fn is_tst_3(&self) -> bool[src]

Checks if the value of the field is TST_3

impl R<bool, UPDATE_A>[src]

pub fn variant(&self) -> UPDATE_A[src]

Get enumerated values variant

pub fn is_update_0(&self) -> bool[src]

Checks if the value of the field is UPDATE_0

pub fn is_update_1(&self) -> bool[src]

Checks if the value of the field is UPDATE_1

impl R<bool, INT_A>[src]

pub fn variant(&self) -> INT_A[src]

Get enumerated values variant

pub fn is_int_0(&self) -> bool[src]

Checks if the value of the field is INT_0

pub fn is_int_1(&self) -> bool[src]

Checks if the value of the field is INT_1

impl R<bool, EN_A>[src]

pub fn variant(&self) -> EN_A[src]

Get enumerated values variant

pub fn is_en_0(&self) -> bool[src]

Checks if the value of the field is EN_0

pub fn is_en_1(&self) -> bool[src]

Checks if the value of the field is EN_1

impl R<u8, CLK_A>[src]

pub fn variant(&self) -> CLK_A[src]

Get enumerated values variant

pub fn is_clk_0(&self) -> bool[src]

Checks if the value of the field is CLK_0

pub fn is_clk_1(&self) -> bool[src]

Checks if the value of the field is CLK_1

pub fn is_clk_2(&self) -> bool[src]

Checks if the value of the field is CLK_2

pub fn is_clk_3(&self) -> bool[src]

Checks if the value of the field is CLK_3

impl R<bool, RCS_A>[src]

pub fn variant(&self) -> RCS_A[src]

Get enumerated values variant

pub fn is_rcs_0(&self) -> bool[src]

Checks if the value of the field is RCS_0

pub fn is_rcs_1(&self) -> bool[src]

Checks if the value of the field is RCS_1

impl R<bool, ULK_A>[src]

pub fn variant(&self) -> ULK_A[src]

Get enumerated values variant

pub fn is_ulk_0(&self) -> bool[src]

Checks if the value of the field is ULK_0

pub fn is_ulk_1(&self) -> bool[src]

Checks if the value of the field is ULK_1

impl R<bool, PRES_A>[src]

pub fn variant(&self) -> PRES_A[src]

Get enumerated values variant

pub fn is_pres_0(&self) -> bool[src]

Checks if the value of the field is PRES_0

pub fn is_pres_1(&self) -> bool[src]

Checks if the value of the field is PRES_1

impl R<bool, CMD32EN_A>[src]

pub fn variant(&self) -> CMD32EN_A[src]

Get enumerated values variant

pub fn is_cmd32en_0(&self) -> bool[src]

Checks if the value of the field is CMD32EN_0

pub fn is_cmd32en_1(&self) -> bool[src]

Checks if the value of the field is CMD32EN_1

impl R<bool, FLG_A>[src]

pub fn variant(&self) -> FLG_A[src]

Get enumerated values variant

pub fn is_flg_0(&self) -> bool[src]

Checks if the value of the field is FLG_0

pub fn is_flg_1(&self) -> bool[src]

Checks if the value of the field is FLG_1

impl R<bool, WIN_A>[src]

pub fn variant(&self) -> WIN_A[src]

Get enumerated values variant

pub fn is_win_0(&self) -> bool[src]

Checks if the value of the field is WIN_0

pub fn is_win_1(&self) -> bool[src]

Checks if the value of the field is WIN_1

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

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

Bit 0 - Stop Enable

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

Bit 1 - Wait Enable

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

Bit 2 - Debug Enable

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

Bits 3:4 - Watchdog Test

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

Bit 5 - Allow updates

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

Bit 6 - Watchdog Interrupt

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

Bit 7 - Watchdog Enable

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

Bits 8:9 - Watchdog Clock

pub fn rcs(&self) -> RCS_R[src]

Bit 10 - Reconfiguration Success

pub fn ulk(&self) -> ULK_R[src]

Bit 11 - Unlock status

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

Bit 12 - Watchdog prescaler

pub fn cmd32en(&self) -> CMD32EN_R[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(&self) -> FLG_R[src]

Bit 14 - Watchdog Interrupt Flag

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

Bit 15 - Watchdog Window

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

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

Bits 0:7 - Low byte of the Watchdog Counter

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

Bits 8:15 - High byte of the Watchdog Counter

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

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

Bits 0:7 - Low byte of the timeout value

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

Bits 8:15 - High byte of the timeout value

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

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

Bits 0:7 - Low byte of Watchdog Window

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

Bits 8:15 - High byte of Watchdog Window

Trait Implementations

impl<U, T, FI> PartialEq<FI> for R<U, T> where
    U: PartialEq,
    FI: Copy + Into<U>, 
[src]

Auto Trait Implementations

impl<U, T> Send for R<U, T> where
    T: Send,
    U: Send

impl<U, T> Sync for R<U, T> where
    T: Sync,
    U: Sync

impl<U, T> Unpin for R<U, T> where
    T: 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.