Struct HP_APM

Source
pub struct HP_APM { /* private fields */ }

Implementations§

Source§

impl HP_APM

Source

pub const PTR: *const <HP_APM as Deref>::Target = {0x60099000 as *const <esp32c6::HP_APM as core::ops::Deref>::Target}

Pointer to the register block

Source

pub unsafe fn steal() -> HP_APM

Unsafely create an instance of this peripheral out of thin air.

§Safety

You must ensure that you’re only using one instance of this type at a time.

Source

pub const fn ptr() -> *const <HP_APM as Deref>::Target

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

Source

pub fn region_filter_en(&self) -> &Reg<REGION_FILTER_EN_SPEC>

0x00 - Region filter enable register

Source

pub fn region0_addr_start(&self) -> &Reg<REGION0_ADDR_START_SPEC>

0x04 - Region address register

Source

pub fn region0_addr_end(&self) -> &Reg<REGION0_ADDR_END_SPEC>

0x08 - Region address register

Source

pub fn region0_pms_attr(&self) -> &Reg<REGION0_PMS_ATTR_SPEC>

0x0c - Region access authority attribute register

Source

pub fn region1_addr_start(&self) -> &Reg<REGION1_ADDR_START_SPEC>

0x10 - Region address register

Source

pub fn region1_addr_end(&self) -> &Reg<REGION1_ADDR_END_SPEC>

0x14 - Region address register

Source

pub fn region1_pms_attr(&self) -> &Reg<REGION1_PMS_ATTR_SPEC>

0x18 - Region access authority attribute register

Source

pub fn region2_addr_start(&self) -> &Reg<REGION2_ADDR_START_SPEC>

0x1c - Region address register

Source

pub fn region2_addr_end(&self) -> &Reg<REGION2_ADDR_END_SPEC>

0x20 - Region address register

Source

pub fn region2_pms_attr(&self) -> &Reg<REGION2_PMS_ATTR_SPEC>

0x24 - Region access authority attribute register

Source

pub fn region3_addr_start(&self) -> &Reg<REGION3_ADDR_START_SPEC>

0x28 - Region address register

Source

pub fn region3_addr_end(&self) -> &Reg<REGION3_ADDR_END_SPEC>

0x2c - Region address register

Source

pub fn region3_pms_attr(&self) -> &Reg<REGION3_PMS_ATTR_SPEC>

0x30 - Region access authority attribute register

Source

pub fn region4_addr_start(&self) -> &Reg<REGION4_ADDR_START_SPEC>

0x34 - Region address register

Source

pub fn region4_addr_end(&self) -> &Reg<REGION4_ADDR_END_SPEC>

0x38 - Region address register

Source

pub fn region4_pms_attr(&self) -> &Reg<REGION4_PMS_ATTR_SPEC>

0x3c - Region access authority attribute register

Source

pub fn region5_addr_start(&self) -> &Reg<REGION5_ADDR_START_SPEC>

0x40 - Region address register

Source

pub fn region5_addr_end(&self) -> &Reg<REGION5_ADDR_END_SPEC>

0x44 - Region address register

Source

pub fn region5_pms_attr(&self) -> &Reg<REGION5_PMS_ATTR_SPEC>

0x48 - Region access authority attribute register

Source

pub fn region6_addr_start(&self) -> &Reg<REGION6_ADDR_START_SPEC>

0x4c - Region address register

Source

pub fn region6_addr_end(&self) -> &Reg<REGION6_ADDR_END_SPEC>

0x50 - Region address register

Source

pub fn region6_pms_attr(&self) -> &Reg<REGION6_PMS_ATTR_SPEC>

0x54 - Region access authority attribute register

Source

pub fn region7_addr_start(&self) -> &Reg<REGION7_ADDR_START_SPEC>

0x58 - Region address register

Source

pub fn region7_addr_end(&self) -> &Reg<REGION7_ADDR_END_SPEC>

0x5c - Region address register

Source

pub fn region7_pms_attr(&self) -> &Reg<REGION7_PMS_ATTR_SPEC>

0x60 - Region access authority attribute register

Source

pub fn region8_addr_start(&self) -> &Reg<REGION8_ADDR_START_SPEC>

0x64 - Region address register

Source

pub fn region8_addr_end(&self) -> &Reg<REGION8_ADDR_END_SPEC>

0x68 - Region address register

Source

pub fn region8_pms_attr(&self) -> &Reg<REGION8_PMS_ATTR_SPEC>

0x6c - Region access authority attribute register

Source

pub fn region9_addr_start(&self) -> &Reg<REGION9_ADDR_START_SPEC>

0x70 - Region address register

Source

pub fn region9_addr_end(&self) -> &Reg<REGION9_ADDR_END_SPEC>

0x74 - Region address register

Source

pub fn region9_pms_attr(&self) -> &Reg<REGION9_PMS_ATTR_SPEC>

0x78 - Region access authority attribute register

Source

pub fn region10_addr_start(&self) -> &Reg<REGION10_ADDR_START_SPEC>

0x7c - Region address register

Source

pub fn region10_addr_end(&self) -> &Reg<REGION10_ADDR_END_SPEC>

0x80 - Region address register

Source

pub fn region10_pms_attr(&self) -> &Reg<REGION10_PMS_ATTR_SPEC>

0x84 - Region access authority attribute register

Source

pub fn region11_addr_start(&self) -> &Reg<REGION11_ADDR_START_SPEC>

0x88 - Region address register

Source

pub fn region11_addr_end(&self) -> &Reg<REGION11_ADDR_END_SPEC>

0x8c - Region address register

Source

pub fn region11_pms_attr(&self) -> &Reg<REGION11_PMS_ATTR_SPEC>

0x90 - Region access authority attribute register

Source

pub fn region12_addr_start(&self) -> &Reg<REGION12_ADDR_START_SPEC>

0x94 - Region address register

Source

pub fn region12_addr_end(&self) -> &Reg<REGION12_ADDR_END_SPEC>

0x98 - Region address register

Source

pub fn region12_pms_attr(&self) -> &Reg<REGION12_PMS_ATTR_SPEC>

0x9c - Region access authority attribute register

Source

pub fn region13_addr_start(&self) -> &Reg<REGION13_ADDR_START_SPEC>

0xa0 - Region address register

Source

pub fn region13_addr_end(&self) -> &Reg<REGION13_ADDR_END_SPEC>

0xa4 - Region address register

Source

pub fn region13_pms_attr(&self) -> &Reg<REGION13_PMS_ATTR_SPEC>

0xa8 - Region access authority attribute register

Source

pub fn region14_addr_start(&self) -> &Reg<REGION14_ADDR_START_SPEC>

0xac - Region address register

Source

pub fn region14_addr_end(&self) -> &Reg<REGION14_ADDR_END_SPEC>

0xb0 - Region address register

Source

pub fn region14_pms_attr(&self) -> &Reg<REGION14_PMS_ATTR_SPEC>

0xb4 - Region access authority attribute register

Source

pub fn region15_addr_start(&self) -> &Reg<REGION15_ADDR_START_SPEC>

0xb8 - Region address register

Source

pub fn region15_addr_end(&self) -> &Reg<REGION15_ADDR_END_SPEC>

0xbc - Region address register

Source

pub fn region15_pms_attr(&self) -> &Reg<REGION15_PMS_ATTR_SPEC>

0xc0 - Region access authority attribute register

Source

pub fn func_ctrl(&self) -> &Reg<FUNC_CTRL_SPEC>

0xc4 - PMS function control register

Source

pub fn m0_status(&self) -> &Reg<M0_STATUS_SPEC>

0xc8 - M0 status register

Source

pub fn m0_status_clr(&self) -> &Reg<M0_STATUS_CLR_SPEC>

0xcc - M0 status clear register

Source

pub fn m0_exception_info0(&self) -> &Reg<M0_EXCEPTION_INFO0_SPEC>

0xd0 - M0 exception_info0 register

Source

pub fn m0_exception_info1(&self) -> &Reg<M0_EXCEPTION_INFO1_SPEC>

0xd4 - M0 exception_info1 register

Source

pub fn m1_status(&self) -> &Reg<M1_STATUS_SPEC>

0xd8 - M1 status register

Source

pub fn m1_status_clr(&self) -> &Reg<M1_STATUS_CLR_SPEC>

0xdc - M1 status clear register

Source

pub fn m1_exception_info0(&self) -> &Reg<M1_EXCEPTION_INFO0_SPEC>

0xe0 - M1 exception_info0 register

Source

pub fn m1_exception_info1(&self) -> &Reg<M1_EXCEPTION_INFO1_SPEC>

0xe4 - M1 exception_info1 register

Source

pub fn m2_status(&self) -> &Reg<M2_STATUS_SPEC>

0xe8 - M2 status register

Source

pub fn m2_status_clr(&self) -> &Reg<M2_STATUS_CLR_SPEC>

0xec - M2 status clear register

Source

pub fn m2_exception_info0(&self) -> &Reg<M2_EXCEPTION_INFO0_SPEC>

0xf0 - M2 exception_info0 register

Source

pub fn m2_exception_info1(&self) -> &Reg<M2_EXCEPTION_INFO1_SPEC>

0xf4 - M2 exception_info1 register

Source

pub fn m3_status(&self) -> &Reg<M3_STATUS_SPEC>

0xf8 - M3 status register

Source

pub fn m3_status_clr(&self) -> &Reg<M3_STATUS_CLR_SPEC>

0xfc - M3 status clear register

Source

pub fn m3_exception_info0(&self) -> &Reg<M3_EXCEPTION_INFO0_SPEC>

0x100 - M3 exception_info0 register

Source

pub fn m3_exception_info1(&self) -> &Reg<M3_EXCEPTION_INFO1_SPEC>

0x104 - M3 exception_info1 register

Source

pub fn int_en(&self) -> &Reg<INT_EN_SPEC>

0x108 - APM interrupt enable register

Source

pub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>

0x10c - clock gating register

Source

pub fn date(&self) -> &Reg<DATE_SPEC>

0x7fc - Version register

Trait Implementations§

Source§

impl Debug for HP_APM

Source§

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

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

impl Deref for HP_APM

Source§

type Target = <HP_APM as Deref>::Target

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<HP_APM as Deref>::Target

Dereferences the value.
Source§

impl DerefMut for HP_APM

Source§

fn deref_mut(&mut self) -> &mut <HP_APM as Deref>::Target

Mutably dereferences the value.
Source§

impl Peripheral for HP_APM

Source§

type P = HP_APM

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&mut self) -> <HP_APM as Peripheral>::P

Unsafely clone (duplicate) a peripheral singleton. Read more
Source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more

Auto Trait Implementations§

§

impl Freeze for HP_APM

§

impl RefUnwindSafe for HP_APM

§

impl Send for HP_APM

§

impl Sync for HP_APM

§

impl Unpin for HP_APM

§

impl UnwindSafe for HP_APM

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.