pub struct APB_CTRL { /* private fields */ }

Implementations§

source§

impl APB_CTRL

source

pub unsafe fn steal() -> APB_CTRL

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

Pointer to the register block

source

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

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

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

0x00 - ******* Description ***********

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

0x04 - ******* Description ***********

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

0x08 - ******* Description ***********

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

0x0c - ******* Description ***********

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

0x10 - ******* Description ***********

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

0x14 - ******* Description ***********

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

0x18 - ******* Description ***********

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

0x1c - ******* Description ***********

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

0x20 - ******* Description ***********

pub fn ext_mem_writeback_bypass(&self) -> &Reg<EXT_MEM_WRITEBACK_BYPASS_SPEC>

0x24 - ******* Description ***********

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

0x28 - ******* Description ***********

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

0x2c - ******* Description ***********

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

0x30 - ******* Description ***********

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

0x34 - ******* Description ***********

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

0x38 - ******* Description ***********

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

0x3c - ******* Description ***********

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

0x40 - ******* Description ***********

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

0x44 - ******* Description ***********

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

0x48 - ******* Description ***********

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

0x4c - ******* Description ***********

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

0x50 - ******* Description ***********

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

0x54 - ******* Description ***********

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

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

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

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

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

0x60 - ******* Description ***********

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn spi_mem_ecc_ctrl(&self) -> &Reg<SPI_MEM_ECC_CTRL_SPEC>

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

pub fn clkgate_force_on(&self) -> &Reg<CLKGATE_FORCE_ON_SPEC>

0xa8 - ******* Description ***********

pub fn mem_power_down(&self) -> &Reg<MEM_POWER_DOWN_SPEC>

0xac - ******* Description ***********

pub fn mem_power_up(&self) -> &Reg<MEM_POWER_UP_SPEC>

0xb0 - ******* Description ***********

pub fn retention_ctrl(&self) -> &Reg<RETENTION_CTRL_SPEC>

0xb4 - ******* Description ***********

pub fn retention_ctrl1(&self) -> &Reg<RETENTION_CTRL1_SPEC>

0xb8 - ******* Description ***********

pub fn retention_ctrl2(&self) -> &Reg<RETENTION_CTRL2_SPEC>

0xbc - ******* Description ***********

pub fn retention_ctrl3(&self) -> &Reg<RETENTION_CTRL3_SPEC>

0xc0 - ******* Description ***********

pub fn retention_ctrl4(&self) -> &Reg<RETENTION_CTRL4_SPEC>

0xc4 - ******* Description ***********

pub fn retention_ctrl5(&self) -> &Reg<RETENTION_CTRL5_SPEC>

0xc8 - ******* Description ***********

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

0x3fc - ******* Description ***********

Trait Implementations§

source§

impl Debug for APB_CTRL

source§

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

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

impl Deref for APB_CTRL

§

type Target = <APB_CTRL as Deref>::Target

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for APB_CTRL

source§

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

Mutably dereferences the value.
source§

impl Peripheral for APB_CTRL

§

type P = APB_CTRL

Peripheral singleton type
source§

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