Home
last modified time | relevance | path

Searched refs:ctrl_transfer (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.c131 usb_transfer_t *ctrl_transfer; // CTRL (endpoint 0) transfer member
526 if (cdc_dev->ctrl_transfer != NULL) { in cdc_acm_transfers_free()
527 if (cdc_dev->ctrl_transfer->context != NULL) { in cdc_acm_transfers_free()
528 vSemaphoreDelete((SemaphoreHandle_t)cdc_dev->ctrl_transfer->context); in cdc_acm_transfers_free()
533 usb_host_transfer_free(cdc_dev->ctrl_transfer); in cdc_acm_transfers_free()
565 usb_host_transfer_alloc(dev_info.bMaxPacketSize0, 0, &cdc_dev->ctrl_transfer), in cdc_acm_transfers_allocate()
567 cdc_dev->ctrl_transfer->timeout_ms = 1000; in cdc_acm_transfers_allocate()
568 cdc_dev->ctrl_transfer->bEndpointAddress = 0; in cdc_acm_transfers_allocate()
569 cdc_dev->ctrl_transfer->device_handle = cdc_dev->dev_hdl; in cdc_acm_transfers_allocate()
570 cdc_dev->ctrl_transfer->context = cdc_dev; in cdc_acm_transfers_allocate()
[all …]