Enum stm32_metapac::spi::vals::Udrcfg
#[repr(u8)]pub enum Udrcfg {
CONSTANT = 0,
REPEATRECEIVED = 1,
REPEATTRANSMITTED = 2,
_RESERVED_3 = 3,
}
Variants§
CONSTANT = 0
Slave sends a constant underrun pattern
REPEATRECEIVED = 1
Slave repeats last received data frame from master
REPEATTRANSMITTED = 2
Slave repeats last transmitted data frame
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Udrcfg
impl Ord for Udrcfg
§impl PartialOrd for Udrcfg
impl PartialOrd for Udrcfg
§fn partial_cmp(&self, other: &Udrcfg) -> Option<Ordering>
fn partial_cmp(&self, other: &Udrcfg) -> 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 Udrcfg
impl Eq for Udrcfg
impl StructuralEq for Udrcfg
impl StructuralPartialEq for Udrcfg
Auto Trait Implementations§
impl RefUnwindSafe for Udrcfg
impl Send for Udrcfg
impl Sync for Udrcfg
impl Unpin for Udrcfg
impl UnwindSafe for Udrcfg
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