Enum 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 Copy for Autoend
impl Eq for Autoend
§impl Ord for Autoend
impl Ord for Autoend
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Autoend
impl PartialOrd for Autoend
impl StructuralPartialEq for Autoend
Auto Trait Implementations§
impl Freeze for Autoend
impl RefUnwindSafe for Autoend
impl Send for Autoend
impl Sync for Autoend
impl Unpin for Autoend
impl UnsafeUnpin 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