Enum stm32f429i_disc::ethernet_dma::dmaomr::FEFR
pub enum FEFR {
DROP,
FORWARD,
}
Expand description
Possible values of the field FEF
Variants
DROP
Rx FIFO drops frames with error status
FORWARD
All frames except runt error frames are forwarded to the DMA
Implementations
impl FEFR
impl FEFR
pub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub fn is_forward(&self) -> bool
pub fn is_forward(&self) -> bool
Checks if the value of the field is FORWARD
Trait Implementations
impl Copy for FEFR
impl StructuralPartialEq for FEFR
Auto Trait Implementations
impl RefUnwindSafe for FEFR
impl Send for FEFR
impl Sync for FEFR
impl Unpin for FEFR
impl UnwindSafe for FEFR
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