Define and functions required by UHC.
|
#define | UHI_VENDOR |
| Global define which contains standard UHI API for UHC It must be added in USB_HOST_UHI define from conf_usb_host.h file. More...
|
|
Value:{ \
}
void uhi_vendor_uninstall(uhc_device_t *dev)
Definition: uhi_vendor.c:225
#define NULL
Definition: nm_bsp.h:64
void uhi_vendor_enable(uhc_device_t *dev)
Definition: uhi_vendor.c:201
uhc_enum_status_t uhi_vendor_install(uhc_device_t *dev)
Definition: uhi_vendor.c:89
Global define which contains standard UHI API for UHC It must be added in USB_HOST_UHI define from conf_usb_host.h file.
References uhc_device_t::address, uhi_vendor_dev_t::bInterfaceNumber, usb_setup_req_t::bmRequestType, usb_setup_req_t::bRequest, uhi_vendor_dev_t::dev, NULL, uhd_setup_request(), UHI_VENDOR_CHANGE, USB_REQ_RECIP_INTERFACE, USB_REQ_SET_INTERFACE, usb_setup_req_t::wIndex, usb_setup_req_t::wLength, and usb_setup_req_t::wValue.
References uhc_device_t::address, Assert, usb_iface_desc_t::bAlternateSetting, usb_iface_desc_t::bDescriptorType, usb_iface_desc_t::bInterfaceClass, uhi_vendor_dev_t::bInterfaceNumber, usb_iface_desc_t::bInterfaceNumber, usb_iface_desc_t::bInterfaceProtocol, usb_iface_desc_t::bInterfaceSubClass, usb_iface_desc_t::bLength, uhc_device_t::conf_desc, uhi_vendor_dev_t::dev, dev, uhc_device_t::dev_desc, uhi_vendor_dev_t::ep_bulk_in, uhi_vendor_dev_t::ep_bulk_out, uhi_vendor_dev_t::ep_int_in, uhi_vendor_dev_t::ep_int_out, uhi_vendor_dev_t::ep_iso_in, uhi_vendor_dev_t::ep_iso_out, i, usb_dev_desc_t::idProduct, usb_dev_desc_t::idVendor, le16_to_cpu, NULL, uhc_device_t::speed, UHC_ENUM_HARDWARE_LIMIT, UHC_ENUM_SOFTWARE_LIMIT, UHC_ENUM_SUCCESS, UHC_ENUM_UNSUPPORTED, uhd_ep_alloc(), UHI_VENDOR_VID_PID_LIST, USB_DT_ENDPOINT, USB_DT_INTERFACE, USB_EP_DIR_IN, USB_EP_TYPE_BULK, USB_EP_TYPE_INTERRUPT, USB_EP_TYPE_ISOCHRONOUS, USB_EP_TYPE_MASK, VENDOR_CLASS, VENDOR_PROTOCOL, VENDOR_SUBCLASS, and usb_conf_desc_t::wTotalLength.