Struct esp32c3::apb_saradc::thres1_ctrl::W
source · pub struct W(_);
Expand description
Register THRES1_CTRL
writer
Implementations§
source§impl W
impl W
sourcepub fn apb_saradc_thres1_channel(
&mut self
) -> APB_SARADC_THRES1_CHANNEL_W<'_, 0>
pub fn apb_saradc_thres1_channel(
&mut self
) -> APB_SARADC_THRES1_CHANNEL_W<'_, 0>
Bits 0:3 - configure thres1 to adc channel
sourcepub fn apb_saradc_thres1_high(&mut self) -> APB_SARADC_THRES1_HIGH_W<'_, 5>
pub fn apb_saradc_thres1_high(&mut self) -> APB_SARADC_THRES1_HIGH_W<'_, 5>
Bits 5:17 - saradc thres1 monitor thres
sourcepub fn apb_saradc_thres1_low(&mut self) -> APB_SARADC_THRES1_LOW_W<'_, 18>
pub fn apb_saradc_thres1_low(&mut self) -> APB_SARADC_THRES1_LOW_W<'_, 18>
Bits 18:30 - saradc thres1 monitor thres