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
sourcepub const fn proc0_dap_instid(&self) -> u8
pub const fn proc0_dap_instid(&self) -> u8
Configure proc0 DAP instance ID. Recommend that this is NOT changed until you require debug access in multi-chip environment WARNING: do not set to 15 as this is reserved for RescueDP
sourcepub fn set_proc0_dap_instid(&mut self, val: u8)
pub fn set_proc0_dap_instid(&mut self, val: u8)
Configure proc0 DAP instance ID. Recommend that this is NOT changed until you require debug access in multi-chip environment WARNING: do not set to 15 as this is reserved for RescueDP
sourcepub const fn proc1_dap_instid(&self) -> u8
pub const fn proc1_dap_instid(&self) -> u8
Configure proc1 DAP instance ID. Recommend that this is NOT changed until you require debug access in multi-chip environment WARNING: do not set to 15 as this is reserved for RescueDP
sourcepub fn set_proc1_dap_instid(&mut self, val: u8)
pub fn set_proc1_dap_instid(&mut self, val: u8)
Configure proc1 DAP instance ID. Recommend that this is NOT changed until you require debug access in multi-chip environment WARNING: do not set to 15 as this is reserved for RescueDP
Trait Implementations§
source§impl Clone for ProcConfig
impl Clone for ProcConfig
source§fn clone(&self) -> ProcConfig
fn clone(&self) -> ProcConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ProcConfig
impl Default for ProcConfig
source§fn default() -> ProcConfig
fn default() -> ProcConfig
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
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
)