Type Alias esp32::apb_ctrl::apb_saradc_ctrl2::W

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

Register APB_SARADC_CTRL2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn saradc_meas_num_limit( &mut self ) -> SARADC_MEAS_NUM_LIMIT_W<'_, APB_SARADC_CTRL2_SPEC>

Bit 0

source

pub fn saradc_max_meas_num( &mut self ) -> SARADC_MAX_MEAS_NUM_W<'_, APB_SARADC_CTRL2_SPEC>

Bits 1:8 - max conversion number

source

pub fn saradc_sar1_inv( &mut self ) -> SARADC_SAR1_INV_W<'_, APB_SARADC_CTRL2_SPEC>

Bit 9 - 1: data to DIG ADC1 CTRL is inverted otherwise not

source

pub fn saradc_sar2_inv( &mut self ) -> SARADC_SAR2_INV_W<'_, APB_SARADC_CTRL2_SPEC>

Bit 10 - 1: data to DIG ADC2 CTRL is inverted otherwise not