pub enum TXINVR {
STANDARD,
INVERTED,
}
Expand description
Possible values of the field TXINV
Variants
STANDARD
TX pin signal works using the standard logic levels
INVERTED
TX pin signal values are inverted
Implementations
sourceimpl TXINVR
impl TXINVR
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_standard(&self) -> bool
pub fn is_standard(&self) -> bool
Checks if the value of the field is STANDARD
sourcepub fn is_inverted(&self) -> bool
pub fn is_inverted(&self) -> bool
Checks if the value of the field is INVERTED
Trait Implementations
impl Copy for TXINVR
impl StructuralPartialEq for TXINVR
Auto Trait Implementations
impl RefUnwindSafe for TXINVR
impl Send for TXINVR
impl Sync for TXINVR
impl Unpin for TXINVR
impl UnwindSafe for TXINVR
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