embassy-nrf

Crates

git

Versions

nrf9161-ns

Flavors

Skip to main content

DppiPerm

Struct DppiPerm 

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

Description cluster: Select between secure and non-secure attribute for the DPPI channels.

Tuple Fields§

§0: u32

Implementations§

§

impl DppiPerm

pub const fn channel0(&self) -> Channel0

Select secure attribute.

pub const fn set_channel0(&mut self, val: Channel0)

Select secure attribute.

pub const fn channel1(&self) -> Channel1

Select secure attribute.

pub const fn set_channel1(&mut self, val: Channel1)

Select secure attribute.

pub const fn channel2(&self) -> Channel2

Select secure attribute.

pub const fn set_channel2(&mut self, val: Channel2)

Select secure attribute.

pub const fn channel3(&self) -> Channel3

Select secure attribute.

pub const fn set_channel3(&mut self, val: Channel3)

Select secure attribute.

pub const fn channel4(&self) -> Channel4

Select secure attribute.

pub const fn set_channel4(&mut self, val: Channel4)

Select secure attribute.

pub const fn channel5(&self) -> Channel5

Select secure attribute.

pub const fn set_channel5(&mut self, val: Channel5)

Select secure attribute.

pub const fn channel6(&self) -> Channel6

Select secure attribute.

pub const fn set_channel6(&mut self, val: Channel6)

Select secure attribute.

pub const fn channel7(&self) -> Channel7

Select secure attribute.

pub const fn set_channel7(&mut self, val: Channel7)

Select secure attribute.

pub const fn channel8(&self) -> Channel8

Select secure attribute.

pub const fn set_channel8(&mut self, val: Channel8)

Select secure attribute.

pub const fn channel9(&self) -> Channel9

Select secure attribute.

pub const fn set_channel9(&mut self, val: Channel9)

Select secure attribute.

pub const fn channel10(&self) -> Channel10

Select secure attribute.

pub const fn set_channel10(&mut self, val: Channel10)

Select secure attribute.

pub const fn channel11(&self) -> Channel11

Select secure attribute.

pub const fn set_channel11(&mut self, val: Channel11)

Select secure attribute.

pub const fn channel12(&self) -> Channel12

Select secure attribute.

pub const fn set_channel12(&mut self, val: Channel12)

Select secure attribute.

pub const fn channel13(&self) -> Channel13

Select secure attribute.

pub const fn set_channel13(&mut self, val: Channel13)

Select secure attribute.

pub const fn channel14(&self) -> Channel14

Select secure attribute.

pub const fn set_channel14(&mut self, val: Channel14)

Select secure attribute.

pub const fn channel15(&self) -> Channel15

Select secure attribute.

pub const fn set_channel15(&mut self, val: Channel15)

Select secure attribute.

Trait Implementations§

§

impl Clone for DppiPerm

§

fn clone(&self) -> DppiPerm

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 DppiPerm

§

impl Debug for DppiPerm

§

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

Formats the value using the given formatter. Read more
§

impl Default for DppiPerm

§

fn default() -> DppiPerm

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

impl Eq for DppiPerm

§

impl PartialEq for DppiPerm

§

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

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

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

Inequality operator !=. Read more
§

impl StructuralPartialEq for DppiPerm

Auto Trait Implementations§

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.