nrf-pac

Crates

git

Versions

nrf9160

Flavors

nrf_pac::spu::regs

Struct GpioportPerm

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

Description cluster: Select between secure and non-secure attribute for pins 0 to 31 of port n.

Tuple Fields§

§0: u32

Implementations§

Source§

impl GpioportPerm

Source

pub const fn pin0(&self) -> bool

Select secure attribute attribute for PIN 0.

Source

pub fn set_pin0(&mut self, val: bool)

Select secure attribute attribute for PIN 0.

Source

pub const fn pin1(&self) -> bool

Select secure attribute attribute for PIN 1.

Source

pub fn set_pin1(&mut self, val: bool)

Select secure attribute attribute for PIN 1.

Source

pub const fn pin2(&self) -> bool

Select secure attribute attribute for PIN 2.

Source

pub fn set_pin2(&mut self, val: bool)

Select secure attribute attribute for PIN 2.

Source

pub const fn pin3(&self) -> bool

Select secure attribute attribute for PIN 3.

Source

pub fn set_pin3(&mut self, val: bool)

Select secure attribute attribute for PIN 3.

Source

pub const fn pin4(&self) -> bool

Select secure attribute attribute for PIN 4.

Source

pub fn set_pin4(&mut self, val: bool)

Select secure attribute attribute for PIN 4.

Source

pub const fn pin5(&self) -> bool

Select secure attribute attribute for PIN 5.

Source

pub fn set_pin5(&mut self, val: bool)

Select secure attribute attribute for PIN 5.

Source

pub const fn pin6(&self) -> bool

Select secure attribute attribute for PIN 6.

Source

pub fn set_pin6(&mut self, val: bool)

Select secure attribute attribute for PIN 6.

Source

pub const fn pin7(&self) -> bool

Select secure attribute attribute for PIN 7.

Source

pub fn set_pin7(&mut self, val: bool)

Select secure attribute attribute for PIN 7.

Source

pub const fn pin8(&self) -> bool

Select secure attribute attribute for PIN 8.

Source

pub fn set_pin8(&mut self, val: bool)

Select secure attribute attribute for PIN 8.

Source

pub const fn pin9(&self) -> bool

Select secure attribute attribute for PIN 9.

Source

pub fn set_pin9(&mut self, val: bool)

Select secure attribute attribute for PIN 9.

Source

pub const fn pin10(&self) -> bool

Select secure attribute attribute for PIN 10.

Source

pub fn set_pin10(&mut self, val: bool)

Select secure attribute attribute for PIN 10.

Source

pub const fn pin11(&self) -> bool

Select secure attribute attribute for PIN 11.

Source

pub fn set_pin11(&mut self, val: bool)

Select secure attribute attribute for PIN 11.

Source

pub const fn pin12(&self) -> bool

Select secure attribute attribute for PIN 12.

Source

pub fn set_pin12(&mut self, val: bool)

Select secure attribute attribute for PIN 12.

Source

pub const fn pin13(&self) -> bool

Select secure attribute attribute for PIN 13.

Source

pub fn set_pin13(&mut self, val: bool)

Select secure attribute attribute for PIN 13.

Source

pub const fn pin14(&self) -> bool

Select secure attribute attribute for PIN 14.

Source

pub fn set_pin14(&mut self, val: bool)

Select secure attribute attribute for PIN 14.

Source

pub const fn pin15(&self) -> bool

Select secure attribute attribute for PIN 15.

Source

pub fn set_pin15(&mut self, val: bool)

Select secure attribute attribute for PIN 15.

Source

pub const fn pin16(&self) -> bool

Select secure attribute attribute for PIN 16.

Source

pub fn set_pin16(&mut self, val: bool)

Select secure attribute attribute for PIN 16.

Source

pub const fn pin17(&self) -> bool

Select secure attribute attribute for PIN 17.

Source

pub fn set_pin17(&mut self, val: bool)

Select secure attribute attribute for PIN 17.

Source

pub const fn pin18(&self) -> bool

Select secure attribute attribute for PIN 18.

Source

pub fn set_pin18(&mut self, val: bool)

Select secure attribute attribute for PIN 18.

Source

pub const fn pin19(&self) -> bool

Select secure attribute attribute for PIN 19.

Source

pub fn set_pin19(&mut self, val: bool)

Select secure attribute attribute for PIN 19.

Source

pub const fn pin20(&self) -> bool

Select secure attribute attribute for PIN 20.

Source

pub fn set_pin20(&mut self, val: bool)

Select secure attribute attribute for PIN 20.

Source

pub const fn pin21(&self) -> bool

Select secure attribute attribute for PIN 21.

Source

pub fn set_pin21(&mut self, val: bool)

Select secure attribute attribute for PIN 21.

Source

pub const fn pin22(&self) -> bool

Select secure attribute attribute for PIN 22.

Source

pub fn set_pin22(&mut self, val: bool)

Select secure attribute attribute for PIN 22.

Source

pub const fn pin23(&self) -> bool

Select secure attribute attribute for PIN 23.

Source

pub fn set_pin23(&mut self, val: bool)

Select secure attribute attribute for PIN 23.

Source

pub const fn pin24(&self) -> bool

Select secure attribute attribute for PIN 24.

Source

pub fn set_pin24(&mut self, val: bool)

Select secure attribute attribute for PIN 24.

Source

pub const fn pin25(&self) -> bool

Select secure attribute attribute for PIN 25.

Source

pub fn set_pin25(&mut self, val: bool)

Select secure attribute attribute for PIN 25.

Source

pub const fn pin26(&self) -> bool

Select secure attribute attribute for PIN 26.

Source

pub fn set_pin26(&mut self, val: bool)

Select secure attribute attribute for PIN 26.

Source

pub const fn pin27(&self) -> bool

Select secure attribute attribute for PIN 27.

Source

pub fn set_pin27(&mut self, val: bool)

Select secure attribute attribute for PIN 27.

Source

pub const fn pin28(&self) -> bool

Select secure attribute attribute for PIN 28.

Source

pub fn set_pin28(&mut self, val: bool)

Select secure attribute attribute for PIN 28.

Source

pub const fn pin29(&self) -> bool

Select secure attribute attribute for PIN 29.

Source

pub fn set_pin29(&mut self, val: bool)

Select secure attribute attribute for PIN 29.

Source

pub const fn pin30(&self) -> bool

Select secure attribute attribute for PIN 30.

Source

pub fn set_pin30(&mut self, val: bool)

Select secure attribute attribute for PIN 30.

Source

pub const fn pin31(&self) -> bool

Select secure attribute attribute for PIN 31.

Source

pub fn set_pin31(&mut self, val: bool)

Select secure attribute attribute for PIN 31.

Trait Implementations§

Source§

impl Clone for GpioportPerm

Source§

fn clone(&self) -> GpioportPerm

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Default for GpioportPerm

Source§

fn default() -> GpioportPerm

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

impl PartialEq for GpioportPerm

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for GpioportPerm

Source§

impl Eq for GpioportPerm

Source§

impl StructuralPartialEq for GpioportPerm

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, dst: *mut T)

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

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.