Struct esp32::rtc_io::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn out(&self) -> &OUT

0x00 -

source

pub const fn out_w1ts(&self) -> &OUT_W1TS

0x04 -

source

pub const fn out_w1tc(&self) -> &OUT_W1TC

0x08 -

source

pub const fn enable(&self) -> &ENABLE

0x0c -

source

pub const fn enable_w1ts(&self) -> &ENABLE_W1TS

0x10 -

source

pub const fn enable_w1tc(&self) -> &ENABLE_W1TC

0x14 -

source

pub const fn status(&self) -> &STATUS

0x18 -

source

pub const fn status_w1ts(&self) -> &STATUS_W1TS

0x1c -

source

pub const fn status_w1tc(&self) -> &STATUS_W1TC

0x20 -

source

pub const fn in_(&self) -> &IN

0x24 -

source

pub const fn pin(&self, n: usize) -> &PIN

0x28..0x70 -

source

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

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

source

pub const fn rtc_debug_sel(&self) -> &RTC_DEBUG_SEL

0x70 -

source

pub const fn dig_pad_hold(&self) -> &DIG_PAD_HOLD

0x74 -

source

pub const fn hall_sens(&self) -> &HALL_SENS

0x78 -

source

pub const fn sensor_pads(&self) -> &SENSOR_PADS

0x7c -

source

pub const fn adc_pad(&self) -> &ADC_PAD

0x80 -

source

pub const fn pad_dac1(&self) -> &PAD_DAC1

0x84 -

source

pub const fn pad_dac2(&self) -> &PAD_DAC2

0x88 -

source

pub const fn xtal_32k_pad(&self) -> &XTAL_32K_PAD

0x8c -

source

pub const fn touch_cfg(&self) -> &TOUCH_CFG

0x90 -

source

pub const fn touch_pad0(&self) -> &TOUCH_PAD0

0x94 -

source

pub const fn touch_pad1(&self) -> &TOUCH_PAD1

0x98 -

source

pub const fn touch_pad2(&self) -> &TOUCH_PAD2

0x9c -

source

pub const fn touch_pad3(&self) -> &TOUCH_PAD3

0xa0 -

source

pub const fn touch_pad4(&self) -> &TOUCH_PAD4

0xa4 -

source

pub const fn touch_pad5(&self) -> &TOUCH_PAD5

0xa8 -

source

pub const fn touch_pad6(&self) -> &TOUCH_PAD6

0xac -

source

pub const fn touch_pad7(&self) -> &TOUCH_PAD7

0xb0 -

source

pub const fn touch_pad8(&self) -> &TOUCH_PAD8

0xb4 -

source

pub const fn touch_pad9(&self) -> &TOUCH_PAD9

0xb8 -

source

pub const fn ext_wakeup0(&self) -> &EXT_WAKEUP0

0xbc -

source

pub const fn xtl_ext_ctr(&self) -> &XTL_EXT_CTR

0xc0 -

source

pub const fn sar_i2c_io(&self) -> &SAR_I2C_IO

0xc4 -

source

pub const fn date(&self) -> &DATE

0xc8 -

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.