Struct esp32c2_hal::pac::apb_saradc::apb_tsens_ctrl2::W
pub struct W(_);
Expand description
Register APB_TSENS_CTRL2
writer
Implementations§
§impl W
impl W
pub fn reg_tsens_xpd_wait(
&mut self
) -> FieldWriterRaw<'_, u32, APB_TSENS_CTRL2_SPEC, u16, u16, Unsafe, 12, 0>
pub fn reg_tsens_xpd_wait(
&mut self
) -> FieldWriterRaw<'_, u32, APB_TSENS_CTRL2_SPEC, u16, u16, Unsafe, 12, 0>
Bits 0:11 - Need add description
pub fn reg_tsens_xpd_force(
&mut self
) -> FieldWriterRaw<'_, u32, APB_TSENS_CTRL2_SPEC, u8, u8, Unsafe, 2, 12>
pub fn reg_tsens_xpd_force(
&mut self
) -> FieldWriterRaw<'_, u32, APB_TSENS_CTRL2_SPEC, u8, u8, Unsafe, 2, 12>
Bits 12:13 - Need add description
pub fn reg_tsens_clk_inv(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL2_SPEC, bool, BitM, 14>
pub fn reg_tsens_clk_inv(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL2_SPEC, bool, BitM, 14>
Bit 14 - Need add description
pub fn tsens_clk_sel(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL2_SPEC, bool, BitM, 15>
pub fn tsens_clk_sel(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL2_SPEC, bool, BitM, 15>
Bit 15 - Need add description
Methods from Deref<Target = W<APB_TSENS_CTRL2_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<APB_TSENS_CTRL2_SPEC>> for W
impl From<W<APB_TSENS_CTRL2_SPEC>> for W
§fn from(writer: W<APB_TSENS_CTRL2_SPEC>) -> W
fn from(writer: W<APB_TSENS_CTRL2_SPEC>) -> W
Converts to this type from the input type.