#[repr(transparent)]pub struct Hpcontrol0(pub u32);Expand description
HPCONTROL0 register
Tuple Fields§
§0: u32Implementations§
Source§impl Hpcontrol0
impl Hpcontrol0
Sourcepub const fn set_hpc_dma(&mut self, val: HpcDma)
pub const fn set_hpc_dma(&mut self, val: HpcDma)
Indicates the privilege/user mode for the eDMA
Sourcepub const fn l_dma(&self) -> Hpcontrol0LDma
pub const fn l_dma(&self) -> Hpcontrol0LDma
Lock bit set by the TZ software for the eDMA
Sourcepub const fn set_l_dma(&mut self, val: Hpcontrol0LDma)
pub const fn set_l_dma(&mut self, val: Hpcontrol0LDma)
Lock bit set by the TZ software for the eDMA
Sourcepub const fn set_hpc_lcdif(&mut self, val: HpcLcdif)
pub const fn set_hpc_lcdif(&mut self, val: HpcLcdif)
Indicates the privilege/user mode for the LCDIF
Sourcepub const fn l_lcdif(&self) -> Hpcontrol0LLcdif
pub const fn l_lcdif(&self) -> Hpcontrol0LLcdif
Lock bit set by the TZ software for the LCDIF
Sourcepub const fn set_l_lcdif(&mut self, val: Hpcontrol0LLcdif)
pub const fn set_l_lcdif(&mut self, val: Hpcontrol0LLcdif)
Lock bit set by the TZ software for the LCDIF
Sourcepub const fn set_hpc_csi(&mut self, val: HpcCsi)
pub const fn set_hpc_csi(&mut self, val: HpcCsi)
Indicates the privilege/user mode for the CSI
Sourcepub const fn l_csi(&self) -> Hpcontrol0LCsi
pub const fn l_csi(&self) -> Hpcontrol0LCsi
Lock bit set by the TZ software for the CSI
Sourcepub const fn set_l_csi(&mut self, val: Hpcontrol0LCsi)
pub const fn set_l_csi(&mut self, val: Hpcontrol0LCsi)
Lock bit set by the TZ software for the CSI
Sourcepub const fn set_hpc_pxp(&mut self, val: HpcPxp)
pub const fn set_hpc_pxp(&mut self, val: HpcPxp)
Indicates the privilege/user mode for the PXP
Sourcepub const fn l_pxp(&self) -> Hpcontrol0LPxp
pub const fn l_pxp(&self) -> Hpcontrol0LPxp
Lock bit set by the TZ software for the PXP
Sourcepub const fn set_l_pxp(&mut self, val: Hpcontrol0LPxp)
pub const fn set_l_pxp(&mut self, val: Hpcontrol0LPxp)
Lock bit set by the TZ software for the PXP
Sourcepub const fn set_hpc_dcp(&mut self, val: HpcDcp)
pub const fn set_hpc_dcp(&mut self, val: HpcDcp)
Indicates the privilege/user mode for the DCP
Sourcepub const fn l_dcp(&self) -> Hpcontrol0LDcp
pub const fn l_dcp(&self) -> Hpcontrol0LDcp
Lock bit set by the TZ software for the DCP
Sourcepub const fn set_l_dcp(&mut self, val: Hpcontrol0LDcp)
pub const fn set_l_dcp(&mut self, val: Hpcontrol0LDcp)
Lock bit set by the TZ software for the DCP
Sourcepub const fn set_hpc_enet(&mut self, val: HpcEnet)
pub const fn set_hpc_enet(&mut self, val: HpcEnet)
Indicates the privilege/user mode for the ENET
Sourcepub const fn l_enet(&self) -> Hpcontrol0LEnet
pub const fn l_enet(&self) -> Hpcontrol0LEnet
Lock bit set by the TZ software for the ENET
Sourcepub const fn set_l_enet(&mut self, val: Hpcontrol0LEnet)
pub const fn set_l_enet(&mut self, val: Hpcontrol0LEnet)
Lock bit set by the TZ software for the ENET
Sourcepub const fn hpc_usdhc1(&self) -> HpcUsdhc1
pub const fn hpc_usdhc1(&self) -> HpcUsdhc1
Indicates the privilege/user mode for the USDHC1
Sourcepub const fn set_hpc_usdhc1(&mut self, val: HpcUsdhc1)
pub const fn set_hpc_usdhc1(&mut self, val: HpcUsdhc1)
Indicates the privilege/user mode for the USDHC1
Sourcepub const fn l_usdhc1(&self) -> Hpcontrol0LUsdhc1
pub const fn l_usdhc1(&self) -> Hpcontrol0LUsdhc1
Lock bit set by the TZ software for the USDHC1
Sourcepub const fn set_l_usdhc1(&mut self, val: Hpcontrol0LUsdhc1)
pub const fn set_l_usdhc1(&mut self, val: Hpcontrol0LUsdhc1)
Lock bit set by the TZ software for the USDHC1
Sourcepub const fn hpc_usdhc2(&self) -> HpcUsdhc2
pub const fn hpc_usdhc2(&self) -> HpcUsdhc2
Indicates the privilege/user mode for the USDHC2
Sourcepub const fn set_hpc_usdhc2(&mut self, val: HpcUsdhc2)
pub const fn set_hpc_usdhc2(&mut self, val: HpcUsdhc2)
Indicates the privilege/user mode for the USDHC2
Sourcepub const fn l_usdhc2(&self) -> Hpcontrol0LUsdhc2
pub const fn l_usdhc2(&self) -> Hpcontrol0LUsdhc2
Lock bit set by the TZ software for the USDHC2.
Sourcepub const fn set_l_usdhc2(&mut self, val: Hpcontrol0LUsdhc2)
pub const fn set_l_usdhc2(&mut self, val: Hpcontrol0LUsdhc2)
Lock bit set by the TZ software for the USDHC2.
Sourcepub const fn set_hpc_tpsmp(&mut self, val: HpcTpsmp)
pub const fn set_hpc_tpsmp(&mut self, val: HpcTpsmp)
Indicates the privilege/user mode for the TPSMP
Sourcepub const fn l_tpsmp(&self) -> Hpcontrol0LTpsmp
pub const fn l_tpsmp(&self) -> Hpcontrol0LTpsmp
Lock bit set by the TZ software for the TPSMP.
Sourcepub const fn set_l_tpsmp(&mut self, val: Hpcontrol0LTpsmp)
pub const fn set_l_tpsmp(&mut self, val: Hpcontrol0LTpsmp)
Lock bit set by the TZ software for the TPSMP.
Sourcepub const fn set_hpc_usb(&mut self, val: HpcUsb)
pub const fn set_hpc_usb(&mut self, val: HpcUsb)
Indicates the privilege/user mode for the USB
Sourcepub const fn l_usb(&self) -> Hpcontrol0LUsb
pub const fn l_usb(&self) -> Hpcontrol0LUsb
Lock bit set by the TZ software for the USB.
Sourcepub const fn set_l_usb(&mut self, val: Hpcontrol0LUsb)
pub const fn set_l_usb(&mut self, val: Hpcontrol0LUsb)
Lock bit set by the TZ software for the USB.
Sourcepub const fn set_hpc_enet2(&mut self, val: HpcEnet2)
pub const fn set_hpc_enet2(&mut self, val: HpcEnet2)
Indicates the privilege/user mode for the ENET2
Sourcepub const fn l_enet2(&self) -> Hpcontrol0LEnet2
pub const fn l_enet2(&self) -> Hpcontrol0LEnet2
Lock bit set by the TZ software for the ENET2
Sourcepub const fn set_l_enet2(&mut self, val: Hpcontrol0LEnet2)
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
impl Clone for Hpcontrol0
Source§fn clone(&self) -> Hpcontrol0
fn clone(&self) -> Hpcontrol0
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more