pub enum DFFR {
EIGHTBIT,
SIXTEENBIT,
}
Expand description
Possible values of the field DFF
Variants
EIGHTBIT
8-bit data frame format is selected for transmission/reception
SIXTEENBIT
16-bit data frame format is selected for transmission/reception
Implementations
impl DFFR
impl DFFR
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_eight_bit(&self) -> bool
pub fn is_eight_bit(&self) -> bool
Checks if the value of the field is EIGHTBIT
pub fn is_sixteen_bit(&self) -> bool
pub fn is_sixteen_bit(&self) -> bool
Checks if the value of the field is SIXTEENBIT
Trait Implementations
impl Copy for DFFR
impl StructuralPartialEq for DFFR
Auto Trait Implementations
impl RefUnwindSafe for DFFR
impl Send for DFFR
impl Sync for DFFR
impl Unpin for DFFR
impl UnwindSafe for DFFR
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