Struct esp32c3::ASSIST_DEBUG

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

Debug Assist

Implementations§

source§

impl ASSIST_DEBUG

source

pub const PTR: *const RegisterBlock = {0x600ce000 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 - ASSIST_DEBUG_C0RE_0_MONTR_ENA_REG

source

pub fn core_0_intr_raw(&self) -> &CORE_0_INTR_RAW

0x04 - ASSIST_DEBUG_CORE_0_INTR_RAW_REG

source

pub fn core_0_intr_ena(&self) -> &CORE_0_INTR_ENA

0x08 - ASSIST_DEBUG_CORE_0_INTR_ENA_REG

source

pub fn core_0_intr_clr(&self) -> &CORE_0_INTR_CLR

0x0c - ASSIST_DEBUG_CORE_0_INTR_CLR_REG

source

pub fn core_0_area_dram0_0_min(&self) -> &CORE_0_AREA_DRAM0_0_MIN

0x10 - ASSIST_DEBUG_CORE_0_AREA_DRAM0_0_MIN_REG

source

pub fn core_0_area_dram0_0_max(&self) -> &CORE_0_AREA_DRAM0_0_MAX

0x14 - ASSIST_DEBUG_CORE_0_AREA_DRAM0_0_MAX_REG

source

pub fn core_0_area_dram0_1_min(&self) -> &CORE_0_AREA_DRAM0_1_MIN

0x18 - ASSIST_DEBUG_CORE_0_AREA_DRAM0_1_MIN_REG

source

pub fn core_0_area_dram0_1_max(&self) -> &CORE_0_AREA_DRAM0_1_MAX

0x1c - ASSIST_DEBUG_CORE_0_AREA_DRAM0_1_MAX_REG

source

pub fn core_0_area_pif_0_min(&self) -> &CORE_0_AREA_PIF_0_MIN

0x20 - ASSIST_DEBUG_CORE_0_AREA_PIF_0_MIN_REG

source

pub fn core_0_area_pif_0_max(&self) -> &CORE_0_AREA_PIF_0_MAX

0x24 - ASSIST_DEBUG_CORE_0_AREA_PIF_0_MAX_REG

source

pub fn core_0_area_pif_1_min(&self) -> &CORE_0_AREA_PIF_1_MIN

0x28 - ASSIST_DEBUG_CORE_0_AREA_PIF_1_MIN_REG

source

pub fn core_0_area_pif_1_max(&self) -> &CORE_0_AREA_PIF_1_MAX

0x2c - ASSIST_DEBUG_CORE_0_AREA_PIF_1_MAX_REG

source

pub fn core_0_area_pc(&self) -> &CORE_0_AREA_PC

0x30 - ASSIST_DEBUG_CORE_0_AREA_PC_REG

source

pub fn core_0_area_sp(&self) -> &CORE_0_AREA_SP

0x34 - ASSIST_DEBUG_CORE_0_AREA_SP_REG

source

pub fn core_0_sp_min(&self) -> &CORE_0_SP_MIN

0x38 - ASSIST_DEBUG_CORE_0_SP_MIN_REG

source

pub fn core_0_sp_max(&self) -> &CORE_0_SP_MAX

0x3c - ASSIST_DEBUG_CORE_0_SP_MAX_REG

source

pub fn core_0_sp_pc(&self) -> &CORE_0_SP_PC

0x40 - ASSIST_DEBUG_CORE_0_SP_PC_REG

source

pub fn core_0_rcd_en(&self) -> &CORE_0_RCD_EN

0x44 - ASSIST_DEBUG_CORE_0_RCD_EN_REG

source

pub fn core_0_rcd_pdebugpc(&self) -> &CORE_0_RCD_PDEBUGPC

0x48 - ASSIST_DEBUG_CORE_0_RCD_PDEBUGPC_REG

source

pub fn core_0_rcd_pdebugsp(&self) -> &CORE_0_RCD_PDEBUGSP

0x4c - ASSIST_DEBUG_CORE_0_RCD_PDEBUGSP_REG

source

pub fn core_0_iram0_exception_monitor_0( &self ) -> &CORE_0_IRAM0_EXCEPTION_MONITOR_0

0x50 - ASSIST_DEBUG_CORE_0_RCD_PDEBUGSP_REG

source

pub fn core_0_iram0_exception_monitor_1( &self ) -> &CORE_0_IRAM0_EXCEPTION_MONITOR_1

0x54 - ASSIST_DEBUG_CORE_0_IRAM0_EXCEPTION_MONITOR_1_REG

source

pub fn core_0_dram0_exception_monitor_0( &self ) -> &CORE_0_DRAM0_EXCEPTION_MONITOR_0

0x58 - ASSIST_DEBUG_CORE_0_DRAM0_EXCEPTION_MONITOR_0_REG

source

pub fn core_0_dram0_exception_monitor_1( &self ) -> &CORE_0_DRAM0_EXCEPTION_MONITOR_1

0x5c - ASSIST_DEBUG_CORE_0_DRAM0_EXCEPTION_MONITOR_1_REG

source

pub fn core_0_dram0_exception_monitor_2( &self ) -> &CORE_0_DRAM0_EXCEPTION_MONITOR_2

0x60 - ASSIST_DEBUG_CORE_0_DRAM0_EXCEPTION_MONITOR_1_REG

source

pub fn core_0_dram0_exception_monitor_3( &self ) -> &CORE_0_DRAM0_EXCEPTION_MONITOR_3

0x64 - ASSIST_DEBUG_CORE_0_DRAM0_EXCEPTION_MONITOR_3_REG

source

pub fn core_x_iram0_dram0_exception_monitor_0( &self ) -> &CORE_X_IRAM0_DRAM0_EXCEPTION_MONITOR_0

0x68 - ASSIST_DEBUG_CORE_X_IRAM0_DRAM0_EXCEPTION_MONITOR_0_REG

source

pub fn core_x_iram0_dram0_exception_monitor_1( &self ) -> &CORE_X_IRAM0_DRAM0_EXCEPTION_MONITOR_1

0x6c - ASSIST_DEBUG_CORE_X_IRAM0_DRAM0_EXCEPTION_MONITOR_1_REG

source

pub fn log_setting(&self) -> &LOG_SETTING

0x70 - ASSIST_DEBUG_LOG_SETTING

source

pub fn log_data_0(&self) -> &LOG_DATA_0

0x74 - ASSIST_DEBUG_LOG_DATA_0_REG

source

pub fn log_data_mask(&self) -> &LOG_DATA_MASK

0x78 - ASSIST_DEBUG_LOG_DATA_MASK_REG

source

pub fn log_min(&self) -> &LOG_MIN

0x7c - ASSIST_DEBUG_LOG_MIN_REG

source

pub fn log_max(&self) -> &LOG_MAX

0x80 - ASSIST_DEBUG_LOG_MAX_REG

source

pub fn log_mem_start(&self) -> &LOG_MEM_START

0x84 - ASSIST_DEBUG_LOG_MEM_START_REG

source

pub fn log_mem_end(&self) -> &LOG_MEM_END

0x88 - ASSIST_DEBUG_LOG_MEM_END_REG

source

pub fn log_mem_writing_addr(&self) -> &LOG_MEM_WRITING_ADDR

0x8c - ASSIST_DEBUG_LOG_MEM_WRITING_ADDR_REG

source

pub fn log_mem_full_flag(&self) -> &LOG_MEM_FULL_FLAG

0x90 - ASSIST_DEBUG_LOG_MEM_FULL_FLAG_REG

source

pub fn c0re_0_lastpc_before_exception(&self) -> &C0RE_0_LASTPC_BEFORE_EXCEPTION

0x94 - ASSIST_DEBUG_C0RE_0_LASTPC_BEFORE_EXCEPTION

source

pub fn c0re_0_debug_mode(&self) -> &C0RE_0_DEBUG_MODE

0x98 - ASSIST_DEBUG_C0RE_0_DEBUG_MODE

source

pub fn date(&self) -> &DATE

0x1fc - ASSIST_DEBUG_DATE_REG

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.