pub struct SYSCON { /* private fields */ }

Implementations§

source§

impl SYSCON

source

pub unsafe fn steal() -> SYSCON

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 <SYSCON as Deref>::Target = {0x3f426000 as *const <esp32s2::SYSCON as core::ops::Deref>::Target}

Pointer to the register block

source

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

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

source

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

0x00 -

source

pub fn tick_conf(&self) -> &Reg<TICK_CONF_SPEC>

0x04 -

source

pub fn clk_out_en(&self) -> &Reg<CLK_OUT_EN_SPEC>

0x08 -

source

pub fn host_inf_sel(&self) -> &Reg<HOST_INF_SEL_SPEC>

0x0c -

source

pub fn ext_mem_pms_lock(&self) -> &Reg<EXT_MEM_PMS_LOCK_SPEC>

0x10 -

source

pub fn flash_ace0_attr(&self) -> &Reg<FLASH_ACE0_ATTR_SPEC>

0x14 -

source

pub fn flash_ace1_attr(&self) -> &Reg<FLASH_ACE1_ATTR_SPEC>

0x18 -

source

pub fn flash_ace2_attr(&self) -> &Reg<FLASH_ACE2_ATTR_SPEC>

0x1c -

source

pub fn flash_ace3_attr(&self) -> &Reg<FLASH_ACE3_ATTR_SPEC>

0x20 -

source

pub fn flash_ace0_addr(&self) -> &Reg<FLASH_ACE0_ADDR_SPEC>

0x24 -

source

pub fn flash_ace1_addr(&self) -> &Reg<FLASH_ACE1_ADDR_SPEC>

0x28 -

source

pub fn flash_ace2_addr(&self) -> &Reg<FLASH_ACE2_ADDR_SPEC>

0x2c -

source

pub fn flash_ace3_addr(&self) -> &Reg<FLASH_ACE3_ADDR_SPEC>

0x30 -

source

pub fn flash_ace0_size(&self) -> &Reg<FLASH_ACE0_SIZE_SPEC>

0x34 -

source

pub fn flash_ace1_size(&self) -> &Reg<FLASH_ACE1_SIZE_SPEC>

0x38 -

source

pub fn flash_ace2_size(&self) -> &Reg<FLASH_ACE2_SIZE_SPEC>

0x3c -

source

pub fn flash_ace3_size(&self) -> &Reg<FLASH_ACE3_SIZE_SPEC>

0x40 -

source

pub fn sram_ace0_attr(&self) -> &Reg<SRAM_ACE0_ATTR_SPEC>

0x44 -

source

pub fn sram_ace1_attr(&self) -> &Reg<SRAM_ACE1_ATTR_SPEC>

0x48 -

source

pub fn sram_ace2_attr(&self) -> &Reg<SRAM_ACE2_ATTR_SPEC>

0x4c -

source

pub fn sram_ace3_attr(&self) -> &Reg<SRAM_ACE3_ATTR_SPEC>

0x50 -

source

pub fn sram_ace0_addr(&self) -> &Reg<SRAM_ACE0_ADDR_SPEC>

0x54 -

source

pub fn sram_ace1_addr(&self) -> &Reg<SRAM_ACE1_ADDR_SPEC>

0x58 -

source

pub fn sram_ace2_addr(&self) -> &Reg<SRAM_ACE2_ADDR_SPEC>

0x5c -

source

pub fn sram_ace3_addr(&self) -> &Reg<SRAM_ACE3_ADDR_SPEC>

0x60 -

source

pub fn sram_ace0_size(&self) -> &Reg<SRAM_ACE0_SIZE_SPEC>

0x64 -

source

pub fn sram_ace1_size(&self) -> &Reg<SRAM_ACE1_SIZE_SPEC>

0x68 -

source

pub fn sram_ace2_size(&self) -> &Reg<SRAM_ACE2_SIZE_SPEC>

0x6c -

source

pub fn sram_ace3_size(&self) -> &Reg<SRAM_ACE3_SIZE_SPEC>

0x70 -

source

pub fn spi_mem_pms_ctrl(&self) -> &Reg<SPI_MEM_PMS_CTRL_SPEC>

0x74 -

source

pub fn spi_mem_reject_addr(&self) -> &Reg<SPI_MEM_REJECT_ADDR_SPEC>

0x78 -

source

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

0x7c -

source

pub fn redcy_sig0(&self) -> &Reg<REDCY_SIG0_SPEC>

0x80 -

source

pub fn redcy_sig1(&self) -> &Reg<REDCY_SIG1_SPEC>

0x84 -

source

pub fn wifi_bb_cfg(&self) -> &Reg<WIFI_BB_CFG_SPEC>

0x88 -

source

pub fn wifi_bb_cfg_2(&self) -> &Reg<WIFI_BB_CFG_2_SPEC>

0x8c -

source

pub fn wifi_clk_en(&self) -> &Reg<WIFI_CLK_EN_SPEC>

0x90 -

source

pub fn wifi_rst_en(&self) -> &Reg<WIFI_RST_EN_SPEC>

0x94 -

source

pub fn front_end_mem_pd(&self) -> &Reg<FRONT_END_MEM_PD_SPEC>

0x98 -

source

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

0x3fc -

Trait Implementations§

source§

impl Debug for SYSCON

source§

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

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

impl Deref for SYSCON

§

type Target = <SYSCON as Deref>::Target

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for SYSCON

source§

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

Mutably dereferences the value.
source§

impl Peripheral for SYSCON

§

type P = SYSCON

Peripheral singleton type
source§

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