Home
last modified time | relevance | path

Searched refs:apb_periph_ref_cnts (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/esp_adc/
Dadc_oneshot.c49 int apb_periph_ref_cnts; //For the chips that ADC oneshot mode using APB_SARADC periph member
119 s_ctx.apb_periph_ref_cnts++; in adc_oneshot_new_unit()
120 if (s_ctx.apb_periph_ref_cnts == 1) { in adc_oneshot_new_unit()
236 s_ctx.apb_periph_ref_cnts--; in adc_oneshot_del_unit()
237 assert(s_ctx.apb_periph_ref_cnts >= 0); in adc_oneshot_del_unit()
238 if (s_ctx.apb_periph_ref_cnts == 0) { in adc_oneshot_del_unit()