Home
last modified time | relevance | path

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

/hal_espressif-latest/components/driver/touch_sensor/esp32/
Dtouch_sensor.c47 static SemaphoreHandle_t rtc_touch_mux = NULL; variable
280 ESP_RETURN_ON_FALSE(rtc_touch_mux, ESP_FAIL, TOUCH_TAG, "Touch pad not initialized"); in touch_pad_config()
320 if (rtc_touch_mux == NULL) { in touch_pad_init()
321 rtc_touch_mux = xSemaphoreCreateMutex(); in touch_pad_init()
323 if (rtc_touch_mux == NULL) { in touch_pad_init()
334 ESP_RETURN_ON_FALSE(rtc_touch_mux, ESP_FAIL, TOUCH_TAG, "Touch pad not initialized"); in touch_pad_deinit()
336 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_deinit()
350 xSemaphoreGive(rtc_touch_mux); in touch_pad_deinit()
351 vSemaphoreDelete(rtc_touch_mux); in touch_pad_deinit()
352 rtc_touch_mux = NULL; in touch_pad_deinit()
[all …]
/hal_espressif-latest/components/driver/touch_sensor/esp32s3/
Dtouch_sensor.c56 static SemaphoreHandle_t rtc_touch_mux = NULL; variable
281 if (rtc_touch_mux == NULL) { in touch_pad_init()
282 rtc_touch_mux = xSemaphoreCreateMutex(); in touch_pad_init()
284 if (rtc_touch_mux == NULL) { in touch_pad_init()
295 ESP_RETURN_ON_FALSE(rtc_touch_mux, ESP_FAIL, TOUCH_TAG, "Touch pad not initialized"); in touch_pad_deinit()
296 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_deinit()
300 xSemaphoreGive(rtc_touch_mux); in touch_pad_deinit()
301 vSemaphoreDelete(rtc_touch_mux); in touch_pad_deinit()
302 rtc_touch_mux = NULL; in touch_pad_deinit()
/hal_espressif-latest/components/driver/touch_sensor/esp32s2/
Dtouch_sensor.c56 static SemaphoreHandle_t rtc_touch_mux = NULL; variable
307 if (rtc_touch_mux == NULL) { in touch_pad_init()
308 rtc_touch_mux = xSemaphoreCreateMutex(); in touch_pad_init()
310 if (rtc_touch_mux == NULL) { in touch_pad_init()
321 ESP_RETURN_ON_FALSE(rtc_touch_mux, ESP_FAIL, TOUCH_TAG, "Touch pad not initialized"); in touch_pad_deinit()
322 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_deinit()
326 xSemaphoreGive(rtc_touch_mux); in touch_pad_deinit()
327 vSemaphoreDelete(rtc_touch_mux); in touch_pad_deinit()
328 rtc_touch_mux = NULL; in touch_pad_deinit()