[−][src]Struct imxrt1062_pit::R
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]
U: Copy,
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]
impl R<u32, Reg<u32, _CVAL>>
[src]
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]
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]
impl R<u32, Reg<u32, _LTMR64L>>
[src]
Trait Implementations
Auto Trait Implementations
impl<U, T> Send for R<U, T> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<U, T> Sync for R<U, T> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<U, T> Unpin for R<U, T> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,