Struct esp32s3_hal::pac::sens::sar_reader2_ctrl::R
pub struct R(_);
Expand description
Register SAR_READER2_CTRL
reader
Implementations§
§impl R
impl R
pub fn sar_sar2_clk_div(&self) -> FieldReaderRaw<u8, u8>
pub fn sar_sar2_clk_div(&self) -> FieldReaderRaw<u8, u8>
Bits 0:7 - clock divider
pub fn sar_sar2_wait_arb_cycle(&self) -> FieldReaderRaw<u8, u8>
pub fn sar_sar2_wait_arb_cycle(&self) -> FieldReaderRaw<u8, u8>
Bits 16:17 - wait arbit stable after sar_done
pub fn sar_sar2_clk_gated(&self) -> BitReaderRaw<bool>
pub fn sar_sar2_clk_gated(&self) -> BitReaderRaw<bool>
Bit 18 - ******* Description ***********
pub fn sar_sar2_sample_num(&self) -> FieldReaderRaw<u8, u8>
pub fn sar_sar2_sample_num(&self) -> FieldReaderRaw<u8, u8>
Bits 19:26 - ******* Description ***********
pub fn sar_sar2_data_inv(&self) -> BitReaderRaw<bool>
pub fn sar_sar2_data_inv(&self) -> BitReaderRaw<bool>
Bit 29 - Invert SAR ADC2 data
pub fn sar_sar2_int_en(&self) -> BitReaderRaw<bool>
pub fn sar_sar2_int_en(&self) -> BitReaderRaw<bool>
Bit 30 - enable saradc2 to send out interrupt
Methods from Deref<Target = R<SAR_READER2_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<SAR_READER2_CTRL_SPEC>> for R
impl From<R<SAR_READER2_CTRL_SPEC>> for R
§fn from(reader: R<SAR_READER2_CTRL_SPEC>) -> R
fn from(reader: R<SAR_READER2_CTRL_SPEC>) -> R
Converts to this type from the input type.