Enum stm32_metapac::sai::vals::Flvl
#[repr(u8)]pub enum Flvl {
EMPTY = 0,
QUARTER1 = 1,
QUARTER2 = 2,
QUARTER3 = 3,
QUARTER4 = 4,
FULL = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
EMPTY = 0
FIFO empty
QUARTER1 = 1
FIFO <= 1⁄4 but not empty
QUARTER2 = 2
1⁄4 < FIFO <= 1⁄2
QUARTER3 = 3
1⁄2 < FIFO <= 3⁄4
QUARTER4 = 4
3⁄4 < FIFO but not full
FULL = 5
FIFO full
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Flvl
impl Ord for Flvl
§impl PartialOrd for Flvl
impl PartialOrd for Flvl
§fn partial_cmp(&self, other: &Flvl) -> Option<Ordering>
fn partial_cmp(&self, other: &Flvl) -> 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 Flvl
impl Eq for Flvl
impl StructuralEq for Flvl
impl StructuralPartialEq for Flvl
Auto Trait Implementations§
impl RefUnwindSafe for Flvl
impl Send for Flvl
impl Sync for Flvl
impl Unpin for Flvl
impl UnwindSafe for Flvl
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