pub enum HEAD10RR {
COMPLETE,
PARTIAL,
}
Expand description
Possible values of the field HEAD10R
Variants§
COMPLETE
The master sends the complete 10 bit slave address read sequence
PARTIAL
The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Implementations§
Source§impl HEAD10RR
impl HEAD10RR
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_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Checks if the value of the field is COMPLETE
Sourcepub fn is_partial(&self) -> bool
pub fn is_partial(&self) -> bool
Checks if the value of the field is PARTIAL
Trait Implementations§
impl Copy for HEAD10RR
impl StructuralPartialEq for HEAD10RR
Auto Trait Implementations§
impl Freeze for HEAD10RR
impl RefUnwindSafe for HEAD10RR
impl Send for HEAD10RR
impl Sync for HEAD10RR
impl Unpin for HEAD10RR
impl UnwindSafe for HEAD10RR
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