Struct esp32c2::rtc_cntl::options0::R

source ·
pub struct R(_);
Expand description

Register OPTIONS0 reader

Implementations§

source§

impl R

source

pub fn sw_stall_procpu_c0(&self) -> SW_STALL_PROCPU_C0_R

Bits 2:3 - {reg_sw_stall_procpu_c1[5:0], reg_sw_stall_procpu_c0[1:0]} == 0x86 will stall PRO CPU

source

pub fn sw_procpu_rst(&self) -> SW_PROCPU_RST_R

Bit 5 - PRO CPU SW reset

source

pub fn bb_i2c_force_pd(&self) -> BB_I2C_FORCE_PD_R

Bit 6 - BB_I2C force power down

source

pub fn bb_i2c_force_pu(&self) -> BB_I2C_FORCE_PU_R

Bit 7 - BB_I2C force power up

source

pub fn bbpll_i2c_force_pd(&self) -> BBPLL_I2C_FORCE_PD_R

Bit 8 - BB_PLL _I2C force power down

source

pub fn bbpll_i2c_force_pu(&self) -> BBPLL_I2C_FORCE_PU_R

Bit 9 - BB_PLL_I2C force power up

source

pub fn bbpll_force_pd(&self) -> BBPLL_FORCE_PD_R

Bit 10 - BB_PLL force power down

source

pub fn bbpll_force_pu(&self) -> BBPLL_FORCE_PU_R

Bit 11 - BB_PLL force power up

source

pub fn xtl_force_pd(&self) -> XTL_FORCE_PD_R

Bit 12 - crystall force power down

source

pub fn xtl_force_pu(&self) -> XTL_FORCE_PU_R

Bit 13 - crystall force power up

source

pub fn xtl_en_wait(&self) -> XTL_EN_WAIT_R

Bits 14:17 - wait bias_sleep and current source wakeup

source

pub fn xtl_ext_ctr_sel(&self) -> XTL_EXT_CTR_SEL_R

Bits 20:22 - Need add desc

source

pub fn analog_force_iso(&self) -> ANALOG_FORCE_ISO_R

Bit 25 - Need add desc

source

pub fn analog_force_noiso(&self) -> ANALOG_FORCE_NOISO_R

Bit 28 - Need add desc

source

pub fn dg_wrap_force_rst(&self) -> DG_WRAP_FORCE_RST_R

Bit 29 - digital wrap force reset in deep sleep

source

pub fn dg_wrap_force_norst(&self) -> DG_WRAP_FORCE_NORST_R

Bit 30 - digital core force no reset in deep sleep

source

pub fn sw_sys_rst(&self) -> SW_SYS_RST_R

Bit 31 - SW system reset

Methods from Deref<Target = R<OPTIONS0_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<OPTIONS0_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<OPTIONS0_SPEC>> for R

source§

fn from(reader: R<OPTIONS0_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.