[−][src]Struct imxrt1062_cmp1::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<u8, HYSTCTR_A>
[src]
pub fn variant(&self) -> HYSTCTR_A
[src]
Get enumerated values variant
pub fn is_hystctr_0(&self) -> bool
[src]
Checks if the value of the field is HYSTCTR_0
pub fn is_hystctr_1(&self) -> bool
[src]
Checks if the value of the field is HYSTCTR_1
pub fn is_hystctr_2(&self) -> bool
[src]
Checks if the value of the field is HYSTCTR_2
pub fn is_hystctr_3(&self) -> bool
[src]
Checks if the value of the field is HYSTCTR_3
impl R<u8, FILTER_CNT_A>
[src]
pub fn variant(&self) -> FILTER_CNT_A
[src]
Get enumerated values variant
pub fn is_filter_cnt_0(&self) -> bool
[src]
Checks if the value of the field is FILTER_CNT_0
pub fn is_filter_cnt_1(&self) -> bool
[src]
Checks if the value of the field is FILTER_CNT_1
pub fn is_filter_cnt_2(&self) -> bool
[src]
Checks if the value of the field is FILTER_CNT_2
pub fn is_filter_cnt_3(&self) -> bool
[src]
Checks if the value of the field is FILTER_CNT_3
pub fn is_filter_cnt_4(&self) -> bool
[src]
Checks if the value of the field is FILTER_CNT_4
pub fn is_filter_cnt_5(&self) -> bool
[src]
Checks if the value of the field is FILTER_CNT_5
pub fn is_filter_cnt_6(&self) -> bool
[src]
Checks if the value of the field is FILTER_CNT_6
pub fn is_filter_cnt_7(&self) -> bool
[src]
Checks if the value of the field is FILTER_CNT_7
impl R<u8, Reg<u8, _CR0>>
[src]
pub fn hystctr(&self) -> HYSTCTR_R
[src]
Bits 0:1 - Comparator hard block hysteresis control
pub fn filter_cnt(&self) -> FILTER_CNT_R
[src]
Bits 4:6 - Filter Sample Count
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<bool, OPE_A>
[src]
pub fn variant(&self) -> OPE_A
[src]
Get enumerated values variant
pub fn is_ope_0(&self) -> bool
[src]
Checks if the value of the field is OPE_0
pub fn is_ope_1(&self) -> bool
[src]
Checks if the value of the field is OPE_1
impl R<bool, COS_A>
[src]
pub fn variant(&self) -> COS_A
[src]
Get enumerated values variant
pub fn is_cos_0(&self) -> bool
[src]
Checks if the value of the field is COS_0
pub fn is_cos_1(&self) -> bool
[src]
Checks if the value of the field is COS_1
impl R<bool, INV_A>
[src]
pub fn variant(&self) -> INV_A
[src]
Get enumerated values variant
pub fn is_inv_0(&self) -> bool
[src]
Checks if the value of the field is INV_0
pub fn is_inv_1(&self) -> bool
[src]
Checks if the value of the field is INV_1
impl R<bool, PMODE_A>
[src]
pub fn variant(&self) -> PMODE_A
[src]
Get enumerated values variant
pub fn is_pmode_0(&self) -> bool
[src]
Checks if the value of the field is PMODE_0
pub fn is_pmode_1(&self) -> bool
[src]
Checks if the value of the field is PMODE_1
impl R<bool, WE_A>
[src]
pub fn variant(&self) -> WE_A
[src]
Get enumerated values variant
pub fn is_we_0(&self) -> bool
[src]
Checks if the value of the field is WE_0
pub fn is_we_1(&self) -> bool
[src]
Checks if the value of the field is WE_1
impl R<bool, SE_A>
[src]
pub fn variant(&self) -> SE_A
[src]
Get enumerated values variant
pub fn is_se_0(&self) -> bool
[src]
Checks if the value of the field is SE_0
pub fn is_se_1(&self) -> bool
[src]
Checks if the value of the field is SE_1
impl R<u8, Reg<u8, _CR1>>
[src]
pub fn en(&self) -> EN_R
[src]
Bit 0 - Comparator Module Enable
pub fn ope(&self) -> OPE_R
[src]
Bit 1 - Comparator Output Pin Enable
pub fn cos(&self) -> COS_R
[src]
Bit 2 - Comparator Output Select
pub fn inv(&self) -> INV_R
[src]
Bit 3 - Comparator INVERT
pub fn pmode(&self) -> PMODE_R
[src]
Bit 4 - Power Mode Select
pub fn we(&self) -> WE_R
[src]
Bit 6 - Windowing Enable
pub fn se(&self) -> SE_R
[src]
Bit 7 - Sample Enable
impl R<u8, Reg<u8, _FPR>>
[src]
pub fn filt_per(&self) -> FILT_PER_R
[src]
Bits 0:7 - Filter Sample Period
impl R<bool, CFF_A>
[src]
pub fn variant(&self) -> CFF_A
[src]
Get enumerated values variant
pub fn is_cff_0(&self) -> bool
[src]
Checks if the value of the field is CFF_0
pub fn is_cff_1(&self) -> bool
[src]
Checks if the value of the field is CFF_1
impl R<bool, CFR_A>
[src]
pub fn variant(&self) -> CFR_A
[src]
Get enumerated values variant
pub fn is_cfr_0(&self) -> bool
[src]
Checks if the value of the field is CFR_0
pub fn is_cfr_1(&self) -> bool
[src]
Checks if the value of the field is CFR_1
impl R<bool, IEF_A>
[src]
pub fn variant(&self) -> IEF_A
[src]
Get enumerated values variant
pub fn is_ief_0(&self) -> bool
[src]
Checks if the value of the field is IEF_0
pub fn is_ief_1(&self) -> bool
[src]
Checks if the value of the field is IEF_1
impl R<bool, IER_A>
[src]
pub fn variant(&self) -> IER_A
[src]
Get enumerated values variant
pub fn is_ier_0(&self) -> bool
[src]
Checks if the value of the field is IER_0
pub fn is_ier_1(&self) -> bool
[src]
Checks if the value of the field is IER_1
impl R<bool, DMAEN_A>
[src]
pub fn variant(&self) -> DMAEN_A
[src]
Get enumerated values variant
pub fn is_dmaen_0(&self) -> bool
[src]
Checks if the value of the field is DMAEN_0
pub fn is_dmaen_1(&self) -> bool
[src]
Checks if the value of the field is DMAEN_1
impl R<u8, Reg<u8, _SCR>>
[src]
pub fn cout(&self) -> COUT_R
[src]
Bit 0 - Analog Comparator Output
pub fn cff(&self) -> CFF_R
[src]
Bit 1 - Analog Comparator Flag Falling
pub fn cfr(&self) -> CFR_R
[src]
Bit 2 - Analog Comparator Flag Rising
pub fn ief(&self) -> IEF_R
[src]
Bit 3 - Comparator Interrupt Enable Falling
pub fn ier(&self) -> IER_R
[src]
Bit 4 - Comparator Interrupt Enable Rising
pub fn dmaen(&self) -> DMAEN_R
[src]
Bit 6 - DMA Enable Control
impl R<bool, VRSEL_A>
[src]
pub fn variant(&self) -> VRSEL_A
[src]
Get enumerated values variant
pub fn is_vrsel_0(&self) -> bool
[src]
Checks if the value of the field is VRSEL_0
pub fn is_vrsel_1(&self) -> bool
[src]
Checks if the value of the field is VRSEL_1
impl R<bool, DACEN_A>
[src]
pub fn variant(&self) -> DACEN_A
[src]
Get enumerated values variant
pub fn is_dacen_0(&self) -> bool
[src]
Checks if the value of the field is DACEN_0
pub fn is_dacen_1(&self) -> bool
[src]
Checks if the value of the field is DACEN_1
impl R<u8, Reg<u8, _DACCR>>
[src]
pub fn vosel(&self) -> VOSEL_R
[src]
Bits 0:5 - DAC Output Voltage Select
pub fn vrsel(&self) -> VRSEL_R
[src]
Bit 6 - Supply Voltage Reference Source Select
pub fn dacen(&self) -> DACEN_R
[src]
Bit 7 - DAC Enable
impl R<u8, MSEL_A>
[src]
pub fn variant(&self) -> MSEL_A
[src]
Get enumerated values variant
pub fn is_msel_0(&self) -> bool
[src]
Checks if the value of the field is MSEL_0
pub fn is_msel_1(&self) -> bool
[src]
Checks if the value of the field is MSEL_1
pub fn is_msel_2(&self) -> bool
[src]
Checks if the value of the field is MSEL_2
pub fn is_msel_3(&self) -> bool
[src]
Checks if the value of the field is MSEL_3
pub fn is_msel_4(&self) -> bool
[src]
Checks if the value of the field is MSEL_4
pub fn is_msel_5(&self) -> bool
[src]
Checks if the value of the field is MSEL_5
pub fn is_msel_6(&self) -> bool
[src]
Checks if the value of the field is MSEL_6
pub fn is_msel_7(&self) -> bool
[src]
Checks if the value of the field is MSEL_7
impl R<u8, PSEL_A>
[src]
pub fn variant(&self) -> PSEL_A
[src]
Get enumerated values variant
pub fn is_psel_0(&self) -> bool
[src]
Checks if the value of the field is PSEL_0
pub fn is_psel_1(&self) -> bool
[src]
Checks if the value of the field is PSEL_1
pub fn is_psel_2(&self) -> bool
[src]
Checks if the value of the field is PSEL_2
pub fn is_psel_3(&self) -> bool
[src]
Checks if the value of the field is PSEL_3
pub fn is_psel_4(&self) -> bool
[src]
Checks if the value of the field is PSEL_4
pub fn is_psel_5(&self) -> bool
[src]
Checks if the value of the field is PSEL_5
pub fn is_psel_6(&self) -> bool
[src]
Checks if the value of the field is PSEL_6
pub fn is_psel_7(&self) -> bool
[src]
Checks if the value of the field is PSEL_7
impl R<u8, Reg<u8, _MUXCR>>
[src]
pub fn msel(&self) -> MSEL_R
[src]
Bits 0:2 - Minus Input Mux Control
pub fn psel(&self) -> PSEL_R
[src]
Bits 3:5 - Plus Input Mux Control
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>,