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