#[repr(transparent)]pub struct CmpAlphaFieldsetCharlie(pub u32);Expand description
Comparator Control Register 2.
Tuple Fields§
§0: u32Implementations§
Source§impl CmpAlphaFieldsetCharlie
impl CmpAlphaFieldsetCharlie
Sourcepub const fn cmp_hpmd(&self) -> bool
pub const fn cmp_hpmd(&self) -> bool
CMP High Power Mode Select. Raw bit values: false (0) = Low: Low power (speed) comparison mode.; true (1) = High: High power (speed) comparison mode.
Sourcepub const fn set_cmp_hpmd(&mut self, val: bool)
pub const fn set_cmp_hpmd(&mut self, val: bool)
CMP High Power Mode Select. Raw bit values: false (0) = Low: Low power (speed) comparison mode.; true (1) = High: High power (speed) comparison mode.
Sourcepub const fn cmp_npmd(&self) -> bool
pub const fn cmp_npmd(&self) -> bool
CMP Nano Power Mode Select. Raw bit values: false (0) = NoNano: Disables CMP Nano power mode. CCR2[CMP_HPMD] determines the mode for the comparator.; true (1) = Nano: Enables CMP Nano power mode.
Sourcepub const fn set_cmp_npmd(&mut self, val: bool)
pub const fn set_cmp_npmd(&mut self, val: bool)
CMP Nano Power Mode Select. Raw bit values: false (0) = NoNano: Disables CMP Nano power mode. CCR2[CMP_HPMD] determines the mode for the comparator.; true (1) = Nano: Enables CMP Nano power mode.
Sourcepub const fn hystctr(&self) -> CmpAlphaEnumWhiskey
pub const fn hystctr(&self) -> CmpAlphaEnumWhiskey
Comparator Hysteresis Control.
Sourcepub const fn set_hystctr(&mut self, val: CmpAlphaEnumWhiskey)
pub const fn set_hystctr(&mut self, val: CmpAlphaEnumWhiskey)
Comparator Hysteresis Control.
Sourcepub const fn psel(&self) -> CmpAlphaEnumYankee
pub const fn psel(&self) -> CmpAlphaEnumYankee
Plus Input MUX Select.
Sourcepub const fn set_psel(&mut self, val: CmpAlphaEnumYankee)
pub const fn set_psel(&mut self, val: CmpAlphaEnumYankee)
Plus Input MUX Select.
Sourcepub const fn msel(&self) -> CmpAlphaEnumXray
pub const fn msel(&self) -> CmpAlphaEnumXray
Minus Input MUX Select.
Sourcepub const fn set_msel(&mut self, val: CmpAlphaEnumXray)
pub const fn set_msel(&mut self, val: CmpAlphaEnumXray)
Minus Input MUX Select.
Trait Implementations§
Source§impl Clone for CmpAlphaFieldsetCharlie
impl Clone for CmpAlphaFieldsetCharlie
Source§fn clone(&self) -> CmpAlphaFieldsetCharlie
fn clone(&self) -> CmpAlphaFieldsetCharlie
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more