Struct esp32_hal::pac::sens::sar_meas_start2::R
pub struct R(_);
Expand description
Register SAR_MEAS_START2
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 only active when reg_meas2_start_force = 1
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 0: SAR ADC2 controller is started by ULP-coprocessor
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 only active when reg_sar2_en_pad_force = 1
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 0: SAR ADC2 pad enable bitmap is controlled by ULP-coprocessor
Methods from Deref<Target = R<SAR_MEAS_START2_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_MEAS_START2_SPEC>> for R
impl From<R<SAR_MEAS_START2_SPEC>> for R
§fn from(reader: R<SAR_MEAS_START2_SPEC>) -> R
fn from(reader: R<SAR_MEAS_START2_SPEC>) -> R
Converts to this type from the input type.