Struct esp32c6::trace::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn mem_start_addr(&self) -> &MEM_START_ADDR

0x00 - mem start addr

source

pub const fn mem_end_addr(&self) -> &MEM_END_ADDR

0x04 - mem end addr

source

pub const fn mem_current_addr(&self) -> &MEM_CURRENT_ADDR

0x08 - mem current addr

source

pub const fn mem_addr_update(&self) -> &MEM_ADDR_UPDATE

0x0c - mem addr update

source

pub const fn fifo_status(&self) -> &FIFO_STATUS

0x10 - fifo status register

source

pub const fn intr_ena(&self) -> &INTR_ENA

0x14 - interrupt enable register

source

pub const fn intr_raw(&self) -> &INTR_RAW

0x18 - interrupt status register

source

pub const fn intr_clr(&self) -> &INTR_CLR

0x1c - interrupt clear register

source

pub const fn trigger(&self) -> &TRIGGER

0x20 - trigger register

source

pub const fn resync_prolonged(&self) -> &RESYNC_PROLONGED

0x24 - resync configuration register

source

pub const fn clock_gate(&self) -> &CLOCK_GATE

0x28 - Clock gate control register

source

pub const fn date(&self) -> &DATE

0x3fc - Version control register

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.