#[repr(transparent)]pub struct Sa(pub u32);Expand description
Secure access register
Tuple Fields§
§0: u32Implementations§
Source§impl Sa
impl Sa
Sourcepub const fn set_nsa_dma(&mut self, val: NsaDma)
pub const fn set_nsa_dma(&mut self, val: NsaDma)
Non-secure access policy indicator bit
Sourcepub const fn set_nsa_lcdif(&mut self, val: NsaLcdif)
pub const fn set_nsa_lcdif(&mut self, val: NsaLcdif)
Non-secure access policy indicator bit
Sourcepub const fn set_l_lcdif(&mut self, val: SaLLcdif)
pub const fn set_l_lcdif(&mut self, val: SaLLcdif)
Lock bit set by the TZ software for the LCDIF
Sourcepub const fn set_nsa_csi(&mut self, val: NsaCsi)
pub const fn set_nsa_csi(&mut self, val: NsaCsi)
Non-secure access policy indicator bit
Sourcepub const fn set_nsa_pxp(&mut self, val: NsaPxp)
pub const fn set_nsa_pxp(&mut self, val: NsaPxp)
Non-Secure Access Policy indicator bit
Sourcepub const fn set_nsa_dcp(&mut self, val: NsaDcp)
pub const fn set_nsa_dcp(&mut self, val: NsaDcp)
Non-secure access policy indicator bit
Sourcepub const fn set_nsa_enet(&mut self, val: NsaEnet)
pub const fn set_nsa_enet(&mut self, val: NsaEnet)
Non-secure access policy indicator bit
Sourcepub const fn set_l_enet(&mut self, val: SaLEnet)
pub const fn set_l_enet(&mut self, val: SaLEnet)
Lock bit set by the TZ software for the ENET
Sourcepub const fn nsa_usdhc1(&self) -> NsaUsdhc1
pub const fn nsa_usdhc1(&self) -> NsaUsdhc1
Non-secure access policy indicator bit
Sourcepub const fn set_nsa_usdhc1(&mut self, val: NsaUsdhc1)
pub const fn set_nsa_usdhc1(&mut self, val: NsaUsdhc1)
Non-secure access policy indicator bit
Sourcepub const fn set_l_usdhc1(&mut self, val: SaLUsdhc1)
pub const fn set_l_usdhc1(&mut self, val: SaLUsdhc1)
Lock bit set by the TZ software for the USDHC1
Sourcepub const fn nsa_usdhc2(&self) -> NsaUsdhc2
pub const fn nsa_usdhc2(&self) -> NsaUsdhc2
Non-secure access policy indicator bit
Sourcepub const fn set_nsa_usdhc2(&mut self, val: NsaUsdhc2)
pub const fn set_nsa_usdhc2(&mut self, val: NsaUsdhc2)
Non-secure access policy indicator bit
Sourcepub const fn set_l_usdhc2(&mut self, val: SaLUsdhc2)
pub const fn set_l_usdhc2(&mut self, val: SaLUsdhc2)
Lock bit set by the TZ software for the USDHC2
Sourcepub const fn set_nsa_tpsmp(&mut self, val: NsaTpsmp)
pub const fn set_nsa_tpsmp(&mut self, val: NsaTpsmp)
Non-secure access policy indicator bit
Sourcepub const fn set_l_tpsmp(&mut self, val: SaLTpsmp)
pub const fn set_l_tpsmp(&mut self, val: SaLTpsmp)
Lock bit set by the TZ software for the TPSMP
Sourcepub const fn set_nsa_usb(&mut self, val: NsaUsb)
pub const fn set_nsa_usb(&mut self, val: NsaUsb)
Non-secure access policy indicator bit
Trait Implementations§
impl Copy for Sa
impl Eq for Sa
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more