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<ProcConfig> for ProcConfig
impl PartialEq<ProcConfig> for ProcConfig
source§fn eq(&self, other: &ProcConfig) -> bool
fn eq(&self, other: &ProcConfig) -> bool
self
and other
values to be equal, and is used
by ==
.