Type Alias esp32c3::apb_saradc::thres_ctrl::W
source · pub type W = W<THRES_CTRL_SPEC>;
Expand description
Register THRES_CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn thres_all_en(&mut self) -> THRES_ALL_EN_W<'_, THRES_CTRL_SPEC>
pub fn thres_all_en(&mut self) -> THRES_ALL_EN_W<'_, THRES_CTRL_SPEC>
Bit 27 - enable thres to all channel
sourcepub fn thres1_en(&mut self) -> THRES1_EN_W<'_, THRES_CTRL_SPEC>
pub fn thres1_en(&mut self) -> THRES1_EN_W<'_, THRES_CTRL_SPEC>
Bit 30 - enable thres1
sourcepub fn thres0_en(&mut self) -> THRES0_EN_W<'_, THRES_CTRL_SPEC>
pub fn thres0_en(&mut self) -> THRES0_EN_W<'_, THRES_CTRL_SPEC>
Bit 31 - enable thres0