3.5.5.1 usb_host_hid_mouse.h

File Name

usb_host_hid_mouse.h

Description

USB HOST HID Mouse Driver Interface Definition

This header file contains the function prototypes and definitions of the data types and constants that make up the interface between HID Mouse driver and top level application.

Enumeration

Name Description
USB_HOST_HID_MOUSE_EVENTDefines the possible USB HOST HID mouse driver events.
USB_HOST_HID_MOUSE_RESULTUSB Host HID mouse driver results.

Functions

Name Description
_USB_HOST_HID_MOUSE_EventHandlerThis is function _USB_HOST_HID_MOUSE_EventHandler.
_USB_HOST_HID_MOUSE_TaskThis is function _USB_HOST_HID_MOUSE_Task.
USB_HOST_HID_MOUSE_EventHandlerSetThis function registers application callback function with the mouse driver.

Macros

Name Description
USB_HOST_HID_MOUSE_HANDLE_INVALIDThis is macro USB_HOST_HID_MOUSE_HANDLE_INVALID.
USB_HOST_HID_MOUSE_RESULT_MINUSB Host HID mouse driver result minimum constant.

Structures

Name Description
USB_HOST_HID_MOUSE_DATADefines the USB Host HID mouse data object.

Types

Name Description
USB_HOST_HID_MOUSE_EVENT_HANDLER USB HOST mouse driver event handler function pointer type.
USB_HOST_HID_MOUSE_HANDLEUSB HOST HID mouse driver instance handle.