Struct esp32c2_hal::pac::rtc_cntl::options0::W
pub struct W(_);
Expand description
Register OPTIONS0
writer
Implementations§
§impl W
impl W
pub fn sw_stall_procpu_c0(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 2, 2>
pub fn sw_stall_procpu_c0(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - {reg_sw_stall_procpu_c1[5:0], reg_sw_stall_procpu_c0[1:0]} == 0x86 will stall PRO CPU
pub fn sw_procpu_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 5>
pub fn sw_procpu_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 5>
Bit 5 - PRO CPU SW reset
pub fn bb_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 6>
pub fn bb_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 6>
Bit 6 - BB_I2C force power down
pub fn bb_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 7>
pub fn bb_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 7>
Bit 7 - BB_I2C force power up
pub fn bbpll_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 8>
pub fn bbpll_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 8>
Bit 8 - BB_PLL _I2C force power down
pub fn bbpll_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 9>
pub fn bbpll_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 9>
Bit 9 - BB_PLL_I2C force power up
pub fn bbpll_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 10>
pub fn bbpll_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 10>
Bit 10 - BB_PLL force power down
pub fn bbpll_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 11>
pub fn bbpll_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 11>
Bit 11 - BB_PLL force power up
pub fn xtl_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 12>
pub fn xtl_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 12>
Bit 12 - crystall force power down
pub fn xtl_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 13>
pub fn xtl_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 13>
Bit 13 - crystall force power up
pub fn xtl_en_wait(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 4, 14>
pub fn xtl_en_wait(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 4, 14>
Bits 14:17 - wait bias_sleep and current source wakeup
pub fn xtl_ext_ctr_sel(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 3, 20>
pub fn xtl_ext_ctr_sel(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 3, 20>
Bits 20:22 - Need add desc
pub fn analog_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 25>
pub fn analog_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 25>
Bit 25 - Need add desc
pub fn analog_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 28>
pub fn analog_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 28>
Bit 28 - Need add desc
pub fn dg_wrap_force_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 29>
pub fn dg_wrap_force_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 29>
Bit 29 - digital wrap force reset in deep sleep
pub fn dg_wrap_force_norst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 30>
pub fn dg_wrap_force_norst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 30>
Bit 30 - digital core force no reset in deep sleep
pub fn sw_sys_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 31>
pub fn sw_sys_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 31>
Bit 31 - SW system reset
Methods from Deref<Target = W<OPTIONS0_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.