embassy-nrf

Crates

git

Versions

nrf5340-net

Flavors

Skip to main content

Int

Struct Int 

#[repr(transparent)]
pub struct Int(pub u32);
Expand description

Disable interrupt.

Tuple Fields§

§0: u32

Implementations§

§

impl Int

pub const fn ready(&self) -> bool

Write ‘1’ to disable interrupt for event READY.

pub const fn set_ready(&mut self, val: bool)

Write ‘1’ to disable interrupt for event READY.

pub const fn address(&self) -> bool

Write ‘1’ to disable interrupt for event ADDRESS.

pub const fn set_address(&mut self, val: bool)

Write ‘1’ to disable interrupt for event ADDRESS.

pub const fn payload(&self) -> bool

Write ‘1’ to disable interrupt for event PAYLOAD.

pub const fn set_payload(&mut self, val: bool)

Write ‘1’ to disable interrupt for event PAYLOAD.

pub const fn end(&self) -> bool

Write ‘1’ to disable interrupt for event END.

pub const fn set_end(&mut self, val: bool)

Write ‘1’ to disable interrupt for event END.

pub const fn disabled(&self) -> bool

Write ‘1’ to disable interrupt for event DISABLED.

pub const fn set_disabled(&mut self, val: bool)

Write ‘1’ to disable interrupt for event DISABLED.

pub const fn devmatch(&self) -> bool

Write ‘1’ to disable interrupt for event DEVMATCH.

pub const fn set_devmatch(&mut self, val: bool)

Write ‘1’ to disable interrupt for event DEVMATCH.

pub const fn devmiss(&self) -> bool

Write ‘1’ to disable interrupt for event DEVMISS.

pub const fn set_devmiss(&mut self, val: bool)

Write ‘1’ to disable interrupt for event DEVMISS.

pub const fn rssiend(&self) -> bool

Write ‘1’ to disable interrupt for event RSSIEND.

pub const fn set_rssiend(&mut self, val: bool)

Write ‘1’ to disable interrupt for event RSSIEND.

pub const fn bcmatch(&self) -> bool

Write ‘1’ to disable interrupt for event BCMATCH.

pub const fn set_bcmatch(&mut self, val: bool)

Write ‘1’ to disable interrupt for event BCMATCH.

pub const fn crcok(&self) -> bool

Write ‘1’ to disable interrupt for event CRCOK.

pub const fn set_crcok(&mut self, val: bool)

Write ‘1’ to disable interrupt for event CRCOK.

pub const fn crcerror(&self) -> bool

Write ‘1’ to disable interrupt for event CRCERROR.

pub const fn set_crcerror(&mut self, val: bool)

Write ‘1’ to disable interrupt for event CRCERROR.

pub const fn framestart(&self) -> bool

Write ‘1’ to disable interrupt for event FRAMESTART.

pub const fn set_framestart(&mut self, val: bool)

Write ‘1’ to disable interrupt for event FRAMESTART.

pub const fn edend(&self) -> bool

Write ‘1’ to disable interrupt for event EDEND.

pub const fn set_edend(&mut self, val: bool)

Write ‘1’ to disable interrupt for event EDEND.

pub const fn edstopped(&self) -> bool

Write ‘1’ to disable interrupt for event EDSTOPPED.

pub const fn set_edstopped(&mut self, val: bool)

Write ‘1’ to disable interrupt for event EDSTOPPED.

pub const fn ccaidle(&self) -> bool

Write ‘1’ to disable interrupt for event CCAIDLE.

pub const fn set_ccaidle(&mut self, val: bool)

Write ‘1’ to disable interrupt for event CCAIDLE.

pub const fn ccabusy(&self) -> bool

Write ‘1’ to disable interrupt for event CCABUSY.

pub const fn set_ccabusy(&mut self, val: bool)

Write ‘1’ to disable interrupt for event CCABUSY.

pub const fn ccastopped(&self) -> bool

Write ‘1’ to disable interrupt for event CCASTOPPED.

pub const fn set_ccastopped(&mut self, val: bool)

Write ‘1’ to disable interrupt for event CCASTOPPED.

pub const fn rateboost(&self) -> bool

Write ‘1’ to disable interrupt for event RATEBOOST.

pub const fn set_rateboost(&mut self, val: bool)

Write ‘1’ to disable interrupt for event RATEBOOST.

pub const fn txready(&self) -> bool

Write ‘1’ to disable interrupt for event TXREADY.

pub const fn set_txready(&mut self, val: bool)

Write ‘1’ to disable interrupt for event TXREADY.

pub const fn rxready(&self) -> bool

Write ‘1’ to disable interrupt for event RXREADY.

pub const fn set_rxready(&mut self, val: bool)

Write ‘1’ to disable interrupt for event RXREADY.

pub const fn mhrmatch(&self) -> bool

Write ‘1’ to disable interrupt for event MHRMATCH.

pub const fn set_mhrmatch(&mut self, val: bool)

Write ‘1’ to disable interrupt for event MHRMATCH.

pub const fn sync(&self) -> bool

Write ‘1’ to disable interrupt for event SYNC.

pub const fn set_sync(&mut self, val: bool)

Write ‘1’ to disable interrupt for event SYNC.

pub const fn phyend(&self) -> bool

Write ‘1’ to disable interrupt for event PHYEND.

pub const fn set_phyend(&mut self, val: bool)

Write ‘1’ to disable interrupt for event PHYEND.

pub const fn ctepresent(&self) -> bool

Write ‘1’ to disable interrupt for event CTEPRESENT.

pub const fn set_ctepresent(&mut self, val: bool)

Write ‘1’ to disable interrupt for event CTEPRESENT.

Trait Implementations§

§

impl Clone for Int

§

fn clone(&self) -> Int

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for Int

§

impl Debug for Int

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Int

§

fn default() -> Int

Returns the “default value” for a type. Read more
§

impl Eq for Int

§

impl PartialEq for Int

§

fn eq(&self, other: &Int) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
§

impl StructuralPartialEq for Int

Auto Trait Implementations§

§

impl Freeze for Int

§

impl RefUnwindSafe for Int

§

impl Send for Int

§

impl Sync for Int

§

impl Unpin for Int

§

impl UnsafeUnpin for Int

§

impl UnwindSafe for Int

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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>,

Source§

type Error = !

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>,

Source§

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.