Type Alias esp32::apb_ctrl::apb_saradc_ctrl2::R

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

Register APB_SARADC_CTRL2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn saradc_meas_num_limit(&self) -> SARADC_MEAS_NUM_LIMIT_R

Bit 0

source

pub fn saradc_max_meas_num(&self) -> SARADC_MAX_MEAS_NUM_R

Bits 1:8 - max conversion number

source

pub fn saradc_sar1_inv(&self) -> SARADC_SAR1_INV_R

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

source

pub fn saradc_sar2_inv(&self) -> SARADC_SAR2_INV_R

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