Struct EXTMEM

Source
pub struct EXTMEM { /* private fields */ }
Expand description

External Memory

Implementations§

Source§

impl EXTMEM

Source

pub const PTR: *const RegisterBlock = {0x600c4000 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 icache_ctrl(&self) -> &ICACHE_CTRL

0x00 - This description will be updated in the near future.

Source

pub fn icache_ctrl1(&self) -> &ICACHE_CTRL1

0x04 - This description will be updated in the near future.

Source

pub fn icache_tag_power_ctrl(&self) -> &ICACHE_TAG_POWER_CTRL

0x08 - This description will be updated in the near future.

Source

pub fn icache_sync_ctrl(&self) -> &ICACHE_SYNC_CTRL

0x28 - This description will be updated in the near future.

Source

pub fn icache_sync_addr(&self) -> &ICACHE_SYNC_ADDR

0x2c - This description will be updated in the near future.

Source

pub fn icache_sync_size(&self) -> &ICACHE_SYNC_SIZE

0x30 - This description will be updated in the near future.

Source

pub fn ibus_to_flash_start_vaddr(&self) -> &IBUS_TO_FLASH_START_VADDR

0x54 - This description will be updated in the near future.

Source

pub fn ibus_to_flash_end_vaddr(&self) -> &IBUS_TO_FLASH_END_VADDR

0x58 - This description will be updated in the near future.

Source

pub fn dbus_to_flash_start_vaddr(&self) -> &DBUS_TO_FLASH_START_VADDR

0x5c - This description will be updated in the near future.

Source

pub fn dbus_to_flash_end_vaddr(&self) -> &DBUS_TO_FLASH_END_VADDR

0x60 - This description will be updated in the near future.

Source

pub fn cache_acs_cnt_clr(&self) -> &CACHE_ACS_CNT_CLR

0x64 - This description will be updated in the near future.

Source

pub fn cache_ilg_int_ena(&self) -> &CACHE_ILG_INT_ENA

0x78 - This description will be updated in the near future.

Source

pub fn cache_ilg_int_clr(&self) -> &CACHE_ILG_INT_CLR

0x7c - This description will be updated in the near future.

Source

pub fn cache_ilg_int_st(&self) -> &CACHE_ILG_INT_ST

0x80 - This description will be updated in the near future.

Source

pub fn core0_acs_cache_int_ena(&self) -> &CORE0_ACS_CACHE_INT_ENA

0x84 - This description will be updated in the near future.

Source

pub fn core0_acs_cache_int_clr(&self) -> &CORE0_ACS_CACHE_INT_CLR

0x88 - This description will be updated in the near future.

Source

pub fn core0_acs_cache_int_st(&self) -> &CORE0_ACS_CACHE_INT_ST

0x8c - This description will be updated in the near future.

Source

pub fn core0_dbus_reject_st(&self) -> &CORE0_DBUS_REJECT_ST

0x90 - This description will be updated in the near future.

Source

pub fn core0_dbus_reject_vaddr(&self) -> &CORE0_DBUS_REJECT_VADDR

0x94 - This description will be updated in the near future.

Source

pub fn core0_ibus_reject_st(&self) -> &CORE0_IBUS_REJECT_ST

0x98 - This description will be updated in the near future.

Source

pub fn core0_ibus_reject_vaddr(&self) -> &CORE0_IBUS_REJECT_VADDR

0x9c - This description will be updated in the near future.

Source

pub fn cache_mmu_fault_content(&self) -> &CACHE_MMU_FAULT_CONTENT

0xa0 - This description will be updated in the near future.

Source

pub fn cache_mmu_fault_vaddr(&self) -> &CACHE_MMU_FAULT_VADDR

0xa4 - This description will be updated in the near future.

Source

pub fn cache_wrap_around_ctrl(&self) -> &CACHE_WRAP_AROUND_CTRL

0xa8 - This description will be updated in the near future.

Source

pub fn cache_mmu_power_ctrl(&self) -> &CACHE_MMU_POWER_CTRL

0xac - This description will be updated in the near future.

Source

pub fn cache_state(&self) -> &CACHE_STATE

0xb0 - This description will be updated in the near future.

Source

pub fn cache_encrypt_decrypt_record_disable( &self, ) -> &CACHE_ENCRYPT_DECRYPT_RECORD_DISABLE

0xb4 - This description will be updated in the near future.

Source

pub fn cache_encrypt_decrypt_clk_force_on( &self, ) -> &CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON

0xb8 - This description will be updated in the near future.

Source

pub fn cache_preload_int_ctrl(&self) -> &CACHE_PRELOAD_INT_CTRL

0xbc - This description will be updated in the near future.

Source

pub fn cache_sync_int_ctrl(&self) -> &CACHE_SYNC_INT_CTRL

0xc0 - This description will be updated in the near future.

Source

pub fn cache_mmu_owner(&self) -> &CACHE_MMU_OWNER

0xc4 - This description will be updated in the near future.

Source

pub fn cache_conf_misc(&self) -> &CACHE_CONF_MISC

0xc8 - This description will be updated in the near future.

Source

pub fn icache_freeze(&self) -> &ICACHE_FREEZE

0xcc - This description will be updated in the near future.

Source

pub fn icache_atomic_operate_ena(&self) -> &ICACHE_ATOMIC_OPERATE_ENA

0xd0 - This description will be updated in the near future.

Source

pub fn cache_request(&self) -> &CACHE_REQUEST

0xd4 - This description will be updated in the near future.

Source

pub fn clock_gate(&self) -> &CLOCK_GATE

0x100 - This description will be updated in the near future.

Source

pub fn reg_date(&self) -> &REG_DATE

0x3fc - This description will be updated in the near future.

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

Source§

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

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

Source§

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

Source§

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.