pub enum OVER8R {
OVERSAMPLING_16,
OVERSAMPLING_8,
}Expand description
Possible values of the field OVER8
Variants§
Implementations§
Source§impl OVER8R
impl OVER8R
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true if the bit is set (1)
Sourcepub fn is_oversampling_16(&self) -> bool
pub fn is_oversampling_16(&self) -> bool
Checks if the value of the field is OVERSAMPLING_16
Sourcepub fn is_oversampling_8(&self) -> bool
pub fn is_oversampling_8(&self) -> bool
Checks if the value of the field is OVERSAMPLING_8
Trait Implementations§
impl Copy for OVER8R
impl StructuralPartialEq for OVER8R
Auto Trait Implementations§
impl Freeze for OVER8R
impl RefUnwindSafe for OVER8R
impl Send for OVER8R
impl Sync for OVER8R
impl Unpin for OVER8R
impl UnwindSafe for OVER8R
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