Struct esp32s3::apb_saradc::thres_ctrl::W
source · [−]pub struct W(_);Expand description
Register THRES_CTRL writer
Implementations
sourceimpl W
impl W
sourcepub fn thres_all_en(&mut self) -> THRES_ALL_EN_W<'_, 27>
pub fn thres_all_en(&mut self) -> THRES_ALL_EN_W<'_, 27>
Bit 27 - enable thres0 to monitor all channel
sourcepub fn thres3_en(&mut self) -> THRES3_EN_W<'_, 28>
pub fn thres3_en(&mut self) -> THRES3_EN_W<'_, 28>
Bit 28 - no public
sourcepub fn thres2_en(&mut self) -> THRES2_EN_W<'_, 29>
pub fn thres2_en(&mut self) -> THRES2_EN_W<'_, 29>
Bit 29 - no public
sourcepub fn thres1_en(&mut self) -> THRES1_EN_W<'_, 30>
pub fn thres1_en(&mut self) -> THRES1_EN_W<'_, 30>
Bit 30 - enable thres1
sourcepub fn thres0_en(&mut self) -> THRES0_EN_W<'_, 31>
pub fn thres0_en(&mut self) -> 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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