nxp-pac

Crates

git

Versions

mimxrt1062

Flavors

Hpcontrol0

Struct Hpcontrol0 

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

HPCONTROL0 register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Hpcontrol0

Source

pub const fn hpc_dma(&self) -> HpcDma

Indicates the privilege/user mode for the eDMA

Source

pub const fn set_hpc_dma(&mut self, val: HpcDma)

Indicates the privilege/user mode for the eDMA

Source

pub const fn l_dma(&self) -> Hpcontrol0LDma

Lock bit set by the TZ software for the eDMA

Source

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

Lock bit set by the TZ software for the eDMA

Source

pub const fn hpc_lcdif(&self) -> HpcLcdif

Indicates the privilege/user mode for the LCDIF

Source

pub const fn set_hpc_lcdif(&mut self, val: HpcLcdif)

Indicates the privilege/user mode for the LCDIF

Source

pub const fn l_lcdif(&self) -> Hpcontrol0LLcdif

Lock bit set by the TZ software for the LCDIF

Source

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

Lock bit set by the TZ software for the LCDIF

Source

pub const fn hpc_csi(&self) -> HpcCsi

Indicates the privilege/user mode for the CSI

Source

pub const fn set_hpc_csi(&mut self, val: HpcCsi)

Indicates the privilege/user mode for the CSI

Source

pub const fn l_csi(&self) -> Hpcontrol0LCsi

Lock bit set by the TZ software for the CSI

Source

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

Lock bit set by the TZ software for the CSI

Source

pub const fn hpc_pxp(&self) -> HpcPxp

Indicates the privilege/user mode for the PXP

Source

pub const fn set_hpc_pxp(&mut self, val: HpcPxp)

Indicates the privilege/user mode for the PXP

Source

pub const fn l_pxp(&self) -> Hpcontrol0LPxp

Lock bit set by the TZ software for the PXP

Source

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

Lock bit set by the TZ software for the PXP

Source

pub const fn hpc_dcp(&self) -> HpcDcp

Indicates the privilege/user mode for the DCP

Source

pub const fn set_hpc_dcp(&mut self, val: HpcDcp)

Indicates the privilege/user mode for the DCP

Source

pub const fn l_dcp(&self) -> Hpcontrol0LDcp

Lock bit set by the TZ software for the DCP

Source

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

Lock bit set by the TZ software for the DCP

Source

pub const fn hpc_enet(&self) -> HpcEnet

Indicates the privilege/user mode for the ENET

Source

pub const fn set_hpc_enet(&mut self, val: HpcEnet)

Indicates the privilege/user mode for the ENET

Source

pub const fn l_enet(&self) -> Hpcontrol0LEnet

Lock bit set by the TZ software for the ENET

Source

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

Lock bit set by the TZ software for the ENET

Source

pub const fn hpc_usdhc1(&self) -> HpcUsdhc1

Indicates the privilege/user mode for the USDHC1

Source

pub const fn set_hpc_usdhc1(&mut self, val: HpcUsdhc1)

Indicates the privilege/user mode for the USDHC1

Source

pub const fn l_usdhc1(&self) -> Hpcontrol0LUsdhc1

Lock bit set by the TZ software for the USDHC1

Source

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

Lock bit set by the TZ software for the USDHC1

Source

pub const fn hpc_usdhc2(&self) -> HpcUsdhc2

Indicates the privilege/user mode for the USDHC2

Source

pub const fn set_hpc_usdhc2(&mut self, val: HpcUsdhc2)

Indicates the privilege/user mode for the USDHC2

Source

pub const fn l_usdhc2(&self) -> Hpcontrol0LUsdhc2

Lock bit set by the TZ software for the USDHC2.

Source

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

Lock bit set by the TZ software for the USDHC2.

Source

pub const fn hpc_tpsmp(&self) -> HpcTpsmp

Indicates the privilege/user mode for the TPSMP

Source

pub const fn set_hpc_tpsmp(&mut self, val: HpcTpsmp)

Indicates the privilege/user mode for the TPSMP

Source

pub const fn l_tpsmp(&self) -> Hpcontrol0LTpsmp

Lock bit set by the TZ software for the TPSMP.

Source

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

Lock bit set by the TZ software for the TPSMP.

Source

pub const fn hpc_usb(&self) -> HpcUsb

Indicates the privilege/user mode for the USB

Source

pub const fn set_hpc_usb(&mut self, val: HpcUsb)

Indicates the privilege/user mode for the USB

Source

pub const fn l_usb(&self) -> Hpcontrol0LUsb

Lock bit set by the TZ software for the USB.

Source

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

Lock bit set by the TZ software for the USB.

Source

pub const fn hpc_enet2(&self) -> HpcEnet2

Indicates the privilege/user mode for the ENET2

Source

pub const fn set_hpc_enet2(&mut self, val: HpcEnet2)

Indicates the privilege/user mode for the ENET2

Source

pub const fn l_enet2(&self) -> Hpcontrol0LEnet2

Lock bit set by the TZ software for the ENET2

Source

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

Lock bit set by the TZ software for the ENET2

Trait Implementations§

Source§

impl Clone for Hpcontrol0

Source§

fn clone(&self) -> Hpcontrol0

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 Hpcontrol0

Source§

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

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

impl Default for Hpcontrol0

Source§

fn default() -> Hpcontrol0

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

impl PartialEq for Hpcontrol0

Source§

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

Source§

impl Eq for Hpcontrol0

Source§

impl StructuralPartialEq for Hpcontrol0

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