pub struct Probe { /* private fields */ }Expand description
PROBE Registers
Implementations§
source§impl Probe
impl Probe
sourcepub const PTR: *const RegisterBlock = {0xffa86000 as *const probe::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xffa86000 as *const probe::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn probe_id_core_id(&self) -> &ProbeIdCoreId
pub fn probe_id_core_id(&self) -> &ProbeIdCoreId
0x00 - Core ID register
sourcepub fn probe_id_revision_id(&self) -> &ProbeIdRevisionId
pub fn probe_id_revision_id(&self) -> &ProbeIdRevisionId
0x04 - Revision ID register
sourcepub fn probe_main_ctl(&self) -> &ProbeMainCtl
pub fn probe_main_ctl(&self) -> &ProbeMainCtl
0x08 - Register MainCtl contains probe global control bits.
sourcepub fn probe_cfg_ctl(&self) -> &ProbeCfgCtl
pub fn probe_cfg_ctl(&self) -> &ProbeCfgCtl
0x0c - Register CfgCtl contains global enable and active bits.
sourcepub fn probe_stat_period(&self) -> &ProbeStatPeriod
pub fn probe_stat_period(&self) -> &ProbeStatPeriod
0x24 - Statistics Period
sourcepub fn probe_stat_go(&self) -> &ProbeStatGo
pub fn probe_stat_go(&self) -> &ProbeStatGo
0x28 - Statistics start to dump
sourcepub fn probe_counters_0_src(&self) -> &ProbeCounters0Src
pub fn probe_counters_0_src(&self) -> &ProbeCounters0Src
0x138 - Register CntSrc indicates the event source.
sourcepub fn probe_counters_0_val(&self) -> &ProbeCounters0Val
pub fn probe_counters_0_val(&self) -> &ProbeCounters0Val
0x13c - Registers Counters_M_Val contain the statistics counter values.
sourcepub fn probe_counters_1_src(&self) -> &ProbeCounters1Src
pub fn probe_counters_1_src(&self) -> &ProbeCounters1Src
0x14c - Register CntSrc indicates the event source.
sourcepub fn probe_counters_1_val(&self) -> &ProbeCounters1Val
pub fn probe_counters_1_val(&self) -> &ProbeCounters1Val
0x150 - Registers Counters_M_Val contain the statistics counter values.
sourcepub fn probe_counters_2_src(&self) -> &ProbeCounters2Src
pub fn probe_counters_2_src(&self) -> &ProbeCounters2Src
0x160 - Register CntSrc indicates the event source.
sourcepub fn probe_counters_2_val(&self) -> &ProbeCounters2Val
pub fn probe_counters_2_val(&self) -> &ProbeCounters2Val
0x164 - Registers Counters_M_Val contain the statistics counter values.
sourcepub fn probe_counters_3_src(&self) -> &ProbeCounters3Src
pub fn probe_counters_3_src(&self) -> &ProbeCounters3Src
0x174 - Register CntSrc indicates the event source.
sourcepub fn probe_counters_3_val(&self) -> &ProbeCounters3Val
pub fn probe_counters_3_val(&self) -> &ProbeCounters3Val
0x178 - Registers Counters_M_Val contain the statistics counter values.