pub enum ADD10R {
BIT7,
BIT10,
}
Expand description
Possible values of the field ADD10
Variants§
BIT7
The master operates in 7-bit addressing mode
BIT10
The master operates in 10-bit addressing mode
Implementations§
Source§impl ADD10R
impl ADD10R
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 ADD10R
impl StructuralPartialEq for ADD10R
Auto Trait Implementations§
impl Freeze for ADD10R
impl RefUnwindSafe for ADD10R
impl Send for ADD10R
impl Sync for ADD10R
impl Unpin for ADD10R
impl UnwindSafe for ADD10R
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