Module esp32s2::apb_saradc::ctrl
source · Expand description
DIG ADC common configuration
Structs
Type Definitions
Field
DATA_SAR_SEL reader - 1: sar_sel will be coded to the MSB of the 16-bit output data, in this case the resolution should not be larger than 11 bits.Field
DATA_SAR_SEL writer - 1: sar_sel will be coded to the MSB of the 16-bit output data, in this case the resolution should not be larger than 11 bits.Field
DATA_TO_I2S reader - 1: I2S input data is from SAR ADC (for DMA), 0: I2S input data is from GPIO matrixField
DATA_TO_I2S writer - 1: I2S input data is from SAR ADC (for DMA), 0: I2S input data is from GPIO matrixField
SAR1_PATT_LEN reader - 0 ~ 15 means length 1 ~ 16Field
SAR1_PATT_LEN writer - 0 ~ 15 means length 1 ~ 16Field
SAR1_PATT_P_CLEAR reader - Clear the pointer of pattern table for DIG ADC1 CTRL.Field
SAR1_PATT_P_CLEAR writer - Clear the pointer of pattern table for DIG ADC1 CTRL.Field
SAR2_PATT_LEN reader - 0 ~ 15 means length 1 ~ 16Field
SAR2_PATT_LEN writer - 0 ~ 15 means length 1 ~ 16Field
SAR2_PATT_P_CLEAR reader - Clear the pointer of pattern table for DIG ADC2 CTRL.Field
SAR2_PATT_P_CLEAR writer - Clear the pointer of pattern table for DIG ADC2 CTRL.Field
SAR_CLK_DIV reader - SAR clock dividerField
SAR_CLK_DIV writer - SAR clock dividerField
SAR_CLK_GATED reader - SAR clock gate enable bit.Field
SAR_CLK_GATED writer - SAR clock gate enable bit.Field
SAR_SEL reader - 0: select SAR ADC1. 1: select SAR ADC2, only work for single-channel scan mode.Field
SAR_SEL writer - 0: select SAR ADC1. 1: select SAR ADC2, only work for single-channel scan mode.Field
START_FORCE reader - 0: select FSM to start SAR ADC. 1: select software to start SAR ADC.Field
START_FORCE writer - 0: select FSM to start SAR ADC. 1: select software to start SAR ADC.Field
START reader - Start SAR ADC by software.Field
START writer - Start SAR ADC by software.Field
WAIT_ARB_CYCLE reader - Wait arbit signal stable after sar_done.Field
WAIT_ARB_CYCLE writer - Wait arbit signal stable after sar_done.Field
WORK_MODE reader - 0: single-channel scan mode. 1: double-channel scan mode. 2: alternate-channel scan mode.Field
WORK_MODE writer - 0: single-channel scan mode. 1: double-channel scan mode. 2: alternate-channel scan mode.Field
XPD_SAR_FORCE reader - Force option to xpd sar blocks.Field
XPD_SAR_FORCE writer - Force option to xpd sar blocks.