Struct esp32c2_hal::pac::apb_saradc::thres1_ctrl::R
pub struct R(_);
Expand description
Register THRES1_CTRL
reader
Implementations
impl R
impl R
pub fn thres1_channel(&self) -> FieldReaderRaw<u8, u8>
pub fn thres1_channel(&self) -> FieldReaderRaw<u8, u8>
Bits 0:3 - Need add description
pub fn thres1_high(&self) -> FieldReaderRaw<u16, u16>
pub fn thres1_high(&self) -> FieldReaderRaw<u16, u16>
Bits 5:17 - saradc1’s thres0 monitor thres
pub fn thres1_low(&self) -> FieldReaderRaw<u16, u16>
pub fn thres1_low(&self) -> FieldReaderRaw<u16, u16>
Bits 18:30 - saradc1’s thres0 monitor thres
Methods from Deref<Target = R<THRES1_CTRL_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<THRES1_CTRL_SPEC>> for R
impl From<R<THRES1_CTRL_SPEC>> for R
fn from(reader: R<THRES1_CTRL_SPEC>) -> R
fn from(reader: R<THRES1_CTRL_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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