Struct nrf52840_hal::target::gpiote::config::_POLARITYW
source · pub struct _POLARITYW<'a> { /* private fields */ }
Expand description
Proxy
Implementations
sourceimpl<'a> _POLARITYW<'a>
impl<'a> _POLARITYW<'a>
sourcepub fn none(self) -> &'a mut W
pub fn none(self) -> &'a mut W
Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity.
sourcepub fn lo_to_hi(self) -> &'a mut W
pub fn lo_to_hi(self) -> &'a mut W
Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin.
sourcepub fn hi_to_lo(self) -> &'a mut W
pub fn hi_to_lo(self) -> &'a mut W
Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin.
Auto Trait Implementations
impl<'a> RefUnwindSafe for _POLARITYW<'a>
impl<'a> Send for _POLARITYW<'a>
impl<'a> Sync for _POLARITYW<'a>
impl<'a> Unpin for _POLARITYW<'a>
impl<'a> !UnwindSafe for _POLARITYW<'a>
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