pub struct COMP2MODE_R(/* private fields */);
Expand description
Field COMP2MODE
reader - Comparator 2 mode
Implementations§
Source§impl COMP2MODE_R
impl COMP2MODE_R
Sourcepub fn variant(&self) -> COMP2MODE_A
pub fn variant(&self) -> COMP2MODE_A
Get enumerated values variant
Sourcepub fn is_high_speed(&self) -> bool
pub fn is_high_speed(&self) -> bool
Checks if the value of the field is HIGHSPEED
Sourcepub fn is_medium_speed(&self) -> bool
pub fn is_medium_speed(&self) -> bool
Checks if the value of the field is MEDIUMSPEED
Sourcepub fn is_low_speed(&self) -> bool
pub fn is_low_speed(&self) -> bool
Checks if the value of the field is LOWSPEED
Sourcepub fn is_very_low_speed(&self) -> bool
pub fn is_very_low_speed(&self) -> bool
Checks if the value of the field is VERYLOWSPEED
Methods from Deref<Target = FieldReader<u8, COMP2MODE_A>>§
Trait Implementations§
Source§impl Deref for COMP2MODE_R
impl Deref for COMP2MODE_R
Source§type Target = FieldReader<u8, COMP2MODE_A>
type Target = FieldReader<u8, COMP2MODE_A>
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for COMP2MODE_R
impl RefUnwindSafe for COMP2MODE_R
impl Send for COMP2MODE_R
impl Sync for COMP2MODE_R
impl Unpin for COMP2MODE_R
impl UnwindSafe for COMP2MODE_R
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more