Struct esp32s2::sens::sar_tsens_ctrl::R
source · pub struct R(_);Expand description
Register SAR_TSENS_CTRL reader
Implementations§
source§impl R
impl R
sourcepub fn tsens_out(&self) -> TSENS_OUT_R
pub fn tsens_out(&self) -> TSENS_OUT_R
Bits 0:7 - Temperature sensor data out.
sourcepub fn tsens_ready(&self) -> TSENS_READY_R
pub fn tsens_ready(&self) -> TSENS_READY_R
Bit 8 - Indicate temperature sensor out ready.
sourcepub fn tsens_int_en(&self) -> TSENS_INT_EN_R
pub fn tsens_int_en(&self) -> TSENS_INT_EN_R
Bit 12 - Enable temperature sensor to send out interrupt.
sourcepub fn tsens_in_inv(&self) -> TSENS_IN_INV_R
pub fn tsens_in_inv(&self) -> TSENS_IN_INV_R
Bit 13 - Invert temperature sensor data.
sourcepub fn tsens_clk_div(&self) -> TSENS_CLK_DIV_R
pub fn tsens_clk_div(&self) -> TSENS_CLK_DIV_R
Bits 14:21 - Temperature sensor clock divider.
sourcepub fn tsens_power_up(&self) -> TSENS_POWER_UP_R
pub fn tsens_power_up(&self) -> TSENS_POWER_UP_R
Bit 22 - Temperature sensor power up.
sourcepub fn tsens_power_up_force(&self) -> TSENS_POWER_UP_FORCE_R
pub fn tsens_power_up_force(&self) -> TSENS_POWER_UP_FORCE_R
Bit 23 - 1: dump out and power up controlled by software. 0: by FSM.
sourcepub fn tsens_dump_out(&self) -> TSENS_DUMP_OUT_R
pub fn tsens_dump_out(&self) -> TSENS_DUMP_OUT_R
Bit 24 - Temperature sensor dump out only active when SENS_TSENS_POWER_UP_FORCE = 1.