pub struct SOC_ETM { /* private fields */ }Expand description
Represents a virtual peripheral with no associated hardware.
This struct is generated by the create_peripheral! macro when the peripheral
is defined as virtual.
Implementations§
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn ch_ena_ad0(&self) -> &Reg<CH_ENA_AD0_SPEC>
pub fn ch_ena_ad0(&self) -> &Reg<CH_ENA_AD0_SPEC>
0x00 - channel enable register
Sourcepub fn ch_ena_ad0_set(&self) -> &Reg<CH_ENA_AD0_SET_SPEC>
pub fn ch_ena_ad0_set(&self) -> &Reg<CH_ENA_AD0_SET_SPEC>
0x04 - channel enable set register
Sourcepub fn ch_ena_ad0_clr(&self) -> &Reg<CH_ENA_AD0_CLR_SPEC>
pub fn ch_ena_ad0_clr(&self) -> &Reg<CH_ENA_AD0_CLR_SPEC>
0x08 - channel enable clear register
Sourcepub fn ch_ena_ad1(&self) -> &Reg<CH_ENA_AD1_SPEC>
pub fn ch_ena_ad1(&self) -> &Reg<CH_ENA_AD1_SPEC>
0x0c - channel enable register
Sourcepub fn ch_ena_ad1_set(&self) -> &Reg<CH_ENA_AD1_SET_SPEC>
pub fn ch_ena_ad1_set(&self) -> &Reg<CH_ENA_AD1_SET_SPEC>
0x10 - channel enable set register
Sourcepub fn ch_ena_ad1_clr(&self) -> &Reg<CH_ENA_AD1_CLR_SPEC>
pub fn ch_ena_ad1_clr(&self) -> &Reg<CH_ENA_AD1_CLR_SPEC>
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
Sourcepub fn ch_iter(&self) -> impl Iterator<Item = &CH>
pub fn ch_iter(&self) -> impl Iterator<Item = &CH>
Iterator for array of: 0x18..0x1a8 - Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID
Sourcepub fn clk_en(&self) -> &Reg<CLK_EN_SPEC>
pub fn clk_en(&self) -> &Reg<CLK_EN_SPEC>
0x1a8 - etm clock enable register
Trait Implementations§
Source§impl Peripheral for SOC_ETM
impl Peripheral for SOC_ETM
Auto Trait Implementations§
impl Freeze for SOC_ETM
impl RefUnwindSafe for SOC_ETM
impl Send for SOC_ETM
impl Sync for SOC_ETM
impl Unpin for SOC_ETM
impl UnwindSafe for SOC_ETM
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more