Struct esp32c3::apb_saradc::thres0_ctrl::W
source · pub struct W(_);
Expand description
Register THRES0_CTRL
writer
Implementations§
source§impl W
impl W
sourcepub fn apb_saradc_thres0_channel(
&mut self
) -> APB_SARADC_THRES0_CHANNEL_W<'_, 0>
pub fn apb_saradc_thres0_channel(
&mut self
) -> APB_SARADC_THRES0_CHANNEL_W<'_, 0>
Bits 0:3 - configure thres0 to adc channel
sourcepub fn apb_saradc_thres0_high(&mut self) -> APB_SARADC_THRES0_HIGH_W<'_, 5>
pub fn apb_saradc_thres0_high(&mut self) -> APB_SARADC_THRES0_HIGH_W<'_, 5>
Bits 5:17 - saradc thres0 monitor thres
sourcepub fn apb_saradc_thres0_low(&mut self) -> APB_SARADC_THRES0_LOW_W<'_, 18>
pub fn apb_saradc_thres0_low(&mut self) -> APB_SARADC_THRES0_LOW_W<'_, 18>
Bits 18:30 - saradc thres0 monitor thres