Struct esp32s3_hal::pac::rtc_cntl::rtc::W
pub struct W(_);
Expand description
Register RTC
writer
Implementations§
§impl W
impl W
pub fn dig_reg_cal_en(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 7>
pub fn dig_reg_cal_en(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 7>
Bit 7 - enable dig regulator cali
pub fn sck_dcap(
&mut self
) -> FieldWriterRaw<'_, u32, RTC_SPEC, u8, u8, Unsafe, 8, 14>
pub fn sck_dcap(
&mut self
) -> FieldWriterRaw<'_, u32, RTC_SPEC, u8, u8, Unsafe, 8, 14>
Bits 14:21 - SCK_DCAP
pub fn dboost_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 28>
pub fn dboost_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 28>
Bit 28 - RTC_DBOOST force power down
pub fn dboost_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 29>
pub fn dboost_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 29>
Bit 29 - RTC_DBOOST force power up
pub fn regulator_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 30>
pub fn regulator_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 30>
Bit 30 - RTC_REG force power down (for RTC_REG power down means decrease the voltage to 0.8v or lower )
pub fn regulator_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 31>
pub fn regulator_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, RTC_SPEC, bool, BitM, 31>
Bit 31 - RTC_REG force power on (for RTC_REG power down means decrease the voltage to 0.8v or lower )
Methods from Deref<Target = W<RTC_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.