pub enum FSR {
FIRSTQUARTER,
SECONDQUARTER,
THIRDQUARTER,
FOURTHQUARTER,
EMPTY,
FULL,
_Reserved(u8),
}
Expand description
Possible values of the field FS
Variants
FIRSTQUARTER
0 < fifo_level < 1/4
SECONDQUARTER
1/4 <= fifo_level < 1/2
THIRDQUARTER
1/2 <= fifo_level < 3/4
FOURTHQUARTER
3/4 <= fifo_level < full
EMPTY
FIFO is empty
FULL
FIFO is full
_Reserved(u8)
Reserved
Implementations
impl FSR
impl FSR
pub fn is_first_quarter(&self) -> bool
pub fn is_first_quarter(&self) -> bool
Checks if the value of the field is FIRSTQUARTER
pub fn is_second_quarter(&self) -> bool
pub fn is_second_quarter(&self) -> bool
Checks if the value of the field is SECONDQUARTER
pub fn is_third_quarter(&self) -> bool
pub fn is_third_quarter(&self) -> bool
Checks if the value of the field is THIRDQUARTER
pub fn is_fourth_quarter(&self) -> bool
pub fn is_fourth_quarter(&self) -> bool
Checks if the value of the field is FOURTHQUARTER
Trait Implementations
impl Copy for FSR
impl StructuralPartialEq for FSR
Auto Trait Implementations
impl RefUnwindSafe for FSR
impl Send for FSR
impl Sync for FSR
impl Unpin for FSR
impl UnwindSafe for FSR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more