Struct rk3399_pac::ProbeCciMsch1
source · pub struct ProbeCciMsch1 { /* private fields */ }
Expand description
Registers for the probe covering paths from the CCI_M1 to the memory schedule 1
Implementations§
source§impl ProbeCciMsch1
impl ProbeCciMsch1
sourcepub const PTR: *const RegisterBlock = {0xffa8e000 as *const probe::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xffa8e000 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 id_core_id(&self) -> &IdCoreId
pub fn id_core_id(&self) -> &IdCoreId
0x00 - Core ID register
sourcepub fn id_revision_id(&self) -> &IdRevisionId
pub fn id_revision_id(&self) -> &IdRevisionId
0x04 - Revision ID register
sourcepub fn cfg_ctl(&self) -> &CfgCtl
pub fn cfg_ctl(&self) -> &CfgCtl
0x0c - Register CfgCtl contains global enable and active bits.
sourcepub fn stat_period(&self) -> &StatPeriod
pub fn stat_period(&self) -> &StatPeriod
0x24 - Statistics Period
sourcepub fn counters_0_src(&self) -> &Counters0Src
pub fn counters_0_src(&self) -> &Counters0Src
0x138 - Register CntSrc indicates the event source.
sourcepub fn counters_0_val(&self) -> &Counters0Val
pub fn counters_0_val(&self) -> &Counters0Val
0x13c - Registers Counters_M_Val contain the statistics counter values.
sourcepub fn counters_1_src(&self) -> &Counters1Src
pub fn counters_1_src(&self) -> &Counters1Src
0x14c - Register CntSrc indicates the event source.
sourcepub fn counters_1_val(&self) -> &Counters1Val
pub fn counters_1_val(&self) -> &Counters1Val
0x150 - Registers Counters_M_Val contain the statistics counter values.
sourcepub fn counters_2_src(&self) -> &Counters2Src
pub fn counters_2_src(&self) -> &Counters2Src
0x160 - Register CntSrc indicates the event source.
sourcepub fn counters_2_val(&self) -> &Counters2Val
pub fn counters_2_val(&self) -> &Counters2Val
0x164 - Registers Counters_M_Val contain the statistics counter values.
sourcepub fn counters_3_src(&self) -> &Counters3Src
pub fn counters_3_src(&self) -> &Counters3Src
0x174 - Register CntSrc indicates the event source.
sourcepub fn counters_3_val(&self) -> &Counters3Val
pub fn counters_3_val(&self) -> &Counters3Val
0x178 - Registers Counters_M_Val contain the statistics counter values.