Struct esp32c6_hal::peripherals::TRACE
source · pub struct TRACE { /* private fields */ }
Implementations§
source§impl TRACE
impl TRACE
sourcepub unsafe fn steal() -> TRACE
pub unsafe fn steal() -> TRACE
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
pub 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
pub 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
pub 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
pub 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
pub fn fifo_status(&self) -> &Reg<FIFO_STATUS_SPEC>
pub fn fifo_status(&self) -> &Reg<FIFO_STATUS_SPEC>
0x10 - fifo status register
pub fn intr_ena(&self) -> &Reg<INTR_ENA_SPEC>
pub fn intr_ena(&self) -> &Reg<INTR_ENA_SPEC>
0x14 - interrupt enable register
pub fn intr_raw(&self) -> &Reg<INTR_RAW_SPEC>
pub fn intr_raw(&self) -> &Reg<INTR_RAW_SPEC>
0x18 - interrupt status register
pub fn intr_clr(&self) -> &Reg<INTR_CLR_SPEC>
pub fn intr_clr(&self) -> &Reg<INTR_CLR_SPEC>
0x1c - interrupt clear register
pub fn trigger(&self) -> &Reg<TRIGGER_SPEC>
pub fn trigger(&self) -> &Reg<TRIGGER_SPEC>
0x20 - trigger register
pub fn resync_prolonged(&self) -> &Reg<RESYNC_PROLONGED_SPEC>
pub fn resync_prolonged(&self) -> &Reg<RESYNC_PROLONGED_SPEC>
0x24 - resync configuration register
pub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>
pub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>
0x28 - Clock gate control register
pub fn date(&self) -> &Reg<DATE_SPEC>
pub fn date(&self) -> &Reg<DATE_SPEC>
0x3fc - Version control register
Trait Implementations§
source§impl Peripheral for TRACE
impl Peripheral for TRACE
Auto Trait Implementations§
impl RefUnwindSafe for TRACE
impl Send for TRACE
impl Sync for TRACE
impl Unpin for TRACE
impl UnwindSafe for TRACE
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