Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_cdc.c19 usb_host_cdc_instance_struct_t *cdcInstance = (usb_host_cdc_instance_struct_t *)param; in USB_HostCdcClearInHaltCallback() local
21 cdcInstance->controlTransfer = NULL; in USB_HostCdcClearInHaltCallback()
22 if (cdcInstance->inCallbackFn != NULL) in USB_HostCdcClearInHaltCallback()
25 cdcInstance->inCallbackFn(cdcInstance->inCallbackParam, cdcInstance->stallDataBuffer, in USB_HostCdcClearInHaltCallback()
26 cdcInstance->stallDataLength, kStatus_USB_TransferStall); in USB_HostCdcClearInHaltCallback()
28 (void)USB_HostFreeTransfer(cdcInstance->hostHandle, transfer); in USB_HostCdcClearInHaltCallback()
33 usb_host_cdc_instance_struct_t *cdcInstance = (usb_host_cdc_instance_struct_t *)param; in USB_HostCdcClearOutHaltCallback() local
35 cdcInstance->controlTransfer = NULL; in USB_HostCdcClearOutHaltCallback()
36 if (cdcInstance->outCallbackFn != NULL) in USB_HostCdcClearOutHaltCallback()
39 cdcInstance->outCallbackFn(cdcInstance->outCallbackParam, cdcInstance->stallDataBuffer, in USB_HostCdcClearOutHaltCallback()
[all …]