[][src]Struct imxrt1062_pit::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<u32, Reg<u32, _LDVAL>>[src]

pub fn tsv(&self) -> TSV_R[src]

Bits 0:31 - Timer Start Value

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

pub fn tvl(&self) -> TVL_R[src]

Bits 0:31 - Current Timer Value

impl R<bool, TEN_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TEN_0

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

Checks if the value of the field is TEN_1

impl R<bool, TIE_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TIE_0

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

Checks if the value of the field is TIE_1

impl R<bool, CHN_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is CHN_0

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

Checks if the value of the field is CHN_1

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

pub fn ten(&self) -> TEN_R[src]

Bit 0 - Timer Enable

pub fn tie(&self) -> TIE_R[src]

Bit 1 - Timer Interrupt Enable

pub fn chn(&self) -> CHN_R[src]

Bit 2 - Chain Mode

impl R<bool, TIF_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TIF_0

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

Checks if the value of the field is TIF_1

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

pub fn tif(&self) -> TIF_R[src]

Bit 0 - Timer Interrupt Flag

impl R<bool, FRZ_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is FRZ_0

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

Checks if the value of the field is FRZ_1

impl R<bool, MDIS_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is MDIS_0

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

Checks if the value of the field is MDIS_1

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

pub fn frz(&self) -> FRZ_R[src]

Bit 0 - Freeze

pub fn mdis(&self) -> MDIS_R[src]

Bit 1 - Module Disable - (PIT section)

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

pub fn lth(&self) -> LTH_R[src]

Bits 0:31 - Life Timer value

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

pub fn ltl(&self) -> LTL_R[src]

Bits 0:31 - Life Timer value

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.