pub enum HDSELR {
NOTSELECTED,
SELECTED,
}
Expand description
Possible values of the field HDSEL
Variants
NOTSELECTED
Half duplex mode is not selected
SELECTED
Half duplex mode is selected
Implementations
sourceimpl HDSELR
impl HDSELR
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_not_selected(&self) -> bool
pub fn is_not_selected(&self) -> bool
Checks if the value of the field is NOTSELECTED
sourcepub fn is_selected(&self) -> bool
pub fn is_selected(&self) -> bool
Checks if the value of the field is SELECTED
Trait Implementations
impl Copy for HDSELR
impl StructuralPartialEq for HDSELR
Auto Trait Implementations
impl RefUnwindSafe for HDSELR
impl Send for HDSELR
impl Sync for HDSELR
impl Unpin for HDSELR
impl UnwindSafe for HDSELR
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