nxp-pac

Crates

git

Versions

mimxrt1062

Flavors

Sa

Struct Sa 

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

Secure access register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Sa

Source

pub const fn nsa_dma(&self) -> NsaDma

Non-secure access policy indicator bit

Source

pub const fn set_nsa_dma(&mut self, val: NsaDma)

Non-secure access policy indicator bit

Source

pub const fn l_dma(&self) -> SaLDma

Lock bit set by the TZ software for the eDMA

Source

pub const fn set_l_dma(&mut self, val: SaLDma)

Lock bit set by the TZ software for the eDMA

Source

pub const fn nsa_lcdif(&self) -> NsaLcdif

Non-secure access policy indicator bit

Source

pub const fn set_nsa_lcdif(&mut self, val: NsaLcdif)

Non-secure access policy indicator bit

Source

pub const fn l_lcdif(&self) -> SaLLcdif

Lock bit set by the TZ software for the LCDIF

Source

pub const fn set_l_lcdif(&mut self, val: SaLLcdif)

Lock bit set by the TZ software for the LCDIF

Source

pub const fn nsa_csi(&self) -> NsaCsi

Non-secure access policy indicator bit

Source

pub const fn set_nsa_csi(&mut self, val: NsaCsi)

Non-secure access policy indicator bit

Source

pub const fn l_csi(&self) -> SaLCsi

Lock bit set by the TZ software for the CSI

Source

pub const fn set_l_csi(&mut self, val: SaLCsi)

Lock bit set by the TZ software for the CSI

Source

pub const fn nsa_pxp(&self) -> NsaPxp

Non-Secure Access Policy indicator bit

Source

pub const fn set_nsa_pxp(&mut self, val: NsaPxp)

Non-Secure Access Policy indicator bit

Source

pub const fn l_pxp(&self) -> SaLPxp

Lock bit set by the TZ software for the PXP

Source

pub const fn set_l_pxp(&mut self, val: SaLPxp)

Lock bit set by the TZ software for the PXP

Source

pub const fn nsa_dcp(&self) -> NsaDcp

Non-secure access policy indicator bit

Source

pub const fn set_nsa_dcp(&mut self, val: NsaDcp)

Non-secure access policy indicator bit

Source

pub const fn l_dcp(&self) -> SaLDcp

Lock bit set by the TZ software for the DCP

Source

pub const fn set_l_dcp(&mut self, val: SaLDcp)

Lock bit set by the TZ software for the DCP

Source

pub const fn nsa_enet(&self) -> NsaEnet

Non-secure access policy indicator bit

Source

pub const fn set_nsa_enet(&mut self, val: NsaEnet)

Non-secure access policy indicator bit

Source

pub const fn l_enet(&self) -> SaLEnet

Lock bit set by the TZ software for the ENET

Source

pub const fn set_l_enet(&mut self, val: SaLEnet)

Lock bit set by the TZ software for the ENET

Source

pub const fn nsa_usdhc1(&self) -> NsaUsdhc1

Non-secure access policy indicator bit

Source

pub const fn set_nsa_usdhc1(&mut self, val: NsaUsdhc1)

Non-secure access policy indicator bit

Source

pub const fn l_usdhc1(&self) -> SaLUsdhc1

Lock bit set by the TZ software for the USDHC1

Source

pub const fn set_l_usdhc1(&mut self, val: SaLUsdhc1)

Lock bit set by the TZ software for the USDHC1

Source

pub const fn nsa_usdhc2(&self) -> NsaUsdhc2

Non-secure access policy indicator bit

Source

pub const fn set_nsa_usdhc2(&mut self, val: NsaUsdhc2)

Non-secure access policy indicator bit

Source

pub const fn l_usdhc2(&self) -> SaLUsdhc2

Lock bit set by the TZ software for the USDHC2

Source

pub const fn set_l_usdhc2(&mut self, val: SaLUsdhc2)

Lock bit set by the TZ software for the USDHC2

Source

pub const fn nsa_tpsmp(&self) -> NsaTpsmp

Non-secure access policy indicator bit

Source

pub const fn set_nsa_tpsmp(&mut self, val: NsaTpsmp)

Non-secure access policy indicator bit

Source

pub const fn l_tpsmp(&self) -> SaLTpsmp

Lock bit set by the TZ software for the TPSMP

Source

pub const fn set_l_tpsmp(&mut self, val: SaLTpsmp)

Lock bit set by the TZ software for the TPSMP

Source

pub const fn nsa_usb(&self) -> NsaUsb

Non-secure access policy indicator bit

Source

pub const fn set_nsa_usb(&mut self, val: NsaUsb)

Non-secure access policy indicator bit

Source

pub const fn l_usb(&self) -> SaLUsb

Lock bit set by the TZ software for the USB

Source

pub const fn set_l_usb(&mut self, val: SaLUsb)

Lock bit set by the TZ software for the USB

Source

pub const fn nsa_enet2(&self) -> NsaEnet2

Non-secure access policy indicator bit

Source

pub const fn set_nsa_enet2(&mut self, val: NsaEnet2)

Non-secure access policy indicator bit

Source

pub const fn l_enet2(&self) -> SaLEnet2

Lock bit set by the TZ software for the ENET2

Source

pub const fn set_l_enet2(&mut self, val: SaLEnet2)

Lock bit set by the TZ software for the ENET2

Trait Implementations§

Source§

impl Clone for Sa

Source§

fn clone(&self) -> Sa

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 Sa

Source§

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

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

impl Default for Sa

Source§

fn default() -> Sa

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

impl PartialEq for Sa

Source§

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

Source§

impl Eq for Sa

Source§

impl StructuralPartialEq for Sa

Auto Trait Implementations§

§

impl Freeze for Sa

§

impl RefUnwindSafe for Sa

§

impl Send for Sa

§

impl Sync for Sa

§

impl Unpin for Sa

§

impl UnwindSafe for Sa

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.