Struct esp32_hal::pac::rtcio::xtal_32k_pad::W
pub struct W(_);
Expand description
Register XTAL_32K_PAD
writer
Implementations§
§impl W
impl W
pub fn dbias_xtal_32k(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 1>
pub fn dbias_xtal_32k(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 1>
Bits 1:2 - 32K XTAL self-bias reference control.
pub fn dres_xtal_32k(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 3>
pub fn dres_xtal_32k(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 3>
Bits 3:4 - 32K XTAL resistor bias control.
pub fn x32p_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 5>
pub fn x32p_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 5>
Bit 5 - the input enable of the pad
pub fn x32p_slp_oe(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 6>
pub fn x32p_slp_oe(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 6>
Bit 6 - the output enable of the pad in sleep status
pub fn x32p_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 7>
pub fn x32p_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 7>
Bit 7 - the input enable of the pad in sleep status
pub fn x32p_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 8>
pub fn x32p_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 8>
Bit 8 - the sleep status selection signal of the pad
pub fn x32p_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 9>
pub fn x32p_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 9>
Bits 9:10 - the functional selection signal of the pad
pub fn x32n_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 11>
pub fn x32n_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 11>
Bit 11 - the input enable of the pad
pub fn x32n_slp_oe(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 12>
pub fn x32n_slp_oe(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 12>
Bit 12 - the output enable of the pad in sleep status
pub fn x32n_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 13>
pub fn x32n_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 13>
Bit 13 - the input enable of the pad in sleep status
pub fn x32n_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 14>
pub fn x32n_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 14>
Bit 14 - the sleep status selection signal of the pad
pub fn x32n_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 15>
pub fn x32n_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 15>
Bits 15:16 - the functional selection signal of the pad
pub fn x32p_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 17>
pub fn x32p_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 17>
Bit 17 - Ò1Ó select the digital function Ó0Óslection the rtc function
pub fn x32n_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 18>
pub fn x32n_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 18>
Bit 18 - Ò1Ó select the digital function Ó0Óslection the rtc function
pub fn xpd_xtal_32k(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 19>
pub fn xpd_xtal_32k(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 19>
Bit 19 - Power up 32kHz crystal oscillator
pub fn dac_xtal_32k(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 20>
pub fn dac_xtal_32k(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 20>
Bits 20:21 - 32K XTAL bias current DAC.
pub fn x32p_rue(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 22>
pub fn x32p_rue(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 22>
Bit 22 - the pull up enable of the pad
pub fn x32p_rde(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 23>
pub fn x32p_rde(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 23>
Bit 23 - the pull down enable of the pad
pub fn x32p_hold(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 24>
pub fn x32p_hold(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 24>
Bit 24 - hold the current value of the output when setting the hold to Ò1Ó
pub fn x32p_drv(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 25>
pub fn x32p_drv(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 25>
Bits 25:26 - the driver strength of the pad
pub fn x32n_rue(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 27>
pub fn x32n_rue(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 27>
Bit 27 - the pull up enable of the pad
pub fn x32n_rde(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 28>
pub fn x32n_rde(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 28>
Bit 28 - the pull down enable of the pad
pub fn x32n_hold(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 29>
pub fn x32n_hold(
&mut self
) -> BitWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, bool, BitM, 29>
Bit 29 - hold the current value of the output when setting the hold to Ò1Ó
pub fn x32n_drv(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 30>
pub fn x32n_drv(
&mut self
) -> FieldWriterRaw<'_, u32, XTAL_32K_PAD_SPEC, u8, u8, Unsafe, 2, 30>
Bits 30:31 - the driver strength of the pad
Methods from Deref<Target = W<XTAL_32K_PAD_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.