Struct HP_SYS

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

Implementations§

Source§

impl HP_SYS

Source

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

Pointer to the register block

Source

pub unsafe fn steal() -> HP_SYS

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_SYS as Deref>::Target

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

Source

pub fn external_device_encrypt_decrypt_control( &self, ) -> &Reg<EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_SPEC>

0x00 - EXTERNAL DEVICE ENCRYPTION/DECRYPTION configuration register

Source

pub fn sram_usage_conf(&self) -> &Reg<SRAM_USAGE_CONF_SPEC>

0x04 - HP memory usage configuration register

Source

pub fn sec_dpa_conf(&self) -> &Reg<SEC_DPA_CONF_SPEC>

0x08 - HP anti-DPA security configuration register

Source

pub fn cpu_peri_timeout_conf(&self) -> &Reg<CPU_PERI_TIMEOUT_CONF_SPEC>

0x0c - CPU_PERI_TIMEOUT configuration register

Source

pub fn cpu_peri_timeout_addr(&self) -> &Reg<CPU_PERI_TIMEOUT_ADDR_SPEC>

0x10 - CPU_PERI_TIMEOUT_ADDR register

Source

pub fn cpu_peri_timeout_uid(&self) -> &Reg<CPU_PERI_TIMEOUT_UID_SPEC>

0x14 - CPU_PERI_TIMEOUT_UID register

Source

pub fn hp_peri_timeout_conf(&self) -> &Reg<HP_PERI_TIMEOUT_CONF_SPEC>

0x18 - HP_PERI_TIMEOUT configuration register

Source

pub fn hp_peri_timeout_addr(&self) -> &Reg<HP_PERI_TIMEOUT_ADDR_SPEC>

0x1c - HP_PERI_TIMEOUT_ADDR register

Source

pub fn hp_peri_timeout_uid(&self) -> &Reg<HP_PERI_TIMEOUT_UID_SPEC>

0x20 - HP_PERI_TIMEOUT_UID register

Source

pub fn modem_peri_timeout_conf(&self) -> &Reg<MODEM_PERI_TIMEOUT_CONF_SPEC>

0x24 - MODEM_PERI_TIMEOUT configuration register

Source

pub fn modem_peri_timeout_addr(&self) -> &Reg<MODEM_PERI_TIMEOUT_ADDR_SPEC>

0x28 - MODEM_PERI_TIMEOUT_ADDR register

Source

pub fn modem_peri_timeout_uid(&self) -> &Reg<MODEM_PERI_TIMEOUT_UID_SPEC>

0x2c - MODEM_PERI_TIMEOUT_UID register

Source

pub fn sdio_ctrl(&self) -> &Reg<SDIO_CTRL_SPEC>

0x30 - SDIO Control configuration register

Source

pub fn retention_conf(&self) -> &Reg<RETENTION_CONF_SPEC>

0x34 - Retention configuration register

Source

pub fn rom_table_lock(&self) -> &Reg<ROM_TABLE_LOCK_SPEC>

0x38 - Rom-Table lock register

Source

pub fn rom_table(&self) -> &Reg<ROM_TABLE_SPEC>

0x3c - Rom-Table register

Source

pub fn core_debug_runstall_conf(&self) -> &Reg<CORE_DEBUG_RUNSTALL_CONF_SPEC>

0x40 - Core Debug runstall configure register

Source

pub fn mem_test_conf(&self) -> &Reg<MEM_TEST_CONF_SPEC>

0x44 - MEM_TEST configuration register

Source

pub fn rnd_eco(&self) -> &Reg<RND_ECO_SPEC>

0x3e0 - redcy eco register.

Source

pub fn rnd_eco_low(&self) -> &Reg<RND_ECO_LOW_SPEC>

0x3e4 - redcy eco low register.

Source

pub fn rnd_eco_high(&self) -> &Reg<RND_ECO_HIGH_SPEC>

0x3e8 - redcy eco high register.

Source

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

0x3f8 - HP-SYSTEM clock gating configure register

Source

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

0x3fc - Date register.

Trait Implementations§

Source§

impl Debug for HP_SYS

Source§

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

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

impl Deref for HP_SYS

Source§

type Target = <HP_SYS as Deref>::Target

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl DerefMut for HP_SYS

Source§

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

Mutably dereferences the value.
Source§

impl Peripheral for HP_SYS

Source§

type P = HP_SYS

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&mut self) -> <HP_SYS 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_SYS

§

impl RefUnwindSafe for HP_SYS

§

impl Send for HP_SYS

§

impl Sync for HP_SYS

§

impl Unpin for HP_SYS

§

impl UnwindSafe for HP_SYS

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.