Struct nrf52840_pac::gpiote::config::W
source · pub struct W(/* private fields */);
Expand description
Register CONFIG[%s]
writer
Implementations§
source§impl W
impl W
sourcepub fn psel(&mut self) -> PSEL_W<'_, 8>
pub fn psel(&mut self) -> PSEL_W<'_, 8>
Bits 8:12 - GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event
sourcepub fn polarity(&mut self) -> POLARITY_W<'_, 16>
pub fn polarity(&mut self) -> POLARITY_W<'_, 16>
Bits 16:17 - When In task mode: Operation to be performed on output when OUT[n] task is triggered. When In event mode: Operation on input that shall trigger IN[n] event.
Methods from Deref<Target = W<CONFIG_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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