Struct nrf52840_pac::power::intenset::W
source · pub struct W(/* private fields */);
Expand description
Register INTENSET
writer
Implementations§
source§impl W
impl W
sourcepub fn pofwarn(&mut self) -> POFWARN_W<'_, 2>
pub fn pofwarn(&mut self) -> POFWARN_W<'_, 2>
Bit 2 - Write ‘1’ to enable interrupt for POFWARN event
sourcepub fn sleepenter(&mut self) -> SLEEPENTER_W<'_, 5>
pub fn sleepenter(&mut self) -> SLEEPENTER_W<'_, 5>
Bit 5 - Write ‘1’ to enable interrupt for SLEEPENTER event
sourcepub fn sleepexit(&mut self) -> SLEEPEXIT_W<'_, 6>
pub fn sleepexit(&mut self) -> SLEEPEXIT_W<'_, 6>
Bit 6 - Write ‘1’ to enable interrupt for SLEEPEXIT event
sourcepub fn usbdetected(&mut self) -> USBDETECTED_W<'_, 7>
pub fn usbdetected(&mut self) -> USBDETECTED_W<'_, 7>
Bit 7 - Write ‘1’ to enable interrupt for USBDETECTED event
sourcepub fn usbremoved(&mut self) -> USBREMOVED_W<'_, 8>
pub fn usbremoved(&mut self) -> USBREMOVED_W<'_, 8>
Bit 8 - Write ‘1’ to enable interrupt for USBREMOVED event
sourcepub fn usbpwrrdy(&mut self) -> USBPWRRDY_W<'_, 9>
pub fn usbpwrrdy(&mut self) -> USBPWRRDY_W<'_, 9>
Bit 9 - Write ‘1’ to enable interrupt for USBPWRRDY event
Methods from Deref<Target = W<INTENSET_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