Struct esp32c6::ASSIST_DEBUG

source ·
pub struct ASSIST_DEBUG { /* private fields */ }
Expand description

Debug Assist

Implementations§

source§

impl ASSIST_DEBUG

source

pub const PTR: *const RegisterBlock = {0x600c2000 as *const assist_debug::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

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>§

source

pub fn core_0_montr_ena(&self) -> &CORE_0_MONTR_ENA

0x00 - core0 monitor enable configuration register

source

pub fn core_0_intr_raw(&self) -> &CORE_0_INTR_RAW

0x04 - core0 monitor interrupt status register

source

pub fn core_0_intr_ena(&self) -> &CORE_0_INTR_ENA

0x08 - core0 monitor interrupt enable register

source

pub fn core_0_intr_clr(&self) -> &CORE_0_INTR_CLR

0x0c - core0 monitor interrupt clr register

source

pub fn core_0_area_dram0_0_min(&self) -> &CORE_0_AREA_DRAM0_0_MIN

0x10 - core0 dram0 region0 addr configuration register

source

pub fn core_0_area_dram0_0_max(&self) -> &CORE_0_AREA_DRAM0_0_MAX

0x14 - core0 dram0 region0 addr configuration register

source

pub fn core_0_area_dram0_1_min(&self) -> &CORE_0_AREA_DRAM0_1_MIN

0x18 - core0 dram0 region1 addr configuration register

source

pub fn core_0_area_dram0_1_max(&self) -> &CORE_0_AREA_DRAM0_1_MAX

0x1c - core0 dram0 region1 addr configuration register

source

pub fn core_0_area_pif_0_min(&self) -> &CORE_0_AREA_PIF_0_MIN

0x20 - core0 PIF region0 addr configuration register

source

pub fn core_0_area_pif_0_max(&self) -> &CORE_0_AREA_PIF_0_MAX

0x24 - core0 PIF region0 addr configuration register

source

pub fn core_0_area_pif_1_min(&self) -> &CORE_0_AREA_PIF_1_MIN

0x28 - core0 PIF region1 addr configuration register

source

pub fn core_0_area_pif_1_max(&self) -> &CORE_0_AREA_PIF_1_MAX

0x2c - core0 PIF region1 addr configuration register

source

pub fn core_0_area_pc(&self) -> &CORE_0_AREA_PC

0x30 - core0 area pc status register

source

pub fn core_0_area_sp(&self) -> &CORE_0_AREA_SP

0x34 - core0 area sp status register

source

pub fn core_0_sp_min(&self) -> &CORE_0_SP_MIN

0x38 - stack min value

source

pub fn core_0_sp_max(&self) -> &CORE_0_SP_MAX

0x3c - stack max value

source

pub fn core_0_sp_pc(&self) -> &CORE_0_SP_PC

0x40 - stack monitor pc status register

source

pub fn core_0_rcd_en(&self) -> &CORE_0_RCD_EN

0x44 - record enable configuration register

source

pub fn core_0_rcd_pdebugpc(&self) -> &CORE_0_RCD_PDEBUGPC

0x48 - record status regsiter

source

pub fn core_0_rcd_pdebugsp(&self) -> &CORE_0_RCD_PDEBUGSP

0x4c - record status regsiter

source

pub fn core_0_iram0_exception_monitor_0( &self ) -> &CORE_0_IRAM0_EXCEPTION_MONITOR_0

0x50 - exception monitor status register0

source

pub fn core_0_iram0_exception_monitor_1( &self ) -> &CORE_0_IRAM0_EXCEPTION_MONITOR_1

0x54 - exception monitor status register1

source

pub fn core_0_dram0_exception_monitor_0( &self ) -> &CORE_0_DRAM0_EXCEPTION_MONITOR_0

0x58 - exception monitor status register2

source

pub fn core_0_dram0_exception_monitor_1( &self ) -> &CORE_0_DRAM0_EXCEPTION_MONITOR_1

0x5c - exception monitor status register3

source

pub fn core_0_dram0_exception_monitor_2( &self ) -> &CORE_0_DRAM0_EXCEPTION_MONITOR_2

0x60 - exception monitor status register4

source

pub fn core_0_dram0_exception_monitor_3( &self ) -> &CORE_0_DRAM0_EXCEPTION_MONITOR_3

0x64 - exception monitor status register5

source

pub fn core_x_iram0_dram0_exception_monitor_0( &self ) -> &CORE_X_IRAM0_DRAM0_EXCEPTION_MONITOR_0

0x68 - exception monitor status register6

source

pub fn core_x_iram0_dram0_exception_monitor_1( &self ) -> &CORE_X_IRAM0_DRAM0_EXCEPTION_MONITOR_1

0x6c - exception monitor status register7

source

pub fn c0re_0_lastpc_before_exception(&self) -> &C0RE_0_LASTPC_BEFORE_EXCEPTION

0x70 - cpu status register

source

pub fn c0re_0_debug_mode(&self) -> &C0RE_0_DEBUG_MODE

0x74 - cpu status register

source

pub fn clock_gate(&self) -> &CLOCK_GATE

0x78 - clock register

source

pub fn date(&self) -> &DATE

0x3fc - version register

Trait Implementations§

source§

impl Debug for ASSIST_DEBUG

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ASSIST_DEBUG

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for ASSIST_DEBUG

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.