Struct esp32c2_hal::pac::rtc_cntl::cntl_sensor_ctrl::W
pub struct W(_);
Expand description
Register CNTL_SENSOR_CTRL
writer
Implementations§
§impl W
impl W
pub fn sar2_pwdet_cct(
&mut self
) -> FieldWriterRaw<'_, u32, CNTL_SENSOR_CTRL_SPEC, u8, u8, Unsafe, 3, 27>
pub fn sar2_pwdet_cct(
&mut self
) -> FieldWriterRaw<'_, u32, CNTL_SENSOR_CTRL_SPEC, u8, u8, Unsafe, 3, 27>
Bits 27:29 - Need add desc
pub fn force_xpd_sar(
&mut self
) -> FieldWriterRaw<'_, u32, CNTL_SENSOR_CTRL_SPEC, u8, u8, Unsafe, 2, 30>
pub fn force_xpd_sar(
&mut self
) -> FieldWriterRaw<'_, u32, CNTL_SENSOR_CTRL_SPEC, u8, u8, Unsafe, 2, 30>
Bits 30:31 - Need add desc
Methods from Deref<Target = W<CNTL_SENSOR_CTRL_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.
Trait Implementations§
§impl From<W<CNTL_SENSOR_CTRL_SPEC>> for W
impl From<W<CNTL_SENSOR_CTRL_SPEC>> for W
§fn from(writer: W<CNTL_SENSOR_CTRL_SPEC>) -> W
fn from(writer: W<CNTL_SENSOR_CTRL_SPEC>) -> W
Converts to this type from the input type.