Struct esp32c3_hal::pac::apb_saradc::tsens_ctrl2::R
pub struct R(_);
Expand description
Register TSENS_CTRL2
reader
Implementations
impl R
impl R
pub fn tsens_xpd_wait(&self) -> FieldReaderRaw<u16, u16>
pub fn tsens_xpd_wait(&self) -> FieldReaderRaw<u16, u16>
Bits 0:11 - the time that power up tsens need wait
pub fn tsens_xpd_force(&self) -> FieldReaderRaw<u8, u8>
pub fn tsens_xpd_force(&self) -> FieldReaderRaw<u8, u8>
Bits 12:13 - force power up tsens
pub fn tsens_clk_inv(&self) -> BitReaderRaw<bool>
pub fn tsens_clk_inv(&self) -> BitReaderRaw<bool>
Bit 14 - inv tsens clk
pub fn tsens_clk_sel(&self) -> BitReaderRaw<bool>
pub fn tsens_clk_sel(&self) -> BitReaderRaw<bool>
Bit 15 - tsens clk select
Methods from Deref<Target = R<TSENS_CTRL2_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<TSENS_CTRL2_SPEC>> for R
impl From<R<TSENS_CTRL2_SPEC>> for R
fn from(reader: R<TSENS_CTRL2_SPEC>) -> R
fn from(reader: R<TSENS_CTRL2_SPEC>) -> R
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