Struct esp32h2::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
Methods from Deref<Target = W<THRES1_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more