Enum Fmt
#[repr(u8)]pub enum Fmt {
Format1 = 0,
Format2lsb = 1,
Format2mid = 2,
Format2msb = 3,
}Variants§
Format1 = 0
format 1 (2 bytes, MaxWr and MaxRd)
Format2lsb = 1
format 2 (5 bytes), MaxRdTurn returned with LSB = RDTURN (max read turnaround time below 256 us)
Format2mid = 2
format 2 (5 bytes), MaxRdTurn returned with middle byte = RDTURN (max read turnaround time between 256 and 65535 us)
Format2msb = 3
format 2 (5 bytes), MaxRdTurn returned with MSB = RDTURN (max read turnaround time between 65535 us and 16 s)
Implementations§
Trait Implementations§
impl Copy for Fmt
impl Eq for Fmt
§impl Ord for Fmt
impl Ord for Fmt
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 Fmt
impl PartialOrd for Fmt
impl StructuralPartialEq for Fmt
Auto Trait Implementations§
impl Freeze for Fmt
impl RefUnwindSafe for Fmt
impl Send for Fmt
impl Sync for Fmt
impl Unpin for Fmt
impl UnsafeUnpin for Fmt
impl UnwindSafe for Fmt
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