Struct nrf52840_pac::pwm0::intenset::W
source · pub struct W(/* private fields */);
Expand description
Register INTENSET
writer
Implementations§
source§impl W
impl W
sourcepub fn stopped(&mut self) -> STOPPED_W<'_, 1>
pub fn stopped(&mut self) -> STOPPED_W<'_, 1>
Bit 1 - Write ‘1’ to enable interrupt for STOPPED event
sourcepub fn seqstarted0(&mut self) -> SEQSTARTED0_W<'_, 2>
pub fn seqstarted0(&mut self) -> SEQSTARTED0_W<'_, 2>
Bit 2 - Write ‘1’ to enable interrupt for SEQSTARTED[0] event
sourcepub fn seqstarted1(&mut self) -> SEQSTARTED1_W<'_, 3>
pub fn seqstarted1(&mut self) -> SEQSTARTED1_W<'_, 3>
Bit 3 - Write ‘1’ to enable interrupt for SEQSTARTED[1] event
sourcepub fn seqend0(&mut self) -> SEQEND0_W<'_, 4>
pub fn seqend0(&mut self) -> SEQEND0_W<'_, 4>
Bit 4 - Write ‘1’ to enable interrupt for SEQEND[0] event
sourcepub fn seqend1(&mut self) -> SEQEND1_W<'_, 5>
pub fn seqend1(&mut self) -> SEQEND1_W<'_, 5>
Bit 5 - Write ‘1’ to enable interrupt for SEQEND[1] event
sourcepub fn pwmperiodend(&mut self) -> PWMPERIODEND_W<'_, 6>
pub fn pwmperiodend(&mut self) -> PWMPERIODEND_W<'_, 6>
Bit 6 - Write ‘1’ to enable interrupt for PWMPERIODEND event
sourcepub fn loopsdone(&mut self) -> LOOPSDONE_W<'_, 7>
pub fn loopsdone(&mut self) -> LOOPSDONE_W<'_, 7>
Bit 7 - Write ‘1’ to enable interrupt for LOOPSDONE 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