Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_cdc_ecm_endpoints_get.c85 UX_INTERFACE *data_interface; in _ux_host_class_cdc_ecm_endpoints_get() local
91 data_interface = cdc_ecm -> ux_host_class_cdc_ecm_interface_data; in _ux_host_class_cdc_ecm_endpoints_get()
96 if (data_interface -> ux_interface_descriptor.bNumEndpoints == 0) in _ux_host_class_cdc_ecm_endpoints_get()
100 data_interface = data_interface -> ux_interface_next_interface; in _ux_host_class_cdc_ecm_endpoints_get()
103 if (data_interface == UX_NULL || in _ux_host_class_cdc_ecm_endpoints_get()
104data_interface -> ux_interface_descriptor.bInterfaceClass != UX_HOST_CLASS_CDC_DATA_CLASS || in _ux_host_class_cdc_ecm_endpoints_get()
105 data_interface -> ux_interface_descriptor.bAlternateSetting != 1) in _ux_host_class_cdc_ecm_endpoints_get()
119 status = _ux_host_stack_interface_setting_select(data_interface); in _ux_host_class_cdc_ecm_endpoints_get()
129 … for (endpoint_index = 0; endpoint_index < data_interface -> ux_interface_descriptor.bNumEndpoints; in _ux_host_class_cdc_ecm_endpoints_get()
134 _ux_host_stack_interface_endpoint_get(data_interface, endpoint_index, &endpoint); in _ux_host_class_cdc_ecm_endpoints_get()
[all …]