Struct esp32c3::apb_saradc::thres_ctrl::W
source · pub struct W(_);Expand description
Register THRES_CTRL writer
Implementations
sourceimpl W
impl W
sourcepub fn apb_saradc_thres_all_en(&mut self) -> APB_SARADC_THRES_ALL_EN_W<'_, 27>
pub fn apb_saradc_thres_all_en(&mut self) -> APB_SARADC_THRES_ALL_EN_W<'_, 27>
Bit 27 - enable thres to all channel
sourcepub fn apb_saradc_thres1_en(&mut self) -> APB_SARADC_THRES1_EN_W<'_, 30>
pub fn apb_saradc_thres1_en(&mut self) -> APB_SARADC_THRES1_EN_W<'_, 30>
Bit 30 - enable thres1
sourcepub fn apb_saradc_thres0_en(&mut self) -> APB_SARADC_THRES0_EN_W<'_, 31>
pub fn apb_saradc_thres0_en(&mut self) -> APB_SARADC_THRES0_EN_W<'_, 31>
Bit 31 - enable thres0
Methods from Deref<Target = W<THRES_CTRL_SPEC>>
Trait Implementations
sourceimpl From<W<THRES_CTRL_SPEC>> for W
impl From<W<THRES_CTRL_SPEC>> for W
sourcefn from(writer: W<THRES_CTRL_SPEC>) -> Self
fn from(writer: W<THRES_CTRL_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more