Struct esp32::rtc_io::xtal_32k_pad::W

source ·
pub struct W(_);
Expand description

Register XTAL_32K_PAD writer

Implementations§

source§

impl W

source

pub fn dbias_xtal_32k(&mut self) -> DBIAS_XTAL_32K_W<'_, 1>

Bits 1:2 - 32K XTAL self-bias reference control.

source

pub fn dres_xtal_32k(&mut self) -> DRES_XTAL_32K_W<'_, 3>

Bits 3:4 - 32K XTAL resistor bias control.

source

pub fn x32p_fun_ie(&mut self) -> X32P_FUN_IE_W<'_, 5>

Bit 5 - the input enable of the pad

source

pub fn x32p_slp_oe(&mut self) -> X32P_SLP_OE_W<'_, 6>

Bit 6 - the output enable of the pad in sleep status

source

pub fn x32p_slp_ie(&mut self) -> X32P_SLP_IE_W<'_, 7>

Bit 7 - the input enable of the pad in sleep status

source

pub fn x32p_slp_sel(&mut self) -> X32P_SLP_SEL_W<'_, 8>

Bit 8 - the sleep status selection signal of the pad

source

pub fn x32p_fun_sel(&mut self) -> X32P_FUN_SEL_W<'_, 9>

Bits 9:10 - the functional selection signal of the pad

source

pub fn x32n_fun_ie(&mut self) -> X32N_FUN_IE_W<'_, 11>

Bit 11 - the input enable of the pad

source

pub fn x32n_slp_oe(&mut self) -> X32N_SLP_OE_W<'_, 12>

Bit 12 - the output enable of the pad in sleep status

source

pub fn x32n_slp_ie(&mut self) -> X32N_SLP_IE_W<'_, 13>

Bit 13 - the input enable of the pad in sleep status

source

pub fn x32n_slp_sel(&mut self) -> X32N_SLP_SEL_W<'_, 14>

Bit 14 - the sleep status selection signal of the pad

source

pub fn x32n_fun_sel(&mut self) -> X32N_FUN_SEL_W<'_, 15>

Bits 15:16 - the functional selection signal of the pad

source

pub fn x32p_mux_sel(&mut self) -> X32P_MUX_SEL_W<'_, 17>

Bit 17 - Ò1Ó select the digital function Ó0Óslection the rtc function

source

pub fn x32n_mux_sel(&mut self) -> X32N_MUX_SEL_W<'_, 18>

Bit 18 - Ò1Ó select the digital function Ó0Óslection the rtc function

source

pub fn xpd_xtal_32k(&mut self) -> XPD_XTAL_32K_W<'_, 19>

Bit 19 - Power up 32kHz crystal oscillator

source

pub fn dac_xtal_32k(&mut self) -> DAC_XTAL_32K_W<'_, 20>

Bits 20:21 - 32K XTAL bias current DAC.

source

pub fn x32p_rue(&mut self) -> X32P_RUE_W<'_, 22>

Bit 22 - the pull up enable of the pad

source

pub fn x32p_rde(&mut self) -> X32P_RDE_W<'_, 23>

Bit 23 - the pull down enable of the pad

source

pub fn x32p_hold(&mut self) -> X32P_HOLD_W<'_, 24>

Bit 24 - hold the current value of the output when setting the hold to Ò1Ó

source

pub fn x32p_drv(&mut self) -> X32P_DRV_W<'_, 25>

Bits 25:26 - the driver strength of the pad

source

pub fn x32n_rue(&mut self) -> X32N_RUE_W<'_, 27>

Bit 27 - the pull up enable of the pad

source

pub fn x32n_rde(&mut self) -> X32N_RDE_W<'_, 28>

Bit 28 - the pull down enable of the pad

source

pub fn x32n_hold(&mut self) -> X32N_HOLD_W<'_, 29>

Bit 29 - hold the current value of the output when setting the hold to Ò1Ó

source

pub fn x32n_drv(&mut self) -> X32N_DRV_W<'_, 30>

Bits 30:31 - the driver strength of the pad

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<XTAL_32K_PAD_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<XTAL_32K_PAD_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<XTAL_32K_PAD_SPEC>> for W

source§

fn from(writer: W<XTAL_32K_PAD_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere 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 Twhere 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.