Struct nrf52840_pac::radio::intenset::W

source ·
pub struct W(/* private fields */);
Expand description

Register INTENSET writer

Implementations§

source§

impl W

source

pub fn ready(&mut self) -> READY_W<'_, 0>

Bit 0 - Write ‘1’ to enable interrupt for READY event

source

pub fn address(&mut self) -> ADDRESS_W<'_, 1>

Bit 1 - Write ‘1’ to enable interrupt for ADDRESS event

source

pub fn payload(&mut self) -> PAYLOAD_W<'_, 2>

Bit 2 - Write ‘1’ to enable interrupt for PAYLOAD event

source

pub fn end(&mut self) -> END_W<'_, 3>

Bit 3 - Write ‘1’ to enable interrupt for END event

source

pub fn disabled(&mut self) -> DISABLED_W<'_, 4>

Bit 4 - Write ‘1’ to enable interrupt for DISABLED event

source

pub fn devmatch(&mut self) -> DEVMATCH_W<'_, 5>

Bit 5 - Write ‘1’ to enable interrupt for DEVMATCH event

source

pub fn devmiss(&mut self) -> DEVMISS_W<'_, 6>

Bit 6 - Write ‘1’ to enable interrupt for DEVMISS event

source

pub fn rssiend(&mut self) -> RSSIEND_W<'_, 7>

Bit 7 - Write ‘1’ to enable interrupt for RSSIEND event

source

pub fn bcmatch(&mut self) -> BCMATCH_W<'_, 10>

Bit 10 - Write ‘1’ to enable interrupt for BCMATCH event

source

pub fn crcok(&mut self) -> CRCOK_W<'_, 12>

Bit 12 - Write ‘1’ to enable interrupt for CRCOK event

source

pub fn crcerror(&mut self) -> CRCERROR_W<'_, 13>

Bit 13 - Write ‘1’ to enable interrupt for CRCERROR event

source

pub fn framestart(&mut self) -> FRAMESTART_W<'_, 14>

Bit 14 - Write ‘1’ to enable interrupt for FRAMESTART event

source

pub fn edend(&mut self) -> EDEND_W<'_, 15>

Bit 15 - Write ‘1’ to enable interrupt for EDEND event

source

pub fn edstopped(&mut self) -> EDSTOPPED_W<'_, 16>

Bit 16 - Write ‘1’ to enable interrupt for EDSTOPPED event

source

pub fn ccaidle(&mut self) -> CCAIDLE_W<'_, 17>

Bit 17 - Write ‘1’ to enable interrupt for CCAIDLE event

source

pub fn ccabusy(&mut self) -> CCABUSY_W<'_, 18>

Bit 18 - Write ‘1’ to enable interrupt for CCABUSY event

source

pub fn ccastopped(&mut self) -> CCASTOPPED_W<'_, 19>

Bit 19 - Write ‘1’ to enable interrupt for CCASTOPPED event

source

pub fn rateboost(&mut self) -> RATEBOOST_W<'_, 20>

Bit 20 - Write ‘1’ to enable interrupt for RATEBOOST event

source

pub fn txready(&mut self) -> TXREADY_W<'_, 21>

Bit 21 - Write ‘1’ to enable interrupt for TXREADY event

source

pub fn rxready(&mut self) -> RXREADY_W<'_, 22>

Bit 22 - Write ‘1’ to enable interrupt for RXREADY event

source

pub fn mhrmatch(&mut self) -> MHRMATCH_W<'_, 23>

Bit 23 - Write ‘1’ to enable interrupt for MHRMATCH event

source

pub fn phyend(&mut self) -> PHYEND_W<'_, 27>

Bit 27 - Write ‘1’ to enable interrupt for PHYEND event

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<INTENSET_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<INTENSET_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<INTENSET_SPEC>> for W

source§

fn from(writer: W<INTENSET_SPEC>) -> Self

Converts to this type from the input type.

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.