Struct rp_pac::syscfg::regs::ProcConfig
source · #[repr(transparent)]pub struct ProcConfig(pub u32);
Expand description
Configuration for processors
Tuple Fields§
§0: u32
Implementations§
source§impl ProcConfig
impl ProcConfig
sourcepub const fn proc0_halted(&self) -> bool
pub const fn proc0_halted(&self) -> bool
Indication that proc0 has halted
sourcepub fn set_proc0_halted(&mut self, val: bool)
pub fn set_proc0_halted(&mut self, val: bool)
Indication that proc0 has halted
sourcepub const fn proc1_halted(&self) -> bool
pub const fn proc1_halted(&self) -> bool
Indication that proc1 has halted
sourcepub fn set_proc1_halted(&mut self, val: bool)
pub fn set_proc1_halted(&mut self, val: bool)
Indication that proc1 has halted
Trait Implementations§
source§impl Clone for ProcConfig
impl Clone for ProcConfig
source§fn clone(&self) -> ProcConfig
fn clone(&self) -> ProcConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ProcConfig
impl Default for ProcConfig
source§fn default() -> ProcConfig
fn default() -> ProcConfig
Returns the “default value” for a type. Read more
source§impl PartialEq for ProcConfig
impl PartialEq for ProcConfig
impl Copy for ProcConfig
impl Eq for ProcConfig
impl StructuralPartialEq for ProcConfig
Auto Trait Implementations§
impl Freeze for ProcConfig
impl RefUnwindSafe for ProcConfig
impl Send for ProcConfig
impl Sync for ProcConfig
impl Unpin for ProcConfig
impl UnwindSafe for ProcConfig
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)