Home
last modified time | relevance | path

Searched refs:out_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.c122 SemaphoreHandle_t out_mux; // OUT mutex member
521 if (cdc_dev->data.out_mux != NULL) { in cdc_acm_transfers_free()
522 vSemaphoreDelete(cdc_dev->data.out_mux); in cdc_acm_transfers_free()
600 cdc_dev->data.out_mux = xSemaphoreCreateMutex(); in cdc_acm_transfers_allocate()
601 ESP_GOTO_ON_FALSE(cdc_dev->data.out_mux, ESP_ERR_NO_MEM, err, TAG,); in cdc_acm_transfers_allocate()
1032 BaseType_t taken = xSemaphoreTake(cdc_dev->data.out_mux, pdMS_TO_TICKS(timeout_ms)); in cdc_acm_host_data_tx_blocking()
1057 xSemaphoreGive(cdc_dev->data.out_mux); in cdc_acm_host_data_tx_blocking()