Struct rp_pac::sio::regs::PeriNonsec
source · #[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 moresource§impl Default for PeriNonsec
impl Default for PeriNonsec
source§fn default() -> PeriNonsec
fn default() -> PeriNonsec
source§impl PartialEq for PeriNonsec
impl PartialEq for PeriNonsec
impl Copy for PeriNonsec
impl Eq for PeriNonsec
impl StructuralPartialEq for PeriNonsec
Auto Trait Implementations§
impl Freeze for PeriNonsec
impl RefUnwindSafe for PeriNonsec
impl Send for PeriNonsec
impl Sync for PeriNonsec
impl Unpin for PeriNonsec
impl UnwindSafe for PeriNonsec
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)