Type Alias esp32s2::sens::sar_amp_ctrl3::W

source ·
pub type W = W<SAR_AMP_CTRL3_SPEC>;
Expand description

Register SAR_AMP_CTRL3 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sar1_dac_xpd_fsm( &mut self ) -> SAR1_DAC_XPD_FSM_W<'_, SAR_AMP_CTRL3_SPEC, 0>

Bits 0:3 - Control of DAC. 4’b0010: disable DAC. 4’b0000: power up DAC by FSM. 4’b0011: power up DAC by software.

source

pub fn xpd_sar_amp_fsm( &mut self ) -> XPD_SAR_AMP_FSM_W<'_, SAR_AMP_CTRL3_SPEC, 4>

Bits 4:7

source

pub fn amp_rst_fb_fsm(&mut self) -> AMP_RST_FB_FSM_W<'_, SAR_AMP_CTRL3_SPEC, 8>

Bits 8:11

source

pub fn amp_short_ref_fsm( &mut self ) -> AMP_SHORT_REF_FSM_W<'_, SAR_AMP_CTRL3_SPEC, 12>

Bits 12:15

source

pub fn amp_short_ref_gnd_fsm( &mut self ) -> AMP_SHORT_REF_GND_FSM_W<'_, SAR_AMP_CTRL3_SPEC, 16>

Bits 16:19

source

pub fn xpd_sar_fsm(&mut self) -> XPD_SAR_FSM_W<'_, SAR_AMP_CTRL3_SPEC, 20>

Bits 20:23

source

pub fn sar_rstb_fsm(&mut self) -> SAR_RSTB_FSM_W<'_, SAR_AMP_CTRL3_SPEC, 24>

Bits 24:27

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual