pub struct W(_);
Expand description
Register REG
writer
Implementations§
§impl W
impl W
pub fn sck_dcap_force(
&mut self
) -> BitWriterRaw<'_, u32, REG_SPEC, bool, BitM, 7>
pub fn sck_dcap_force(
&mut self
) -> BitWriterRaw<'_, u32, REG_SPEC, bool, BitM, 7>
Bit 7 - N/A
pub fn dig_dbias_slp(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 3, 8>
pub fn dig_dbias_slp(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 3, 8>
Bits 8:10 - DIG_REG_DBIAS during sleep
pub fn dig_dbias_wak(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 3, 11>
pub fn dig_dbias_wak(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 3, 11>
Bits 11:13 - DIG_REG_DBIAS during wakeup
pub fn sck_dcap(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 8, 14>
pub fn sck_dcap(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 8, 14>
Bits 14:21 - SCK_DCAP
pub fn dbias_slp(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 3, 22>
pub fn dbias_slp(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 3, 22>
Bits 22:24 - RTC_DBIAS during sleep
pub fn dbias_wak(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 3, 25>
pub fn dbias_wak(
&mut self
) -> FieldWriterRaw<'_, u32, REG_SPEC, u8, u8, Unsafe, 3, 25>
Bits 25:27 - RTC_DBIAS during wakeup
pub fn dboost_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, REG_SPEC, bool, BitM, 28>
pub fn dboost_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, REG_SPEC, bool, BitM, 28>
Bit 28 - RTC_DBOOST force power down
pub fn dboost_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, REG_SPEC, bool, BitM, 29>
pub fn dboost_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, REG_SPEC, bool, BitM, 29>
Bit 29 - RTC_DBOOST force power up
pub fn force_pd(&mut self) -> BitWriterRaw<'_, u32, REG_SPEC, bool, BitM, 30>
pub fn force_pd(&mut self) -> BitWriterRaw<'_, u32, REG_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 )
Methods from Deref<Target = W<REG_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.