pub enum DATAINVR {
POSITIVE,
NEGATIVE,
}
Expand description
Possible values of the field DATAINV
Variants§
POSITIVE
Logical data from the data register are send/received in positive/direct logic
NEGATIVE
Logical data from the data register are send/received in negative/inverse logic
Implementations§
Source§impl DATAINVR
impl DATAINVR
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_positive(&self) -> bool
pub fn is_positive(&self) -> bool
Checks if the value of the field is POSITIVE
Sourcepub fn is_negative(&self) -> bool
pub fn is_negative(&self) -> bool
Checks if the value of the field is NEGATIVE
Trait Implementations§
impl Copy for DATAINVR
impl StructuralPartialEq for DATAINVR
Auto Trait Implementations§
impl Freeze for DATAINVR
impl RefUnwindSafe for DATAINVR
impl Send for DATAINVR
impl Sync for DATAINVR
impl Unpin for DATAINVR
impl UnwindSafe for DATAINVR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more