Struct esp32_hal::pac::sens::sar_tsens_ctrl::R
pub struct R(_);
Expand description
Register SAR_TSENS_CTRL
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
pub fn tsens_xpd_force(&self) -> BitReaderRaw<bool>
pub fn tsens_xpd_force(&self) -> BitReaderRaw<bool>
Bit 12
pub fn tsens_clk_inv(&self) -> BitReaderRaw<bool>
pub fn tsens_clk_inv(&self) -> BitReaderRaw<bool>
Bit 13
pub fn tsens_clk_gated(&self) -> BitReaderRaw<bool>
pub fn tsens_clk_gated(&self) -> BitReaderRaw<bool>
Bit 14
pub fn tsens_in_inv(&self) -> BitReaderRaw<bool>
pub fn tsens_in_inv(&self) -> BitReaderRaw<bool>
Bit 15 - invert temperature sensor data
pub fn tsens_clk_div(&self) -> FieldReaderRaw<u8, u8>
pub fn tsens_clk_div(&self) -> FieldReaderRaw<u8, u8>
Bits 16:23 - temperature sensor clock divider
pub fn tsens_power_up(&self) -> BitReaderRaw<bool>
pub fn tsens_power_up(&self) -> BitReaderRaw<bool>
Bit 24 - temperature sensor power up
pub fn tsens_power_up_force(&self) -> BitReaderRaw<bool>
pub fn tsens_power_up_force(&self) -> BitReaderRaw<bool>
Bit 25 - 1: dump out & power up controlled by SW 0: by FSM
pub fn tsens_dump_out(&self) -> BitReaderRaw<bool>
pub fn tsens_dump_out(&self) -> BitReaderRaw<bool>
Bit 26 - temperature sensor dump out only active when reg_tsens_power_up_force = 1
Methods from Deref<Target = R<SAR_TSENS_CTRL_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<SAR_TSENS_CTRL_SPEC>> for R
impl From<R<SAR_TSENS_CTRL_SPEC>> for R
§fn from(reader: R<SAR_TSENS_CTRL_SPEC>) -> R
fn from(reader: R<SAR_TSENS_CTRL_SPEC>) -> R
Converts to this type from the input type.