pub struct SYSTEM { /* private fields */ }

Implementations§

source§

impl SYSTEM

source

pub unsafe fn steal() -> SYSTEM

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 PTR: *const <SYSTEM as Deref>::Target = {0x600c0000 as *const <esp32s3::SYSTEM as core::ops::Deref>::Target}

Pointer to the register block

source

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

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

source

pub fn core_1_control_0(&self) -> &Reg<CORE_1_CONTROL_0_SPEC>

0x00 - Core0 control regiter 0

source

pub fn core_1_control_1(&self) -> &Reg<CORE_1_CONTROL_1_SPEC>

0x04 - Core0 control regiter 1

source

pub fn cpu_peri_clk_en(&self) -> &Reg<CPU_PERI_CLK_EN_SPEC>

0x08 - cpu_peripheral clock configuration register

source

pub fn cpu_peri_rst_en(&self) -> &Reg<CPU_PERI_RST_EN_SPEC>

0x0c - cpu_peripheral reset configuration regsiter

source

pub fn cpu_per_conf(&self) -> &Reg<CPU_PER_CONF_SPEC>

0x10 - cpu peripheral clock configuration register

source

pub fn mem_pd_mask(&self) -> &Reg<MEM_PD_MASK_SPEC>

0x14 - memory power down mask configuration register

source

pub fn perip_clk_en0(&self) -> &Reg<PERIP_CLK_EN0_SPEC>

0x18 - peripheral clock configuration regsiter 0

source

pub fn perip_clk_en1(&self) -> &Reg<PERIP_CLK_EN1_SPEC>

0x1c - peripheral clock configuration regsiter 1

source

pub fn perip_rst_en0(&self) -> &Reg<PERIP_RST_EN0_SPEC>

0x20 - peripheral reset configuration register0

source

pub fn perip_rst_en1(&self) -> &Reg<PERIP_RST_EN1_SPEC>

0x24 - peripheral reset configuration regsiter 1

source

pub fn bt_lpck_div_int(&self) -> &Reg<BT_LPCK_DIV_INT_SPEC>

0x28 - low power clock frequent division factor configuration regsiter

source

pub fn bt_lpck_div_frac(&self) -> &Reg<BT_LPCK_DIV_FRAC_SPEC>

0x2c - low power clock configuration register

source

pub fn cpu_intr_from_cpu_0(&self) -> &Reg<CPU_INTR_FROM_CPU_0_SPEC>

0x30 - interrupt source register 0

source

pub fn cpu_intr_from_cpu_1(&self) -> &Reg<CPU_INTR_FROM_CPU_1_SPEC>

0x34 - interrupt source register 1

source

pub fn cpu_intr_from_cpu_2(&self) -> &Reg<CPU_INTR_FROM_CPU_2_SPEC>

0x38 - interrupt source register 2

source

pub fn cpu_intr_from_cpu_3(&self) -> &Reg<CPU_INTR_FROM_CPU_3_SPEC>

0x3c - interrupt source register 3

source

pub fn rsa_pd_ctrl(&self) -> &Reg<RSA_PD_CTRL_SPEC>

0x40 - rsa memory power control register

source

pub fn edma_ctrl(&self) -> &Reg<EDMA_CTRL_SPEC>

0x44 - EDMA control register

source

pub fn cache_control(&self) -> &Reg<CACHE_CONTROL_SPEC>

0x48 - Cache control register

source

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

0x4c - External memory encrypt and decrypt control register

source

pub fn rtc_fastmem_config(&self) -> &Reg<RTC_FASTMEM_CONFIG_SPEC>

0x50 - RTC fast memory configuration register

source

pub fn rtc_fastmem_crc(&self) -> &Reg<RTC_FASTMEM_CRC_SPEC>

0x54 - RTC fast memory CRC control register

source

pub fn redundant_eco_ctrl(&self) -> &Reg<REDUNDANT_ECO_CTRL_SPEC>

0x58 - ******* Description ***********

source

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

0x5c - ******* Description ***********

source

pub fn sysclk_conf(&self) -> &Reg<SYSCLK_CONF_SPEC>

0x60 - System clock configuration register.

source

pub fn mem_pvt(&self) -> &Reg<MEM_PVT_SPEC>

0x64 - ******* Description ***********

source

pub fn comb_pvt_lvt_conf(&self) -> &Reg<COMB_PVT_LVT_CONF_SPEC>

0x68 - ******* Description ***********

source

pub fn comb_pvt_nvt_conf(&self) -> &Reg<COMB_PVT_NVT_CONF_SPEC>

0x6c - ******* Description ***********

source

pub fn comb_pvt_hvt_conf(&self) -> &Reg<COMB_PVT_HVT_CONF_SPEC>

0x70 - ******* Description ***********

source

pub fn comb_pvt_err_lvt_site0(&self) -> &Reg<COMB_PVT_ERR_LVT_SITE0_SPEC>

0x74 - ******* Description ***********

source

pub fn comb_pvt_err_nvt_site0(&self) -> &Reg<COMB_PVT_ERR_NVT_SITE0_SPEC>

0x78 - ******* Description ***********

source

pub fn comb_pvt_err_hvt_site0(&self) -> &Reg<COMB_PVT_ERR_HVT_SITE0_SPEC>

0x7c - ******* Description ***********

source

pub fn comb_pvt_err_lvt_site1(&self) -> &Reg<COMB_PVT_ERR_LVT_SITE1_SPEC>

0x80 - ******* Description ***********

source

pub fn comb_pvt_err_nvt_site1(&self) -> &Reg<COMB_PVT_ERR_NVT_SITE1_SPEC>

0x84 - ******* Description ***********

source

pub fn comb_pvt_err_hvt_site1(&self) -> &Reg<COMB_PVT_ERR_HVT_SITE1_SPEC>

0x88 - ******* Description ***********

source

pub fn comb_pvt_err_lvt_site2(&self) -> &Reg<COMB_PVT_ERR_LVT_SITE2_SPEC>

0x8c - ******* Description ***********

source

pub fn comb_pvt_err_nvt_site2(&self) -> &Reg<COMB_PVT_ERR_NVT_SITE2_SPEC>

0x90 - ******* Description ***********

source

pub fn comb_pvt_err_hvt_site2(&self) -> &Reg<COMB_PVT_ERR_HVT_SITE2_SPEC>

0x94 - ******* Description ***********

source

pub fn comb_pvt_err_lvt_site3(&self) -> &Reg<COMB_PVT_ERR_LVT_SITE3_SPEC>

0x98 - ******* Description ***********

source

pub fn comb_pvt_err_nvt_site3(&self) -> &Reg<COMB_PVT_ERR_NVT_SITE3_SPEC>

0x9c - ******* Description ***********

source

pub fn comb_pvt_err_hvt_site3(&self) -> &Reg<COMB_PVT_ERR_HVT_SITE3_SPEC>

0xa0 - ******* Description ***********

source

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

0xffc - version register

Trait Implementations§

source§

impl Debug for SYSTEM

source§

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

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

impl Deref for SYSTEM

§

type Target = <SYSTEM as Deref>::Target

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for SYSTEM

source§

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

Mutably dereferences the value.
source§

impl Peripheral for SYSTEM

§

type P = SYSTEM

Peripheral singleton type
source§

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

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.
source§

impl<'d, T> SystemExt<'d> for T
where T: Peripheral<P = SYSTEM> + 'd,

§

type Parts = SystemParts<'d>

source§

fn split(self) -> <T as SystemExt<'d>>::Parts

Splits the SYSTEM/DPORT peripheral into it’s parts.