Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/touch_element/
Dtouch_element.c407 …guard_ring_pad = (waterproof_guard_check_state() ? waterproof_handle->guard_device->channel : TOUC… in te_proc_timer_cb()
693 waterproof_handle->guard_device = (te_dev_t *)calloc(1, sizeof(te_dev_t)); in touch_element_waterproof_install()
694 … TE_CHECK_GOTO(waterproof_handle->mask_handle != NULL && waterproof_handle->guard_device, cleanup); in touch_element_waterproof_install()
696 ret = te_dev_init(&waterproof_handle->guard_device, 1, TOUCH_ELEM_TYPE_BUTTON, in touch_element_waterproof_install()
700 waterproof_handle->guard_device->state = TE_STATE_RELEASE; in touch_element_waterproof_install()
705 waterproof_handle->guard_device = NULL; in touch_element_waterproof_install()
721 TE_FREE_AND_NULL(waterproof_handle->guard_device); in touch_element_waterproof_install()
729 TE_CHECK(s_te_obj->waterproof_handle->guard_device != NULL, ESP_ERR_INVALID_STATE); in touch_element_waterproof_add()
765 free(s_te_obj->waterproof_handle->guard_device); in touch_element_waterproof_uninstall()
807 …if (s_te_obj->waterproof_handle->guard_device == NULL || s_te_obj->waterproof_handle->mask_handle … in waterproof_guard_check_state()
[all …]
/hal_espressif-2.7.6/components/touch_element/include/touch_element/
Dtouch_element_private.h84 te_dev_t *guard_device; //Waterproof guard channel device member