Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/driver/
Dadc_deprecated.c52 esp_pm_lock_handle_t adc_digi_arbiter_lock = NULL; variable
446 if (adc_digi_arbiter_lock) { in adc_digi_deinit()
447 esp_pm_lock_delete(adc_digi_arbiter_lock); in adc_digi_deinit()
448 adc_digi_arbiter_lock = NULL; in adc_digi_deinit()
564 if (adc_digi_arbiter_lock == NULL) { in adc_digi_controller_config()
566 err = esp_pm_lock_create(ESP_PM_NO_LIGHT_SLEEP, 0, "adc_dma", &adc_digi_arbiter_lock); in adc_digi_controller_config()
568 err = esp_pm_lock_create(ESP_PM_APB_FREQ_MAX, 0, "adc_dma", &adc_digi_arbiter_lock); in adc_digi_controller_config()
571 adc_digi_arbiter_lock = NULL; in adc_digi_controller_config()
Dadc.c101 extern esp_pm_lock_handle_t adc_digi_arbiter_lock;
416 …ESP_RETURN_ON_FALSE((adc_digi_arbiter_lock), ESP_FAIL, ADC_TAG, "Should start after call `adc_digi… in adc_digi_start()
417 esp_pm_lock_acquire(adc_digi_arbiter_lock); in adc_digi_start()
464 if (adc_digi_arbiter_lock) { in adc_digi_stop()
465 esp_pm_lock_release(adc_digi_arbiter_lock); in adc_digi_stop()