Define and functions required by UHC.
Value:{ \
.sof_notify = NULL, \
}
void uhi_hid_mouse_uninstall(uhc_device_t *dev)
Definition: uhi_hid_mouse.c:175
uhc_enum_status_t uhi_hid_mouse_install(uhc_device_t *dev)
Definition: uhi_hid_mouse.c:104
void uhi_hid_mouse_enable(uhc_device_t *dev)
Definition: uhi_hid_mouse.c:163
Global define which contains standard UHI API for UHC It must be added in USB_HOST_UHI define from conf_usb_host.h file.
void uhi_hid_mouse_enable |
( |
uhc_device_t * |
dev | ) |
|
uhc_enum_status_t uhi_hid_mouse_install |
( |
uhc_device_t * |
dev | ) |
|
References Assert, usb_iface_desc_t::bDescriptorType, usb_iface_desc_t::bInterfaceClass, usb_iface_desc_t::bInterfaceProtocol, usb_iface_desc_t::bLength, uhi_hid_mouse_dev_t::dev, uhi_hid_mouse_dev_t::ep_in, HID_CLASS, HID_PROTOCOL_MOUSE, le16_to_cpu, uhi_hid_mouse_dev_t::report, uhi_hid_mouse_dev_t::report_size, uhd_ep_alloc(), USB_DT_ENDPOINT, USB_DT_INTERFACE, and USB_EP_DIR_IN.
void uhi_hid_mouse_uninstall |
( |
uhc_device_t * |
dev | ) |
|