STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
Eclipse_WS2
STM32F769IDiscovery
Middlewares
ST
STM32_USB_Host_Library
Class
HID
Inc
usbh_hid_mouse.h
Go to the documentation of this file.
1
28
/* Define to prevent recursive ----------------------------------------------*/
29
#ifndef __USBH_HID_MOUSE_H
30
#define __USBH_HID_MOUSE_H
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
/* Includes ------------------------------------------------------------------*/
37
#include "
usbh_hid.h
"
38
61
typedef
struct
_HID_MOUSE_Info
62
{
63
uint8_t
x
;
64
uint8_t
y
;
65
uint8_t
buttons
[3];
66
}
67
HID_MOUSE_Info_TypeDef
;
68
97
USBH_StatusTypeDef
USBH_HID_MouseInit
(
USBH_HandleTypeDef
*phost);
98
HID_MOUSE_Info_TypeDef
*
USBH_HID_GetMouseInfo
(
USBH_HandleTypeDef
*phost);
99
104
#ifdef __cplusplus
105
}
106
#endif
107
108
#endif
/* __USBH_HID_MOUSE_H */
109
125
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
_HID_MOUSE_Info
Definition:
usbh_hid_mouse.h:61
usbh_hid.h
This file contains all the prototypes for the usbh_hid.c.
USBH_HID_GetMouseInfo
HID_MOUSE_Info_TypeDef * USBH_HID_GetMouseInfo(USBH_HandleTypeDef *phost)
USBH_HID_GetMouseInfo The function return mouse information.
Definition:
usbh_hid_mouse.c:204
HID_MOUSE_Info_TypeDef
struct _HID_MOUSE_Info HID_MOUSE_Info_TypeDef
_HID_MOUSE_Info::x
uint8_t x
Definition:
usbh_hid_mouse.h:63
_USBH_HandleTypeDef
Definition:
usbh_def.h:450
USBH_StatusTypeDef
USBH_StatusTypeDef
Definition:
usbh_def.h:302
_HID_MOUSE_Info::buttons
uint8_t buttons[3]
Definition:
usbh_hid_mouse.h:65
_HID_MOUSE_Info::y
uint8_t y
Definition:
usbh_hid_mouse.h:64
USBH_HID_MouseInit
USBH_StatusTypeDef USBH_HID_MouseInit(USBH_HandleTypeDef *phost)
USBH_HID_MouseInit The function init the HID mouse.
Definition:
usbh_hid_mouse.c:176
Generated by
1.8.11