Enum stm32_metapac::spi::vals::Udrdet
#[repr(u8)]pub enum Udrdet {
STARTOFFRAME = 0,
ENDOFFRAME = 1,
STARTOFSLAVESELECT = 2,
_RESERVED_3 = 3,
}
Variants§
STARTOFFRAME = 0
Underrun is detected at begin of data frame
ENDOFFRAME = 1
Underrun is detected at end of last data frame
STARTOFSLAVESELECT = 2
Underrun is detected at begin of active SS signal
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Udrdet
impl Ord for Udrdet
§impl PartialOrd for Udrdet
impl PartialOrd for Udrdet
§fn partial_cmp(&self, other: &Udrdet) -> Option<Ordering>
fn partial_cmp(&self, other: &Udrdet) -> 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 Udrdet
impl Eq for Udrdet
impl StructuralEq for Udrdet
impl StructuralPartialEq for Udrdet
Auto Trait Implementations§
impl RefUnwindSafe for Udrdet
impl Send for Udrdet
impl Sync for Udrdet
impl Unpin for Udrdet
impl UnwindSafe for Udrdet
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