Struct esp32s3_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:4 - configure which channel thres0 monitor
pub fn thres1_high(&self) -> FieldReaderRaw<u16, u16>
pub fn thres1_high(&self) -> FieldReaderRaw<u16, u16>
Bits 5:17 - thres1 monitor high thres
pub fn thres1_low(&self) -> FieldReaderRaw<u16, u16>
pub fn thres1_low(&self) -> FieldReaderRaw<u16, u16>
Bits 18:30 - thres1 monitor low 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.