nxp-pac

Crates

git

Versions

mimxrt1011

Flavors

Hp0

Struct Hp0 

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

HP0 register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Hp0

Source

pub const fn hp_dma(&self) -> HpDma

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the eDMA

Source

pub const fn set_hp_dma(&mut self, val: HpDma)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the eDMA

Source

pub const fn l_dma(&self) -> Hp0LDma

Lock bit set by the TZ software for the eDMA

Source

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

Lock bit set by the TZ software for the eDMA

Source

pub const fn hp_lcdif(&self) -> HpLcdif

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the LCDIF

Source

pub const fn set_hp_lcdif(&mut self, val: HpLcdif)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the LCDIF

Source

pub const fn l_lcdif(&self) -> Hp0LLcdif

Lock bit set by the TZ software for the LCDIF

Source

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

Lock bit set by the TZ software for the LCDIF

Source

pub const fn hp_csi(&self) -> HpCsi

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the CSI

Source

pub const fn set_hp_csi(&mut self, val: HpCsi)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the CSI

Source

pub const fn l_csi(&self) -> Hp0LCsi

Lock bit set by the TZ software for the CSI

Source

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

Lock bit set by the TZ software for the CSI

Source

pub const fn hp_pxp(&self) -> HpPxp

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the PXP

Source

pub const fn set_hp_pxp(&mut self, val: HpPxp)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the PXP

Source

pub const fn l_pxp(&self) -> Hp0LPxp

Lock bit set by the TZ software for the PXP

Source

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

Lock bit set by the TZ software for the PXP

Source

pub const fn hp_dcp(&self) -> HpDcp

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the DCP

Source

pub const fn set_hp_dcp(&mut self, val: HpDcp)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the DCP

Source

pub const fn l_dcp(&self) -> Hp0LDcp

Lock bit set by the TZ software for the DCP

Source

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

Lock bit set by the TZ software for the DCP

Source

pub const fn hp_enet(&self) -> HpEnet

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the ENET

Source

pub const fn set_hp_enet(&mut self, val: HpEnet)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the ENET

Source

pub const fn l_enet(&self) -> Hp0LEnet

Lock bit set by the TZ software for the ENET

Source

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

Lock bit set by the TZ software for the ENET

Source

pub const fn hp_usdhc1(&self) -> HpUsdhc1

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the USDHC1

Source

pub const fn set_hp_usdhc1(&mut self, val: HpUsdhc1)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the USDHC1

Source

pub const fn l_usdhc1(&self) -> Hp0LUsdhc1

Lock bit set by the TZ software for the USDHC1

Source

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

Lock bit set by the TZ software for the USDHC1

Source

pub const fn hp_usdhc2(&self) -> HpUsdhc2

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the USDHC2

Source

pub const fn set_hp_usdhc2(&mut self, val: HpUsdhc2)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the USDHC2

Source

pub const fn l_usdhc2(&self) -> Hp0LUsdhc2

Lock bit set by the TZ software for the USDHC2

Source

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

Lock bit set by the TZ software for the USDHC2

Source

pub const fn hp_tpsmp(&self) -> HpTpsmp

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the TPSMP

Source

pub const fn set_hp_tpsmp(&mut self, val: HpTpsmp)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the TPSMP

Source

pub const fn l_tpsmp(&self) -> Hp0LTpsmp

Lock bit set by the TZ software for the TPSMP

Source

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

Lock bit set by the TZ software for the TPSMP

Source

pub const fn hp_usb(&self) -> HpUsb

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the USB

Source

pub const fn set_hp_usb(&mut self, val: HpUsb)

Determines whether the register value of the corresponding HP field is passed as the hprot[1] of the USB

Source

pub const fn l_usb(&self) -> Hp0LUsb

Lock bit set by the TZ software for the USB

Source

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

Lock bit set by the TZ software for the USB

Trait Implementations§

Source§

impl Clone for Hp0

Source§

fn clone(&self) -> Hp0

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 Hp0

Source§

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

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

impl Default for Hp0

Source§

fn default() -> Hp0

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

impl PartialEq for Hp0

Source§

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

Source§

impl Eq for Hp0

Source§

impl StructuralPartialEq for Hp0

Auto Trait Implementations§

§

impl Freeze for Hp0

§

impl RefUnwindSafe for Hp0

§

impl Send for Hp0

§

impl Sync for Hp0

§

impl Unpin for Hp0

§

impl UnwindSafe for Hp0

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.