Struct nrf52840_pac::gpiote::config::R
source · pub struct R(/* private fields */);
Expand description
Register CONFIG[%s]
reader
Implementations§
source§impl R
impl R
sourcepub fn psel(&self) -> PSEL_R
pub fn psel(&self) -> PSEL_R
Bits 8:12 - GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event
sourcepub fn polarity(&self) -> POLARITY_R
pub fn polarity(&self) -> POLARITY_R
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 = R<CONFIG_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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