pub enum RSFR {
CUTTHROUGH,
STOREFORWARD,
}
Expand description
Possible values of the field RSF
Variants§
CUTTHROUGH
Rx FIFO operates in cut-through mode, subject to RTC bits
STOREFORWARD
Frames are read from Rx FIFO after complete frame has been written
Implementations§
Source§impl RSFR
impl RSFR
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Sourcepub fn is_cut_through(&self) -> bool
pub fn is_cut_through(&self) -> bool
Checks if the value of the field is CUTTHROUGH
Sourcepub fn is_store_forward(&self) -> bool
pub fn is_store_forward(&self) -> bool
Checks if the value of the field is STOREFORWARD
Trait Implementations§
impl Copy for RSFR
impl StructuralPartialEq for RSFR
Auto Trait Implementations§
impl Freeze for RSFR
impl RefUnwindSafe for RSFR
impl Send for RSFR
impl Sync for RSFR
impl Unpin for RSFR
impl UnwindSafe for RSFR
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