Struct esp32c3_hal::pac::rtc_cntl::sensor_ctrl::W
pub struct W(_);
Expand description
Register SENSOR_CTRL
writer
Implementations
impl W
impl W
pub fn sar2_pwdet_cct(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_CTRL_SPEC, u8, u8, Unsafe, 3, 27>
pub fn sar2_pwdet_cct(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_CTRL_SPEC, u8, u8, Unsafe, 3, 27>
Bits 27:29 - reg_sar2_pwdet_cct
pub fn force_xpd_sar(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_CTRL_SPEC, u8, u8, Unsafe, 2, 30>
pub fn force_xpd_sar(
&mut self
) -> FieldWriterRaw<'_, u32, SENSOR_CTRL_SPEC, u8, u8, Unsafe, 2, 30>
Bits 30:31 - force power up SAR
Methods from Deref<Target = W<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<SENSOR_CTRL_SPEC>> for W
impl From<W<SENSOR_CTRL_SPEC>> for W
fn from(writer: W<SENSOR_CTRL_SPEC>) -> W
fn from(writer: W<SENSOR_CTRL_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more