Struct esp32c3::apb_saradc::thres0_ctrl::R
source · [−]pub struct R(_);
Expand description
Register THRES0_CTRL
reader
Implementations
sourceimpl R
impl R
sourcepub fn apb_saradc_thres0_channel(&self) -> APB_SARADC_THRES0_CHANNEL_R
pub fn apb_saradc_thres0_channel(&self) -> APB_SARADC_THRES0_CHANNEL_R
Bits 0:3 - configure thres0 to adc channel
sourcepub fn apb_saradc_thres0_high(&self) -> APB_SARADC_THRES0_HIGH_R
pub fn apb_saradc_thres0_high(&self) -> APB_SARADC_THRES0_HIGH_R
Bits 5:17 - saradc thres0 monitor thres
sourcepub fn apb_saradc_thres0_low(&self) -> APB_SARADC_THRES0_LOW_R
pub fn apb_saradc_thres0_low(&self) -> APB_SARADC_THRES0_LOW_R
Bits 18:30 - saradc thres0 monitor thres
Methods from Deref<Target = R<THRES0_CTRL_SPEC>>
Trait Implementations
sourceimpl From<R<THRES0_CTRL_SPEC>> for R
impl From<R<THRES0_CTRL_SPEC>> for R
sourcefn from(reader: R<THRES0_CTRL_SPEC>) -> Self
fn from(reader: R<THRES0_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