#[repr(u8)]pub enum InactiveTimeout {
Disabled = 0,
Us55 = 1,
Us105 = 2,
Us205 = 3,
}
Expand description
Inactive timeout configuration
Variants§
Disabled = 0
Disabled
Us55 = 1
5-6 SCL cycles (50-60 us @ 100 kHz)
Us105 = 2
10-11 SCL cycles (100-110 us @ 100 kHz)
Us205 = 3
20-21 SCL cycles (200-210 us @ 100 kHz)
Trait Implementations§
Source§impl Clone for InactiveTimeout
impl Clone for InactiveTimeout
Source§fn clone(&self) -> InactiveTimeout
fn clone(&self) -> InactiveTimeout
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for InactiveTimeout
Auto Trait Implementations§
impl Freeze for InactiveTimeout
impl RefUnwindSafe for InactiveTimeout
impl Send for InactiveTimeout
impl Sync for InactiveTimeout
impl Unpin for InactiveTimeout
impl UnwindSafe for InactiveTimeout
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