Home
last modified time | relevance | path

Searched refs:ctrl_mux (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.c132 SemaphoreHandle_t ctrl_mux; // CTRL mutex member
530 if (cdc_dev->ctrl_mux != NULL) { in cdc_acm_transfers_free()
531 vSemaphoreDelete(cdc_dev->ctrl_mux); in cdc_acm_transfers_free()
574 cdc_dev->ctrl_mux = xSemaphoreCreateMutex(); in cdc_acm_transfers_allocate()
575 ESP_GOTO_ON_FALSE(cdc_dev->ctrl_mux, ESP_ERR_NO_MEM, err, TAG,); in cdc_acm_transfers_allocate()
1118 BaseType_t taken = xSemaphoreTake(cdc_dev->ctrl_mux, pdMS_TO_TICKS(1000)); in send_cdc_request()
1158 xSemaphoreGive(cdc_dev->ctrl_mux); in send_cdc_request()