Type Alias esp32s2::apb_saradc::filter_ctrl::R

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

Register FILTER_CTRL reader

Implementations§

source§

impl R

source

pub fn adc2_filter_reset(&self) -> ADC2_FILTER_RESET_R

Bit 0 - Reset ADC2 filter.

source

pub fn adc1_filter_reset(&self) -> ADC1_FILTER_RESET_R

Bit 1 - Reset ADC1 filter.

source

pub fn adc2_filter_factor(&self) -> ADC2_FILTER_FACTOR_R

Bits 16:22 - Set filter factor for DIG ADC2 CRTL.

source

pub fn adc1_filter_factor(&self) -> ADC1_FILTER_FACTOR_R

Bits 23:29 - Set filter factor for DIG ADC1 CRTL.

source

pub fn adc2_filter_en(&self) -> ADC2_FILTER_EN_R

Bit 30 - Enable DIG ADC2 CRTL filter.

source

pub fn adc1_filter_en(&self) -> ADC1_FILTER_EN_R

Bit 31 - Enable DIG ADC1 CRTL filter.