pub enum ETPR {
NOTINVERTED,
INVERTED,
}
Expand description
Possible values of the field ETP
Variants§
NOTINVERTED
ETR is noninverted, active at high level or rising edge
INVERTED
ETR is inverted, active at low level or falling edge
Implementations§
Source§impl ETPR
impl ETPR
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_inverted(&self) -> bool
pub fn is_not_inverted(&self) -> bool
Checks if the value of the field is NOTINVERTED
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 ETPR
impl StructuralPartialEq for ETPR
Auto Trait Implementations§
impl Freeze for ETPR
impl RefUnwindSafe for ETPR
impl Send for ETPR
impl Sync for ETPR
impl Unpin for ETPR
impl UnwindSafe for ETPR
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