nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Csl

Struct Csl 

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

Config security level register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Csl

Source

pub const fn sur_s2(&self) -> SurS2

Secure user read access control for the second slave

Source

pub const fn set_sur_s2(&mut self, val: SurS2)

Secure user read access control for the second slave

Source

pub const fn ssr_s2(&self) -> SsrS2

Secure supervisor read access control for the second slave

Source

pub const fn set_ssr_s2(&mut self, val: SsrS2)

Secure supervisor read access control for the second slave

Source

pub const fn nur_s2(&self) -> NurS2

Non-secure user read access control for the second slave

Source

pub const fn set_nur_s2(&mut self, val: NurS2)

Non-secure user read access control for the second slave

Source

pub const fn nsr_s2(&self) -> NsrS2

Non-secure supervisor read access control for the second slave

Source

pub const fn set_nsr_s2(&mut self, val: NsrS2)

Non-secure supervisor read access control for the second slave

Source

pub const fn suw_s2(&self) -> SuwS2

Secure user write access control for the second slave

Source

pub const fn set_suw_s2(&mut self, val: SuwS2)

Secure user write access control for the second slave

Source

pub const fn ssw_s2(&self) -> SswS2

Secure supervisor write access control for the second slave

Source

pub const fn set_ssw_s2(&mut self, val: SswS2)

Secure supervisor write access control for the second slave

Source

pub const fn nuw_s2(&self) -> NuwS2

Non-secure user write access control for the second slave

Source

pub const fn set_nuw_s2(&mut self, val: NuwS2)

Non-secure user write access control for the second slave

Source

pub const fn nsw_s2(&self) -> NswS2

Non-secure supervisor write access control for the second slave

Source

pub const fn set_nsw_s2(&mut self, val: NswS2)

Non-secure supervisor write access control for the second slave

Source

pub const fn lock_s2(&self) -> LockS2

The lock bit corresponding to the second slave. It is written by the secure software.

Source

pub const fn set_lock_s2(&mut self, val: LockS2)

The lock bit corresponding to the second slave. It is written by the secure software.

Source

pub const fn sur_s1(&self) -> SurS1

Secure user read access control for the first slave

Source

pub const fn set_sur_s1(&mut self, val: SurS1)

Secure user read access control for the first slave

Source

pub const fn ssr_s1(&self) -> SsrS1

Secure supervisor read access control for the first slave

Source

pub const fn set_ssr_s1(&mut self, val: SsrS1)

Secure supervisor read access control for the first slave

Source

pub const fn nur_s1(&self) -> NurS1

Non-secure user read access control for the first slave

Source

pub const fn set_nur_s1(&mut self, val: NurS1)

Non-secure user read access control for the first slave

Source

pub const fn nsr_s1(&self) -> NsrS1

Non-secure supervisor read access control for the first slave

Source

pub const fn set_nsr_s1(&mut self, val: NsrS1)

Non-secure supervisor read access control for the first slave

Source

pub const fn suw_s1(&self) -> SuwS1

Secure user write access control for the first slave

Source

pub const fn set_suw_s1(&mut self, val: SuwS1)

Secure user write access control for the first slave

Source

pub const fn ssw_s1(&self) -> SswS1

Secure supervisor write access control for the first slave

Source

pub const fn set_ssw_s1(&mut self, val: SswS1)

Secure supervisor write access control for the first slave

Source

pub const fn nuw_s1(&self) -> NuwS1

Non-secure user write access control for the first slave

Source

pub const fn set_nuw_s1(&mut self, val: NuwS1)

Non-secure user write access control for the first slave

Source

pub const fn nsw_s1(&self) -> NswS1

Non-secure supervisor write access control for the first slave

Source

pub const fn set_nsw_s1(&mut self, val: NswS1)

Non-secure supervisor write access control for the first slave

Source

pub const fn lock_s1(&self) -> LockS1

The lock bit corresponding to the first slave. It is written by the secure software.

Source

pub const fn set_lock_s1(&mut self, val: LockS1)

The lock bit corresponding to the first slave. It is written by the secure software.

Trait Implementations§

Source§

impl Clone for Csl

Source§

fn clone(&self) -> Csl

Returns a duplicate 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 Debug for Csl

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for Csl

Source§

fn default() -> Csl

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

impl PartialEq for Csl

Source§

fn eq(&self, other: &Csl) -> 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 Csl

Source§

impl Eq for Csl

Source§

impl StructuralPartialEq for Csl

Auto Trait Implementations§

§

impl Freeze for Csl

§

impl RefUnwindSafe for Csl

§

impl Send for Csl

§

impl Sync for Csl

§

impl Unpin for Csl

§

impl UnwindSafe for Csl

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 = 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.