pub enum InputChannelPolarity {
None,
HiToLo,
LoToHi,
Toggle,
}
Expand description
Polarity for listening to events for GPIOTE input channels.
Variants§
None
Don’t listen for any pin changes.
HiToLo
Listen for high to low changes.
LoToHi
Listen for low to high changes.
Toggle
Listen for any change, either low to high or high to low.
Auto Trait Implementations§
impl Freeze for InputChannelPolarity
impl RefUnwindSafe for InputChannelPolarity
impl Send for InputChannelPolarity
impl Sync for InputChannelPolarity
impl Unpin for InputChannelPolarity
impl UnwindSafe for InputChannelPolarity
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