#[repr(transparent)]pub struct SeccfgMisc(pub u32);
Expand description
Miscellaneous security configuration
Tuple Fields§
§0: u32
Implementations§
Source§impl SeccfgMisc
impl SeccfgMisc
Sourcepub const fn sniff_p(&self) -> bool
pub const fn sniff_p(&self) -> bool
If 1, the sniffer can see data transfers from Privileged channels, and can itself only be accessed from a privileged context, or from a Secure context when SNIFF_S is 0. If 0, the sniffer can be accessed from either a Privileged or Unprivileged context (with sufficient security level) but can not see transfers from Privileged channels.
Sourcepub fn set_sniff_p(&mut self, val: bool)
pub fn set_sniff_p(&mut self, val: bool)
If 1, the sniffer can see data transfers from Privileged channels, and can itself only be accessed from a privileged context, or from a Secure context when SNIFF_S is 0. If 0, the sniffer can be accessed from either a Privileged or Unprivileged context (with sufficient security level) but can not see transfers from Privileged channels.
Sourcepub const fn sniff_s(&self) -> bool
pub const fn sniff_s(&self) -> bool
If 1, the sniffer can see data transfers from Secure channels, and can itself only be accessed from a Secure context. If 0, the sniffer can be accessed from either a Secure or Non-secure context, but can not see data transfers of Secure channels.
Sourcepub fn set_sniff_s(&mut self, val: bool)
pub fn set_sniff_s(&mut self, val: bool)
If 1, the sniffer can see data transfers from Secure channels, and can itself only be accessed from a Secure context. If 0, the sniffer can be accessed from either a Secure or Non-secure context, but can not see data transfers of Secure channels.
Sourcepub const fn timer_p(&self, n: usize) -> bool
pub const fn timer_p(&self, n: usize) -> bool
If 1, the TIMER0 register is only accessible from a Privileged (or more Secure) context, and timer DREQ 0 is only visible to Privileged (or more Secure) channels.
Sourcepub fn set_timer_p(&mut self, n: usize, val: bool)
pub fn set_timer_p(&mut self, n: usize, val: bool)
If 1, the TIMER0 register is only accessible from a Privileged (or more Secure) context, and timer DREQ 0 is only visible to Privileged (or more Secure) channels.
Sourcepub const fn timer_s(&self, n: usize) -> bool
pub const fn timer_s(&self, n: usize) -> bool
If 1, the TIMER0 register is only accessible from a Secure context, and timer DREQ 0 is only visible to Secure channels.
Sourcepub fn set_timer_s(&mut self, n: usize, val: bool)
pub fn set_timer_s(&mut self, n: usize, val: bool)
If 1, the TIMER0 register is only accessible from a Secure context, and timer DREQ 0 is only visible to Secure channels.
Trait Implementations§
Source§impl Clone for SeccfgMisc
impl Clone for SeccfgMisc
Source§fn clone(&self) -> SeccfgMisc
fn clone(&self) -> SeccfgMisc
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more