Struct esp32c2_hal::pac::apb_saradc::ctrl::R
pub struct R(_);
Expand description
Register CTRL
reader
Implementations§
§impl R
impl R
pub fn saradc_start_force(&self) -> BitReaderRaw<bool>
pub fn saradc_start_force(&self) -> BitReaderRaw<bool>
Bit 0 - Need add description
pub fn saradc_start(&self) -> BitReaderRaw<bool>
pub fn saradc_start(&self) -> BitReaderRaw<bool>
Bit 1 - Need add description
pub fn saradc_sar_clk_gated(&self) -> BitReaderRaw<bool>
pub fn saradc_sar_clk_gated(&self) -> BitReaderRaw<bool>
Bit 6 - Need add description
pub fn saradc_sar_clk_div(&self) -> FieldReaderRaw<u8, u8>
pub fn saradc_sar_clk_div(&self) -> FieldReaderRaw<u8, u8>
Bits 7:14 - SAR clock divider
pub fn saradc_sar_patt_len(&self) -> FieldReaderRaw<u8, u8>
pub fn saradc_sar_patt_len(&self) -> FieldReaderRaw<u8, u8>
Bits 15:17 - 0 ~ 15 means length 1 ~ 16
pub fn saradc_sar_patt_p_clear(&self) -> BitReaderRaw<bool>
pub fn saradc_sar_patt_p_clear(&self) -> BitReaderRaw<bool>
Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL
pub fn saradc_xpd_sar_force(&self) -> FieldReaderRaw<u8, u8>
pub fn saradc_xpd_sar_force(&self) -> FieldReaderRaw<u8, u8>
Bits 27:28 - force option to xpd sar blocks
pub fn saradc_wait_arb_cycle(&self) -> FieldReaderRaw<u8, u8>
pub fn saradc_wait_arb_cycle(&self) -> FieldReaderRaw<u8, u8>
Bits 30:31 - wait arbit signal stable after sar_done
Methods from Deref<Target = R<CTRL_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.