Enum stm32_metapac::i2c::vals::Autoend
#[repr(u8)]pub enum Autoend {
SOFTWARE = 0,
AUTOMATIC = 1,
}
Variants§
SOFTWARE = 0
Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
AUTOMATIC = 1
Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Implementations§
Trait Implementations§
§impl Ord for Autoend
impl Ord for Autoend
§impl PartialOrd for Autoend
impl PartialOrd for Autoend
§fn partial_cmp(&self, other: &Autoend) -> Option<Ordering>
fn partial_cmp(&self, other: &Autoend) -> 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 Autoend
impl Eq for Autoend
impl StructuralEq for Autoend
impl StructuralPartialEq for Autoend
Auto Trait Implementations§
impl RefUnwindSafe for Autoend
impl Send for Autoend
impl Sync for Autoend
impl Unpin for Autoend
impl UnwindSafe for Autoend
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