[]Enum stm32f407g_disc::ethernet_mac::maccr::IFGR

pub enum IFGR {
    IFG96,
    IFG88,
    IFG80,
    IFG40,
    _Reserved(u8),
}

Possible values of the field IFG

Variants

IFG96

96 bit times

IFG88

88 bit times

IFG80

48 bit times

IFG40

40 bit times

_Reserved(u8)

Reserved

Methods

impl IFGR

pub fn bits(&self) -> u8

Value of the field as raw bits

pub fn is_ifg96(&self) -> bool

Checks if the value of the field is IFG96

pub fn is_ifg88(&self) -> bool

Checks if the value of the field is IFG88

pub fn is_ifg80(&self) -> bool

Checks if the value of the field is IFG80

pub fn is_ifg40(&self) -> bool

Checks if the value of the field is IFG40

Trait Implementations

impl PartialEq<IFGR> for IFGR

impl Debug for IFGR

impl Copy for IFGR

impl Clone for IFGR

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for IFGR

impl Sync for IFGR

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]