pub enum OA1MODER {
BIT_7,
BIT_10,
}
Expand description
Possible values of the field OA1MODE
Variants
BIT_7
Own address 1 is a 7-bit address
BIT_10
Own address 1 is a 10-bit address
Implementations
sourceimpl OA1MODER
impl OA1MODER
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)
Trait Implementations
impl Copy for OA1MODER
impl StructuralPartialEq for OA1MODER
Auto Trait Implementations
impl RefUnwindSafe for OA1MODER
impl Send for OA1MODER
impl Sync for OA1MODER
impl Unpin for OA1MODER
impl UnwindSafe for OA1MODER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more