Type Alias esp32s2::sens::sar_meas2_ctrl1::R

source ·
pub type R = R<SAR_MEAS2_CTRL1_SPEC>;
Expand description

Register SAR_MEAS2_CTRL1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn sar2_cntl_state(&self) -> SAR2_CNTL_STATE_R

Bits 0:2 - saradc2_cntl_fsm

source

pub fn sar2_pwdet_cal_en(&self) -> SAR2_PWDET_CAL_EN_R

Bit 3 - rtc control pwdet enable

source

pub fn sar2_pkdet_cal_en(&self) -> SAR2_PKDET_CAL_EN_R

Bit 4 - rtc control pkdet enable

source

pub fn sar2_en_test(&self) -> SAR2_EN_TEST_R

Bit 5 - SAR2_EN_TEST

source

pub fn sar2_rstb_force(&self) -> SAR2_RSTB_FORCE_R

Bits 6:7

source

pub fn sar2_standby_wait(&self) -> SAR2_STANDBY_WAIT_R

Bits 8:15

source

pub fn sar2_rstb_wait(&self) -> SAR2_RSTB_WAIT_R

Bits 16:23

source

pub fn sar2_xpd_wait(&self) -> SAR2_XPD_WAIT_R

Bits 24:31