Expand description
configure apb saradc controller
Structs§
- CTRL_
SPEC - configure apb saradc controller
Type Aliases§
- DATA_
SAR_ SEL_ R - Field
DATA_SAR_SEL
reader - 1: sar_sel will be coded by the MSB of the 16-bit output data, in this case the resolution should not be larger than 11 bits. - DATA_
SAR_ SEL_ W - Field
DATA_SAR_SEL
writer - 1: sar_sel will be coded by the MSB of the 16-bit output data, in this case the resolution should not be larger than 11 bits. - DATA_
TO_ I2S_ R - Field
DATA_TO_I2S
reader - 1: I2S input data is from SAR ADC (for DMA), 0: I2S input data is from GPIO matrix - DATA_
TO_ I2S_ W - Field
DATA_TO_I2S
writer - 1: I2S input data is from SAR ADC (for DMA), 0: I2S input data is from GPIO matrix - R
- Register
CTRL
reader - SAR1_
PATT_ LEN_ R - Field
SAR1_PATT_LEN
reader - 0 ~ 15 means length 1 ~ 16 - SAR1_
PATT_ LEN_ W - Field
SAR1_PATT_LEN
writer - 0 ~ 15 means length 1 ~ 16 - SAR1_
PATT_ P_ CLEAR_ R - Field
SAR1_PATT_P_CLEAR
reader - clear the pointer of pattern table for DIG ADC1 CTRL - SAR1_
PATT_ P_ CLEAR_ W - Field
SAR1_PATT_P_CLEAR
writer - clear the pointer of pattern table for DIG ADC1 CTRL - SAR2_
PATT_ LEN_ R - Field
SAR2_PATT_LEN
reader - 0 ~ 15 means length 1 ~ 16 - SAR2_
PATT_ LEN_ W - Field
SAR2_PATT_LEN
writer - 0 ~ 15 means length 1 ~ 16 - SAR2_
PATT_ P_ CLEAR_ R - Field
SAR2_PATT_P_CLEAR
reader - clear the pointer of pattern table for DIG ADC2 CTRL - SAR2_
PATT_ P_ CLEAR_ W - Field
SAR2_PATT_P_CLEAR
writer - clear the pointer of pattern table for DIG ADC2 CTRL - SAR_
CLK_ DIV_ R - Field
SAR_CLK_DIV
reader - SAR clock divider - SAR_
CLK_ DIV_ W - Field
SAR_CLK_DIV
writer - SAR clock divider - SAR_
CLK_ GATED_ R - Field
SAR_CLK_GATED
reader - enable SAR CLK gate when saradc idle - SAR_
CLK_ GATED_ W - Field
SAR_CLK_GATED
writer - enable SAR CLK gate when saradc idle - SAR_
SEL_ R - Field
SAR_SEL
reader - 0: SAR1, 1: SAR2, only work for single SAR mode - SAR_
SEL_ W - Field
SAR_SEL
writer - 0: SAR1, 1: SAR2, only work for single SAR mode - START_
FORCE_ R - Field
START_FORCE
reader - enable start saradc by sw - START_
FORCE_ W - Field
START_FORCE
writer - enable start saradc by sw - START_R
- Field
START
reader - start saradc by sw - START_W
- Field
START
writer - start saradc by sw - W
- Register
CTRL
writer - WAIT_
ARB_ CYCLE_ R - Field
WAIT_ARB_CYCLE
reader - wait arbit signal stable after sar_done - WAIT_
ARB_ CYCLE_ W - Field
WAIT_ARB_CYCLE
writer - wait arbit signal stable after sar_done - WORK_
MODE_ R - Field
WORK_MODE
reader - 0: single mode, 1: double mode, 2: alternate mode - WORK_
MODE_ W - Field
WORK_MODE
writer - 0: single mode, 1: double mode, 2: alternate mode - XPD_
SAR_ FORCE_ R - Field
XPD_SAR_FORCE
reader - force option to xpd sar blocks - XPD_
SAR_ FORCE_ W - Field
XPD_SAR_FORCE
writer - force option to xpd sar blocks