Struct Priv
#[repr(transparent)]pub struct Priv(pub u32);Expand description
privilege configuration register
Tuple Fields§
§0: u32Implementations§
§impl Priv
impl Priv
pub const fn priv_(&self, n: usize) -> bool
pub const fn priv_(&self, n: usize) -> bool
Security enable on event input x When EXTI_SECCFGR.SECx is disabled, PRIVx can be accessed with secure and non-secure access. When EXTI_SECCFGR.SECx is enabled, PRIVx can only be written with secure access. Non-secure write to this PRIVx is discarded.
pub const fn set_priv_(&mut self, n: usize, val: bool)
pub const fn set_priv_(&mut self, n: usize, val: bool)
Security enable on event input x When EXTI_SECCFGR.SECx is disabled, PRIVx can be accessed with secure and non-secure access. When EXTI_SECCFGR.SECx is enabled, PRIVx can only be written with secure access. Non-secure write to this PRIVx is discarded.
Trait Implementations§
impl Copy for Priv
impl Eq for Priv
impl StructuralPartialEq for Priv
Auto Trait Implementations§
impl Freeze for Priv
impl RefUnwindSafe for Priv
impl Send for Priv
impl Sync for Priv
impl Unpin for Priv
impl UnwindSafe for Priv
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