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 Ord for Autoend
impl Ord for Autoend
§impl PartialOrd for Autoend
impl PartialOrd for Autoend
impl Copy for Autoend
impl Eq 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)