Enum stm32_metapac::i2c::vals::Headr
#[repr(u8)]pub enum Headr {
COMPLETE = 0,
PARTIAL = 1,
}
Variants§
COMPLETE = 0
The master sends the complete 10 bit slave address read sequence
PARTIAL = 1
The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Implementations§
Trait Implementations§
§impl Ord for Headr
impl Ord for Headr
§impl PartialOrd for Headr
impl PartialOrd for Headr
§fn partial_cmp(&self, other: &Headr) -> Option<Ordering>
fn partial_cmp(&self, other: &Headr) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Headr
impl Eq for Headr
impl StructuralEq for Headr
impl StructuralPartialEq for Headr
Auto Trait Implementations§
impl RefUnwindSafe for Headr
impl Send for Headr
impl Sync for Headr
impl Unpin for Headr
impl UnwindSafe for Headr
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