pub struct SOC_ETM { /* private fields */ }
Expand description
Event Task Matrix
Implementations§
Source§impl SOC_ETM
impl SOC_ETM
Sourcepub const PTR: *const RegisterBlock = {0x60013000 as *const soc_etm::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x60013000 as *const soc_etm::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 ch_ena_ad0(&self) -> &CH_ENA_AD0
pub fn ch_ena_ad0(&self) -> &CH_ENA_AD0
0x00 - channel enable register
Sourcepub fn ch_ena_ad0_set(&self) -> &CH_ENA_AD0_SET
pub fn ch_ena_ad0_set(&self) -> &CH_ENA_AD0_SET
0x04 - channel enable set register
Sourcepub fn ch_ena_ad0_clr(&self) -> &CH_ENA_AD0_CLR
pub fn ch_ena_ad0_clr(&self) -> &CH_ENA_AD0_CLR
0x08 - channel enable clear register
Sourcepub fn ch_ena_ad1(&self) -> &CH_ENA_AD1
pub fn ch_ena_ad1(&self) -> &CH_ENA_AD1
0x0c - channel enable register
Sourcepub fn ch_ena_ad1_set(&self) -> &CH_ENA_AD1_SET
pub fn ch_ena_ad1_set(&self) -> &CH_ENA_AD1_SET
0x10 - channel enable set register
Sourcepub fn ch_ena_ad1_clr(&self) -> &CH_ENA_AD1_CLR
pub fn ch_ena_ad1_clr(&self) -> &CH_ENA_AD1_CLR
0x14 - channel enable clear register
Sourcepub fn ch(&self, n: usize) -> &CH
pub fn ch(&self, n: usize) -> &CH
0x18..0x1a8 - Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID