Struct esp32c3::rtc_cntl::RegisterBlock

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

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn options0(&self) -> &OPTIONS0

0x00 - rtc configure register

source

pub const fn slp_timer0(&self) -> &SLP_TIMER0

0x04 - rtc configure register

source

pub const fn slp_timer1(&self) -> &SLP_TIMER1

0x08 - rtc configure register

source

pub const fn time_update(&self) -> &TIME_UPDATE

0x0c - rtc configure register

source

pub const fn time_low0(&self) -> &TIME_LOW0

0x10 - rtc configure register

source

pub const fn time_high0(&self) -> &TIME_HIGH0

0x14 - rtc configure register

source

pub const fn state0(&self) -> &STATE0

0x18 - rtc configure register

source

pub const fn timer1(&self) -> &TIMER1

0x1c - rtc configure register

source

pub const fn timer2(&self) -> &TIMER2

0x20 - rtc configure register

source

pub const fn timer3(&self) -> &TIMER3

0x24 - rtc configure register

source

pub const fn timer4(&self) -> &TIMER4

0x28 - rtc configure register

source

pub const fn timer5(&self) -> &TIMER5

0x2c - rtc configure register

source

pub const fn timer6(&self) -> &TIMER6

0x30 - rtc configure register

source

pub const fn ana_conf(&self) -> &ANA_CONF

0x34 - rtc configure register

source

pub const fn reset_state(&self) -> &RESET_STATE

0x38 - rtc configure register

source

pub const fn wakeup_state(&self) -> &WAKEUP_STATE

0x3c - rtc configure register

source

pub const fn int_ena(&self) -> &INT_ENA

0x40 - rtc configure register

source

pub const fn int_raw(&self) -> &INT_RAW

0x44 - rtc configure register

source

pub const fn int_st(&self) -> &INT_ST

0x48 - rtc configure register

source

pub const fn int_clr(&self) -> &INT_CLR

0x4c - rtc configure register

source

pub const fn store0(&self) -> &STORE0

0x50 - rtc configure register

source

pub const fn store1(&self) -> &STORE1

0x54 - rtc configure register

source

pub const fn store2(&self) -> &STORE2

0x58 - rtc configure register

source

pub const fn store3(&self) -> &STORE3

0x5c - rtc configure register

source

pub const fn ext_xtl_conf(&self) -> &EXT_XTL_CONF

0x60 - rtc configure register

source

pub const fn ext_wakeup_conf(&self) -> &EXT_WAKEUP_CONF

0x64 - rtc configure register

source

pub const fn slp_reject_conf(&self) -> &SLP_REJECT_CONF

0x68 - rtc configure register

source

pub const fn cpu_period_conf(&self) -> &CPU_PERIOD_CONF

0x6c - rtc configure register

source

pub const fn clk_conf(&self) -> &CLK_CONF

0x70 - rtc configure register

source

pub const fn slow_clk_conf(&self) -> &SLOW_CLK_CONF

0x74 - rtc configure register

source

pub const fn sdio_conf(&self) -> &SDIO_CONF

0x78 - rtc configure register

source

pub const fn bias_conf(&self) -> &BIAS_CONF

0x7c - rtc configure register

source

pub const fn rtc_cntl(&self) -> &RTC_CNTL

0x80 - rtc configure register

source

pub const fn pwc(&self) -> &PWC

0x84 - rtc configure register

source

pub const fn dig_pwc(&self) -> &DIG_PWC

0x88 - rtc configure register

source

pub const fn dig_iso(&self) -> &DIG_ISO

0x8c - rtc configure register

source

pub const fn wdtconfig0(&self) -> &WDTCONFIG0

0x90 - rtc configure register

source

pub const fn wdtconfig1(&self) -> &WDTCONFIG1

0x94 - rtc configure register

source

pub const fn wdtconfig2(&self) -> &WDTCONFIG2

0x98 - rtc configure register

source

pub const fn wdtconfig3(&self) -> &WDTCONFIG3

0x9c - rtc configure register

source

pub const fn wdtconfig4(&self) -> &WDTCONFIG4

0xa0 - rtc configure register

source

pub const fn wdtfeed(&self) -> &WDTFEED

0xa4 - rtc configure register

source

pub const fn wdtwprotect(&self) -> &WDTWPROTECT

0xa8 - rtc configure register

source

pub const fn swd_conf(&self) -> &SWD_CONF

0xac - rtc configure register

source

pub const fn swd_wprotect(&self) -> &SWD_WPROTECT

0xb0 - rtc configure register

source

pub const fn sw_cpu_stall(&self) -> &SW_CPU_STALL

0xb4 - rtc configure register

source

pub const fn store4(&self) -> &STORE4

0xb8 - rtc configure register

source

pub const fn store5(&self) -> &STORE5

0xbc - rtc configure register

source

pub const fn store6(&self) -> &STORE6

0xc0 - rtc configure register

source

pub const fn store7(&self) -> &STORE7

0xc4 - rtc configure register

source

pub const fn low_power_st(&self) -> &LOW_POWER_ST

0xc8 - rtc configure register

source

pub const fn diag0(&self) -> &DIAG0

0xcc - rtc configure register

source

pub const fn pad_hold(&self) -> &PAD_HOLD

0xd0 - rtc configure register

source

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

0xd4 - rtc configure register

source

pub const fn brown_out(&self) -> &BROWN_OUT

0xd8 - rtc configure register

source

pub const fn time_low1(&self) -> &TIME_LOW1

0xdc - rtc configure register

source

pub const fn time_high1(&self) -> &TIME_HIGH1

0xe0 - rtc configure register

source

pub const fn xtal32k_clk_factor(&self) -> &XTAL32K_CLK_FACTOR

0xe4 - rtc configure register

source

pub const fn xtal32k_conf(&self) -> &XTAL32K_CONF

0xe8 - rtc configure register

source

pub const fn usb_conf(&self) -> &USB_CONF

0xec - rtc configure register

source

pub const fn slp_reject_cause(&self) -> &SLP_REJECT_CAUSE

0xf0 - RTC_CNTL_RTC_SLP_REJECT_CAUSE_REG

source

pub const fn option1(&self) -> &OPTION1

0xf4 - rtc configure register

source

pub const fn slp_wakeup_cause(&self) -> &SLP_WAKEUP_CAUSE

0xf8 - RTC_CNTL_RTC_SLP_WAKEUP_CAUSE_REG

source

pub const fn ulp_cp_timer_1(&self) -> &ULP_CP_TIMER_1

0xfc - rtc configure register

source

pub const fn int_ena_rtc_w1ts(&self) -> &INT_ENA_RTC_W1TS

0x100 - rtc configure register

source

pub const fn int_ena_rtc_w1tc(&self) -> &INT_ENA_RTC_W1TC

0x104 - rtc configure register

source

pub const fn retention_ctrl(&self) -> &RETENTION_CTRL

0x108 - rtc configure register

source

pub const fn fib_sel(&self) -> &FIB_SEL

0x10c - rtc configure register

source

pub const fn gpio_wakeup(&self) -> &GPIO_WAKEUP

0x110 - rtc configure register

source

pub const fn dbg_sel(&self) -> &DBG_SEL

0x114 - rtc configure register

source

pub const fn dbg_map(&self) -> &DBG_MAP

0x118 - rtc configure register

source

pub const fn sensor_ctrl(&self) -> &SENSOR_CTRL

0x11c - rtc configure register

source

pub const fn dbg_sar_sel(&self) -> &DBG_SAR_SEL

0x120 - rtc configure register

source

pub const fn pg_ctrl(&self) -> &PG_CTRL

0x124 - rtc configure register

source

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

0x1fc - rtc configure register

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.