Struct esp32c3_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 tsens_in_inv(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, bool, BitM, 13>
pub fn tsens_in_inv(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, bool, BitM, 13>
Bit 13 - invert temperature sensor data
pub fn tsens_clk_div(
&mut self
) -> FieldWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, u8, u8, Unsafe, 8, 14>
pub fn tsens_clk_div(
&mut self
) -> FieldWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, u8, u8, Unsafe, 8, 14>
Bits 14:21 - temperature sensor clock divider
pub fn tsens_pu(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, bool, BitM, 22>
pub fn tsens_pu(
&mut self
) -> BitWriterRaw<'_, u32, APB_TSENS_CTRL_SPEC, bool, BitM, 22>
Bit 22 - temperature sensor power up
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.
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