Struct nrf52840_pac::twi0::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 rxdready(&mut self) -> RXDREADY_W<'_, 2>
pub fn rxdready(&mut self) -> RXDREADY_W<'_, 2>
Bit 2 - Write ‘1’ to enable interrupt for RXDREADY event
sourcepub fn txdsent(&mut self) -> TXDSENT_W<'_, 7>
pub fn txdsent(&mut self) -> TXDSENT_W<'_, 7>
Bit 7 - Write ‘1’ to enable interrupt for TXDSENT event
sourcepub fn error(&mut self) -> ERROR_W<'_, 9>
pub fn error(&mut self) -> ERROR_W<'_, 9>
Bit 9 - Write ‘1’ to enable interrupt for ERROR event
sourcepub fn suspended(&mut self) -> SUSPENDED_W<'_, 18>
pub fn suspended(&mut self) -> SUSPENDED_W<'_, 18>
Bit 18 - Write ‘1’ to enable interrupt for SUSPENDED 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