Type Alias esp32c3::apb_saradc::thres_ctrl::R
source · pub type R = R<THRES_CTRL_SPEC>;
Expand description
Register THRES_CTRL
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn thres_all_en(&self) -> THRES_ALL_EN_R
pub fn thres_all_en(&self) -> THRES_ALL_EN_R
Bit 27 - enable thres to all channel
sourcepub fn thres1_en(&self) -> THRES1_EN_R
pub fn thres1_en(&self) -> THRES1_EN_R
Bit 30 - enable thres1
sourcepub fn thres0_en(&self) -> THRES0_EN_R
pub fn thres0_en(&self) -> THRES0_EN_R
Bit 31 - enable thres0