Enum stm32_metapac::spi::vals::Frxth
#[repr(u8)]pub enum Frxth {
HALF = 0,
QUARTER = 1,
}
Variants§
HALF = 0
RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
QUARTER = 1
RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Implementations§
Trait Implementations§
§impl Ord for Frxth
impl Ord for Frxth
§impl PartialOrd for Frxth
impl PartialOrd for Frxth
§fn partial_cmp(&self, other: &Frxth) -> Option<Ordering>
fn partial_cmp(&self, other: &Frxth) -> 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 Frxth
impl Eq for Frxth
impl StructuralEq for Frxth
impl StructuralPartialEq for Frxth
Auto Trait Implementations§
impl RefUnwindSafe for Frxth
impl Send for Frxth
impl Sync for Frxth
impl Unpin for Frxth
impl UnwindSafe for Frxth
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