#[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 more