pub enum POLARITYR {
NONE,
LOTOHI,
HITOLO,
TOGGLE,
}
Expand description
Possible values of the field POLARITY
Variants
NONE
Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity.
LOTOHI
Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin.
HITOLO
Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin.
TOGGLE
Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin.
Implementations
sourceimpl POLARITYR
impl POLARITYR
sourcepub fn is_lo_to_hi(&self) -> bool
pub fn is_lo_to_hi(&self) -> bool
Checks if the value of the field is LOTOHI
sourcepub fn is_hi_to_lo(&self) -> bool
pub fn is_hi_to_lo(&self) -> bool
Checks if the value of the field is HITOLO
Trait Implementations
impl Copy for POLARITYR
impl StructuralPartialEq for POLARITYR
Auto Trait Implementations
impl RefUnwindSafe for POLARITYR
impl Send for POLARITYR
impl Sync for POLARITYR
impl Unpin for POLARITYR
impl UnwindSafe for POLARITYR
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