Type Alias esp32c3::apb_saradc::thres0_ctrl::R
source · pub type R = R<THRES0_CTRL_SPEC>;
Expand description
Register THRES0_CTRL
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn thres0_channel(&self) -> THRES0_CHANNEL_R
pub fn thres0_channel(&self) -> THRES0_CHANNEL_R
Bits 0:3 - configure thres0 to adc channel
sourcepub fn thres0_high(&self) -> THRES0_HIGH_R
pub fn thres0_high(&self) -> THRES0_HIGH_R
Bits 5:17 - saradc thres0 monitor thres
sourcepub fn thres0_low(&self) -> THRES0_LOW_R
pub fn thres0_low(&self) -> THRES0_LOW_R
Bits 18:30 - saradc thres0 monitor thres