pub type W = W<SAR_TSENS_CTRL_SPEC>;
Expand description
Register SAR_TSENS_CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn tsens_xpd_wait(&mut self) -> TSENS_XPD_WAIT_W<'_, SAR_TSENS_CTRL_SPEC>
pub fn tsens_xpd_wait(&mut self) -> TSENS_XPD_WAIT_W<'_, SAR_TSENS_CTRL_SPEC>
Bits 0:11
Sourcepub fn tsens_xpd_force(&mut self) -> TSENS_XPD_FORCE_W<'_, SAR_TSENS_CTRL_SPEC>
pub fn tsens_xpd_force(&mut self) -> TSENS_XPD_FORCE_W<'_, SAR_TSENS_CTRL_SPEC>
Bit 12
Sourcepub fn tsens_clk_inv(&mut self) -> TSENS_CLK_INV_W<'_, SAR_TSENS_CTRL_SPEC>
pub fn tsens_clk_inv(&mut self) -> TSENS_CLK_INV_W<'_, SAR_TSENS_CTRL_SPEC>
Bit 13
Sourcepub fn tsens_clk_gated(&mut self) -> TSENS_CLK_GATED_W<'_, SAR_TSENS_CTRL_SPEC>
pub fn tsens_clk_gated(&mut self) -> TSENS_CLK_GATED_W<'_, SAR_TSENS_CTRL_SPEC>
Bit 14
Sourcepub fn tsens_in_inv(&mut self) -> TSENS_IN_INV_W<'_, SAR_TSENS_CTRL_SPEC>
pub fn tsens_in_inv(&mut self) -> TSENS_IN_INV_W<'_, SAR_TSENS_CTRL_SPEC>
Bit 15 - invert temperature sensor data
Sourcepub fn tsens_clk_div(&mut self) -> TSENS_CLK_DIV_W<'_, SAR_TSENS_CTRL_SPEC>
pub fn tsens_clk_div(&mut self) -> TSENS_CLK_DIV_W<'_, SAR_TSENS_CTRL_SPEC>
Bits 16:23 - temperature sensor clock divider
Sourcepub fn tsens_power_up(&mut self) -> TSENS_POWER_UP_W<'_, SAR_TSENS_CTRL_SPEC>
pub fn tsens_power_up(&mut self) -> TSENS_POWER_UP_W<'_, SAR_TSENS_CTRL_SPEC>
Bit 24 - temperature sensor power up
Sourcepub fn tsens_power_up_force(
&mut self,
) -> TSENS_POWER_UP_FORCE_W<'_, SAR_TSENS_CTRL_SPEC>
pub fn tsens_power_up_force( &mut self, ) -> TSENS_POWER_UP_FORCE_W<'_, SAR_TSENS_CTRL_SPEC>
Bit 25 - 1: dump out & power up controlled by SW 0: by FSM
Sourcepub fn tsens_dump_out(&mut self) -> TSENS_DUMP_OUT_W<'_, SAR_TSENS_CTRL_SPEC>
pub fn tsens_dump_out(&mut self) -> TSENS_DUMP_OUT_W<'_, SAR_TSENS_CTRL_SPEC>
Bit 26 - temperature sensor dump out only active when reg_tsens_power_up_force = 1