Struct esp32s3_hal::pac::sens::sar_meas2_ctrl2::R
pub struct R(_);
Expand description
Register SAR_MEAS2_CTRL2
reader
Implementations§
§impl R
impl R
pub fn meas2_data_sar(&self) -> FieldReaderRaw<u16, u16>
pub fn meas2_data_sar(&self) -> FieldReaderRaw<u16, u16>
Bits 0:15 - SAR ADC2 data
pub fn meas2_done_sar(&self) -> BitReaderRaw<bool>
pub fn meas2_done_sar(&self) -> BitReaderRaw<bool>
Bit 16 - SAR ADC2 conversion done indication
pub fn meas2_start_sar(&self) -> BitReaderRaw<bool>
pub fn meas2_start_sar(&self) -> BitReaderRaw<bool>
Bit 17 - SAR ADC2 controller (in RTC) starts conversion
pub fn meas2_start_force(&self) -> BitReaderRaw<bool>
pub fn meas2_start_force(&self) -> BitReaderRaw<bool>
Bit 18 - 1: SAR ADC2 controller (in RTC) is started by SW
pub fn sar2_en_pad(&self) -> FieldReaderRaw<u16, u16>
pub fn sar2_en_pad(&self) -> FieldReaderRaw<u16, u16>
Bits 19:30 - SAR ADC2 pad enable bitmap
pub fn sar2_en_pad_force(&self) -> BitReaderRaw<bool>
pub fn sar2_en_pad_force(&self) -> BitReaderRaw<bool>
Bit 31 - 1: SAR ADC2 pad enable bitmap is controlled by SW
Methods from Deref<Target = R<SAR_MEAS2_CTRL2_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<SAR_MEAS2_CTRL2_SPEC>> for R
impl From<R<SAR_MEAS2_CTRL2_SPEC>> for R
§fn from(reader: R<SAR_MEAS2_CTRL2_SPEC>) -> R
fn from(reader: R<SAR_MEAS2_CTRL2_SPEC>) -> R
Converts to this type from the input type.