Type Alias esp32c3::apb_saradc::filter_ctrl0::W
source · pub type W = W<FILTER_CTRL0_SPEC>;
Expand description
Register FILTER_CTRL0
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn filter_channel1(&mut self) -> FILTER_CHANNEL1_W<'_, FILTER_CTRL0_SPEC>
pub fn filter_channel1(&mut self) -> FILTER_CHANNEL1_W<'_, FILTER_CTRL0_SPEC>
Bits 18:21 - configure filter1 to adc channel
sourcepub fn filter_channel0(&mut self) -> FILTER_CHANNEL0_W<'_, FILTER_CTRL0_SPEC>
pub fn filter_channel0(&mut self) -> FILTER_CHANNEL0_W<'_, FILTER_CTRL0_SPEC>
Bits 22:25 - configure filter0 to adc channel
sourcepub fn filter_reset(&mut self) -> FILTER_RESET_W<'_, FILTER_CTRL0_SPEC>
pub fn filter_reset(&mut self) -> FILTER_RESET_W<'_, FILTER_CTRL0_SPEC>
Bit 31 - enable apb_adc1_filter