Struct esp32c2_hal::pac::apb_saradc::apb_tsens_ctrl::W
pub struct W(_);
Expand description
Register APB_TSENS_CTRL
writer
Implementations§
§impl W
impl W
pub fn reg_tsens_in_inv(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, bool, BitM, 13>
pub fn reg_tsens_in_inv(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, bool, BitM, 13>
Bit 13 - Need add description
pub fn reg_tsens_clk_div(
&mut self
) -> FieldWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, u8, u8, Unsafe, 8, 14>
pub fn reg_tsens_clk_div(
&mut self
) -> FieldWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, u8, u8, Unsafe, 8, 14>
Bits 14:21 - Need add description
pub fn reg_tsens_pu(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, bool, BitM, 22>
pub fn reg_tsens_pu(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, bool, BitM, 22>
Bit 22 - Need add description
Methods from Deref<Target = W<APB_TSENS_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<APB_TSENS_CTRL_SPEC>> for W
impl From<W<APB_TSENS_CTRL_SPEC>> for W
§fn from(writer: W<APB_TSENS_CTRL_SPEC>) -> W
fn from(writer: W<APB_TSENS_CTRL_SPEC>) -> W
Converts to this type from the input type.