pub struct RTC_IO { /* private fields */ }

Implementations§

source§

impl RTC_IO

source

pub unsafe fn steal() -> RTC_IO

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 <RTC_IO as Deref>::Target = {0x3ff48400 as *const <esp32::RTC_IO as core::ops::Deref>::Target}

Pointer to the register block

source

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

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

source

pub fn out(&self) -> &Reg<OUT_SPEC>

0x00 -

source

pub fn out_w1ts(&self) -> &Reg<OUT_W1TS_SPEC>

0x04 -

source

pub fn out_w1tc(&self) -> &Reg<OUT_W1TC_SPEC>

0x08 -

source

pub fn enable(&self) -> &Reg<ENABLE_SPEC>

0x0c -

source

pub fn enable_w1ts(&self) -> &Reg<ENABLE_W1TS_SPEC>

0x10 -

source

pub fn enable_w1tc(&self) -> &Reg<ENABLE_W1TC_SPEC>

0x14 -

source

pub fn status(&self) -> &Reg<STATUS_SPEC>

0x18 -

source

pub fn status_w1ts(&self) -> &Reg<STATUS_W1TS_SPEC>

0x1c -

source

pub fn status_w1tc(&self) -> &Reg<STATUS_W1TC_SPEC>

0x20 -

source

pub fn in_(&self) -> &Reg<IN_SPEC>

0x24 -

source

pub fn pin(&self, n: usize) -> &Reg<PIN_SPEC>

0x28..0x70 -

source

pub fn pin_iter(&self) -> impl Iterator<Item = &Reg<PIN_SPEC>>

Iterator for array of: 0x28..0x70 -

source

pub fn rtc_debug_sel(&self) -> &Reg<RTC_DEBUG_SEL_SPEC>

0x70 -

source

pub fn dig_pad_hold(&self) -> &Reg<DIG_PAD_HOLD_SPEC>

0x74 -

source

pub fn hall_sens(&self) -> &Reg<HALL_SENS_SPEC>

0x78 -

source

pub fn sensor_pads(&self) -> &Reg<SENSOR_PADS_SPEC>

0x7c -

source

pub fn adc_pad(&self) -> &Reg<ADC_PAD_SPEC>

0x80 -

source

pub fn pad_dac1(&self) -> &Reg<PAD_DAC1_SPEC>

0x84 -

source

pub fn pad_dac2(&self) -> &Reg<PAD_DAC2_SPEC>

0x88 -

source

pub fn xtal_32k_pad(&self) -> &Reg<XTAL_32K_PAD_SPEC>

0x8c -

source

pub fn touch_cfg(&self) -> &Reg<TOUCH_CFG_SPEC>

0x90 -

source

pub fn touch_pad0(&self) -> &Reg<TOUCH_PAD0_SPEC>

0x94 -

source

pub fn touch_pad1(&self) -> &Reg<TOUCH_PAD1_SPEC>

0x98 -

source

pub fn touch_pad2(&self) -> &Reg<TOUCH_PAD2_SPEC>

0x9c -

source

pub fn touch_pad3(&self) -> &Reg<TOUCH_PAD3_SPEC>

0xa0 -

source

pub fn touch_pad4(&self) -> &Reg<TOUCH_PAD4_SPEC>

0xa4 -

source

pub fn touch_pad5(&self) -> &Reg<TOUCH_PAD5_SPEC>

0xa8 -

source

pub fn touch_pad6(&self) -> &Reg<TOUCH_PAD6_SPEC>

0xac -

source

pub fn touch_pad7(&self) -> &Reg<TOUCH_PAD7_SPEC>

0xb0 -

source

pub fn touch_pad8(&self) -> &Reg<TOUCH_PAD8_SPEC>

0xb4 -

source

pub fn touch_pad9(&self) -> &Reg<TOUCH_PAD9_SPEC>

0xb8 -

source

pub fn ext_wakeup0(&self) -> &Reg<EXT_WAKEUP0_SPEC>

0xbc -

source

pub fn xtl_ext_ctr(&self) -> &Reg<XTL_EXT_CTR_SPEC>

0xc0 -

source

pub fn sar_i2c_io(&self) -> &Reg<SAR_I2C_IO_SPEC>

0xc4 -

source

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

0xc8 -

Trait Implementations§

source§

impl Debug for RTC_IO

source§

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

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

impl Deref for RTC_IO

§

type Target = <RTC_IO as Deref>::Target

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for RTC_IO

source§

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

Mutably dereferences the value.
source§

impl Peripheral for RTC_IO

§

type P = RTC_IO

Peripheral singleton type
source§

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