Struct esp32s2::EXTMEM

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

External Memory

Implementations§

source§

impl EXTMEM

source

pub const PTR: *const RegisterBlock = {0x61800000 as *const extmem::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 pro_dcache_ctrl(&self) -> &PRO_DCACHE_CTRL

0x00 - register description

source

pub fn pro_dcache_ctrl1(&self) -> &PRO_DCACHE_CTRL1

0x04 - register description

source

pub fn pro_dcache_tag_power_ctrl(&self) -> &PRO_DCACHE_TAG_POWER_CTRL

0x08 - register description

source

pub fn pro_dcache_lock0_addr(&self) -> &PRO_DCACHE_LOCK0_ADDR

0x0c - register description

source

pub fn pro_dcache_lock0_size(&self) -> &PRO_DCACHE_LOCK0_SIZE

0x10 - register description

source

pub fn pro_dcache_lock1_addr(&self) -> &PRO_DCACHE_LOCK1_ADDR

0x14 - register description

source

pub fn pro_dcache_lock1_size(&self) -> &PRO_DCACHE_LOCK1_SIZE

0x18 - register description

source

pub fn pro_dcache_mem_sync0(&self) -> &PRO_DCACHE_MEM_SYNC0

0x1c - register description

source

pub fn pro_dcache_mem_sync1(&self) -> &PRO_DCACHE_MEM_SYNC1

0x20 - register description

source

pub fn pro_dcache_preload_addr(&self) -> &PRO_DCACHE_PRELOAD_ADDR

0x24 - register description

source

pub fn pro_dcache_preload_size(&self) -> &PRO_DCACHE_PRELOAD_SIZE

0x28 - register description

source

pub fn pro_dcache_autoload_cfg(&self) -> &PRO_DCACHE_AUTOLOAD_CFG

0x2c - register description

source

pub fn pro_dcache_autoload_section0_addr( &self ) -> &PRO_DCACHE_AUTOLOAD_SECTION0_ADDR

0x30 - register description

source

pub fn pro_dcache_autoload_section0_size( &self ) -> &PRO_DCACHE_AUTOLOAD_SECTION0_SIZE

0x34 - register description

source

pub fn pro_dcache_autoload_section1_addr( &self ) -> &PRO_DCACHE_AUTOLOAD_SECTION1_ADDR

0x38 - register description

source

pub fn pro_dcache_autoload_section1_size( &self ) -> &PRO_DCACHE_AUTOLOAD_SECTION1_SIZE

0x3c - register description

source

pub fn pro_icache_ctrl(&self) -> &PRO_ICACHE_CTRL

0x40 - register description

source

pub fn pro_icache_ctrl1(&self) -> &PRO_ICACHE_CTRL1

0x44 - register description

source

pub fn pro_icache_tag_power_ctrl(&self) -> &PRO_ICACHE_TAG_POWER_CTRL

0x48 - register description

source

pub fn pro_icache_lock0_addr(&self) -> &PRO_ICACHE_LOCK0_ADDR

0x4c - register description

source

pub fn pro_icache_lock0_size(&self) -> &PRO_ICACHE_LOCK0_SIZE

0x50 - register description

source

pub fn pro_icache_lock1_addr(&self) -> &PRO_ICACHE_LOCK1_ADDR

0x54 - register description

source

pub fn pro_icache_lock1_size(&self) -> &PRO_ICACHE_LOCK1_SIZE

0x58 - register description

source

pub fn pro_icache_mem_sync0(&self) -> &PRO_ICACHE_MEM_SYNC0

0x5c - register description

source

pub fn pro_icache_mem_sync1(&self) -> &PRO_ICACHE_MEM_SYNC1

0x60 - register description

source

pub fn pro_icache_preload_addr(&self) -> &PRO_ICACHE_PRELOAD_ADDR

0x64 - register description

source

pub fn pro_icache_preload_size(&self) -> &PRO_ICACHE_PRELOAD_SIZE

0x68 - register description

source

pub fn pro_icache_autoload_cfg(&self) -> &PRO_ICACHE_AUTOLOAD_CFG

0x6c - register description

source

pub fn pro_icache_autoload_section0_addr( &self ) -> &PRO_ICACHE_AUTOLOAD_SECTION0_ADDR

0x70 - register description

source

pub fn pro_icache_autoload_section0_size( &self ) -> &PRO_ICACHE_AUTOLOAD_SECTION0_SIZE

0x74 - register description

source

pub fn pro_icache_autoload_section1_addr( &self ) -> &PRO_ICACHE_AUTOLOAD_SECTION1_ADDR

0x78 - register description

source

pub fn pro_icache_autoload_section1_size( &self ) -> &PRO_ICACHE_AUTOLOAD_SECTION1_SIZE

0x7c - register description

source

pub fn ic_preload_cnt(&self) -> &IC_PRELOAD_CNT

0x80 - register description

source

pub fn ic_preload_miss_cnt(&self) -> &IC_PRELOAD_MISS_CNT

0x84 - register description

source

pub fn ibus2_abandon_cnt(&self) -> &IBUS2_ABANDON_CNT

0x88 - register description

source

pub fn ibus1_abandon_cnt(&self) -> &IBUS1_ABANDON_CNT

0x8c - register description

source

pub fn ibus0_abandon_cnt(&self) -> &IBUS0_ABANDON_CNT

0x90 - register description

source

pub fn ibus2_acs_miss_cnt(&self) -> &IBUS2_ACS_MISS_CNT

0x94 - register description

source

pub fn ibus1_acs_miss_cnt(&self) -> &IBUS1_ACS_MISS_CNT

0x98 - register description

source

pub fn ibus0_acs_miss_cnt(&self) -> &IBUS0_ACS_MISS_CNT

0x9c - register description

source

pub fn ibus2_acs_cnt(&self) -> &IBUS2_ACS_CNT

0xa0 - register description

source

pub fn ibus1_acs_cnt(&self) -> &IBUS1_ACS_CNT

0xa4 - register description

source

pub fn ibus0_acs_cnt(&self) -> &IBUS0_ACS_CNT

0xa8 - register description

source

pub fn dc_preload_cnt(&self) -> &DC_PRELOAD_CNT

0xac - register description

source

pub fn dc_preload_evict_cnt(&self) -> &DC_PRELOAD_EVICT_CNT

0xb0 - register description

source

pub fn dc_preload_miss_cnt(&self) -> &DC_PRELOAD_MISS_CNT

0xb4 - register description

source

pub fn dbus2_abandon_cnt(&self) -> &DBUS2_ABANDON_CNT

0xb8 - register description

source

pub fn dbus1_abandon_cnt(&self) -> &DBUS1_ABANDON_CNT

0xbc - register description

source

pub fn dbus0_abandon_cnt(&self) -> &DBUS0_ABANDON_CNT

0xc0 - register description

source

pub fn dbus2_acs_wb_cnt(&self) -> &DBUS2_ACS_WB_CNT

0xc4 - register description

source

pub fn dbus1_acs_wb_cnt(&self) -> &DBUS1_ACS_WB_CNT

0xc8 - register description

source

pub fn dbus0_acs_wb_cnt(&self) -> &DBUS0_ACS_WB_CNT

0xcc - register description

source

pub fn dbus2_acs_miss_cnt(&self) -> &DBUS2_ACS_MISS_CNT

0xd0 - register description

source

pub fn dbus1_acs_miss_cnt(&self) -> &DBUS1_ACS_MISS_CNT

0xd4 - register description

source

pub fn dbus0_acs_miss_cnt(&self) -> &DBUS0_ACS_MISS_CNT

0xd8 - register description

source

pub fn dbus2_acs_cnt(&self) -> &DBUS2_ACS_CNT

0xdc - register description

source

pub fn dbus1_acs_cnt(&self) -> &DBUS1_ACS_CNT

0xe0 - register description

source

pub fn dbus0_acs_cnt(&self) -> &DBUS0_ACS_CNT

0xe4 - register description

source

pub fn cache_dbg_int_ena(&self) -> &CACHE_DBG_INT_ENA

0xe8 - register description

source

pub fn cache_dbg_int_clr(&self) -> &CACHE_DBG_INT_CLR

0xec - register description

source

pub fn cache_dbg_status0(&self) -> &CACHE_DBG_STATUS0

0xf0 - register description

source

pub fn cache_dbg_status1(&self) -> &CACHE_DBG_STATUS1

0xf4 - register description

source

pub fn pro_cache_acs_cnt_clr(&self) -> &PRO_CACHE_ACS_CNT_CLR

0xf8 - register description

source

pub fn pro_dcache_reject_st(&self) -> &PRO_DCACHE_REJECT_ST

0xfc - register description

source

pub fn pro_dcache_reject_vaddr(&self) -> &PRO_DCACHE_REJECT_VADDR

0x100 - register description

source

pub fn pro_icache_reject_st(&self) -> &PRO_ICACHE_REJECT_ST

0x104 - register description

source

pub fn pro_icache_reject_vaddr(&self) -> &PRO_ICACHE_REJECT_VADDR

0x108 - register description

source

pub fn pro_cache_mmu_fault_content(&self) -> &PRO_CACHE_MMU_FAULT_CONTENT

0x10c - register description

source

pub fn pro_cache_mmu_fault_vaddr(&self) -> &PRO_CACHE_MMU_FAULT_VADDR

0x110 - register description

source

pub fn pro_cache_wrap_around_ctrl(&self) -> &PRO_CACHE_WRAP_AROUND_CTRL

0x114 - register description

source

pub fn pro_cache_mmu_power_ctrl(&self) -> &PRO_CACHE_MMU_POWER_CTRL

0x118 - register description

source

pub fn pro_cache_state(&self) -> &PRO_CACHE_STATE

0x11c - register description

source

pub fn cache_encrypt_decrypt_record_disable( &self ) -> &CACHE_ENCRYPT_DECRYPT_RECORD_DISABLE

0x120 - register description

source

pub fn cache_encrypt_decrypt_clk_force_on( &self ) -> &CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON

0x124 - register description

source

pub fn cache_bridge_arbiter_ctrl(&self) -> &CACHE_BRIDGE_ARBITER_CTRL

0x128 - register description

source

pub fn cache_preload_int_ctrl(&self) -> &CACHE_PRELOAD_INT_CTRL

0x12c - register description

source

pub fn cache_sync_int_ctrl(&self) -> &CACHE_SYNC_INT_CTRL

0x130 - register description

source

pub fn cache_conf_misc(&self) -> &CACHE_CONF_MISC

0x134 - register description

source

pub fn clock_gate(&self) -> &CLOCK_GATE

0x138 - register description

source

pub fn pro_extmem_reg_date(&self) -> &PRO_EXTMEM_REG_DATE

0x3fc - register description

Trait Implementations§

source§

impl Debug for EXTMEM

source§

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

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

impl Deref for EXTMEM

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl Send for EXTMEM

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.