Enum stm32f429i_disc::ethernet_mac::maccr::DMR
pub enum DMR {
HALFDUPLEX,
FULLDUPLEX,
}
Expand description
Possible values of the field DM
Variants
HALFDUPLEX
MAC operates in half-duplex mode
FULLDUPLEX
MAC operates in full-duplex mode
Implementations
impl DMR
impl DMR
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_half_duplex(&self) -> bool
pub fn is_half_duplex(&self) -> bool
Checks if the value of the field is HALFDUPLEX
pub fn is_full_duplex(&self) -> bool
pub fn is_full_duplex(&self) -> bool
Checks if the value of the field is FULLDUPLEX
Trait Implementations
impl Copy for DMR
impl StructuralPartialEq for DMR
Auto Trait Implementations
impl RefUnwindSafe for DMR
impl Send for DMR
impl Sync for DMR
impl Unpin for DMR
impl UnwindSafe for DMR
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