#[repr(transparent)]pub struct PeriNonsec(pub u32);
Expand description
Detach certain core-local peripherals from Secure SIO, and attach them to Non-secure SIO, so that Non-secure software can use them. Attempting to access one of these peripherals from the Secure SIO when it is attached to the Non-secure SIO, or vice versa, will generate a bus error. This register is per-core, and is only present on the Secure SIO. Most SIO hardware is duplicated across the Secure and Non-secure SIO, so is not listed in this register.
Tuple Fields§
§0: u32
Implementations§
Source§impl PeriNonsec
impl PeriNonsec
Sourcepub const fn interp0(&self) -> bool
pub const fn interp0(&self) -> bool
If 1, detach interpolator 0 (of this core) from the Secure SIO, and attach to the Non-secure SIO.
Sourcepub fn set_interp0(&mut self, val: bool)
pub fn set_interp0(&mut self, val: bool)
If 1, detach interpolator 0 (of this core) from the Secure SIO, and attach to the Non-secure SIO.
Sourcepub const fn interp1(&self) -> bool
pub const fn interp1(&self) -> bool
If 1, detach interpolator 1 (of this core) from the Secure SIO, and attach to the Non-secure SIO.
Sourcepub fn set_interp1(&mut self, val: bool)
pub fn set_interp1(&mut self, val: bool)
If 1, detach interpolator 1 (of this core) from the Secure SIO, and attach to the Non-secure SIO.
Trait Implementations§
Source§impl Clone for PeriNonsec
impl Clone for PeriNonsec
Source§fn clone(&self) -> PeriNonsec
fn clone(&self) -> PeriNonsec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more