pub struct TRACE0 { /* 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 = <TRACE as Deref>::Target>§
pub const PTR: *const RegisterBlock = {0x600c0000 as *const esp32c6::trace::RegisterBlock}
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn mem_start_addr(&self) -> &Reg<MEM_START_ADDR_SPEC>
pub fn mem_start_addr(&self) -> &Reg<MEM_START_ADDR_SPEC>
0x00 - mem start addr
Sourcepub fn mem_end_addr(&self) -> &Reg<MEM_END_ADDR_SPEC>
pub fn mem_end_addr(&self) -> &Reg<MEM_END_ADDR_SPEC>
0x04 - mem end addr
Sourcepub fn mem_current_addr(&self) -> &Reg<MEM_CURRENT_ADDR_SPEC>
pub fn mem_current_addr(&self) -> &Reg<MEM_CURRENT_ADDR_SPEC>
0x08 - mem current addr
Sourcepub fn mem_addr_update(&self) -> &Reg<MEM_ADDR_UPDATE_SPEC>
pub fn mem_addr_update(&self) -> &Reg<MEM_ADDR_UPDATE_SPEC>
0x0c - mem addr update
Sourcepub fn fifo_status(&self) -> &Reg<FIFO_STATUS_SPEC>
pub fn fifo_status(&self) -> &Reg<FIFO_STATUS_SPEC>
0x10 - fifo status register
Sourcepub fn intr_ena(&self) -> &Reg<INTR_ENA_SPEC>
pub fn intr_ena(&self) -> &Reg<INTR_ENA_SPEC>
0x14 - interrupt enable register
Sourcepub fn intr_raw(&self) -> &Reg<INTR_RAW_SPEC>
pub fn intr_raw(&self) -> &Reg<INTR_RAW_SPEC>
0x18 - interrupt status register
Sourcepub fn intr_clr(&self) -> &Reg<INTR_CLR_SPEC>
pub fn intr_clr(&self) -> &Reg<INTR_CLR_SPEC>
0x1c - interrupt clear register
Sourcepub fn trigger(&self) -> &Reg<TRIGGER_SPEC>
pub fn trigger(&self) -> &Reg<TRIGGER_SPEC>
0x20 - trigger register
Sourcepub fn resync_prolonged(&self) -> &Reg<RESYNC_PROLONGED_SPEC>
pub fn resync_prolonged(&self) -> &Reg<RESYNC_PROLONGED_SPEC>
0x24 - resync configuration register
Sourcepub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>
pub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>
0x28 - Clock gate control register
Trait Implementations§
Source§impl Instance for TRACE0
impl Instance for TRACE0
Source§fn register_block(&self) -> &RegisterBlock
fn register_block(&self) -> &RegisterBlock
Get a reference to the peripheral’s underlying register block
Source§impl Peripheral for TRACE0
impl Peripheral for TRACE0
Auto Trait Implementations§
impl Freeze for TRACE0
impl RefUnwindSafe for TRACE0
impl Send for TRACE0
impl Sync for TRACE0
impl Unpin for TRACE0
impl UnwindSafe for TRACE0
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