Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/
Dcdc_acm_host.c207 cdc_acm_obj_t *cdc_acm_obj = p_cdc_acm_obj; // Make local copy of the driver's handle in cdc_acm_client_task() local
208 assert(cdc_acm_obj->cdc_acm_client_hdl); in cdc_acm_client_task()
212 usb_host_client_handle_events(cdc_acm_obj->cdc_acm_client_hdl, portMAX_DELAY); in cdc_acm_client_task()
213 EventBits_t events = xEventGroupGetBits(cdc_acm_obj->event_group); in cdc_acm_client_task()
220 ESP_ERROR_CHECK(usb_host_client_deregister(cdc_acm_obj->cdc_acm_client_hdl)); in cdc_acm_client_task()
221 xEventGroupSetBits(cdc_acm_obj->event_group, CDC_ACM_TEARDOWN_COMPLETE); in cdc_acm_client_task()
404 cdc_acm_obj_t *cdc_acm_obj = heap_caps_calloc(1, sizeof(cdc_acm_obj_t), MALLOC_CAP_DEFAULT); in cdc_acm_host_install() local
412 if (cdc_acm_obj == NULL || driver_task_h == NULL || event_group == NULL || mutex == NULL) { in cdc_acm_host_install()
428 SLIST_INIT(&(cdc_acm_obj->cdc_devices_list)); in cdc_acm_host_install()
429 cdc_acm_obj->event_group = event_group; in cdc_acm_host_install()
[all …]