ARMEBS4  revision-26.06.2015
usbh_hid_mouse.h
1 #include "heivs/config.h"
2 #if (USE_STM32_USB_HOST_MODE || USE_STM32_USB_USE_DEVICE_MODE || USE_STM32_USB_OTG_MODE)
3 /**
4  ******************************************************************************
5  * @file usbh_hid_mouse.h
6  * @author MCD Application Team
7  * @version V2.1.0
8  * @date 19-March-2012
9  * @brief This file contains all the prototypes for the usbh_hid_mouse.c
10  ******************************************************************************
11  * @attention
12  *
13  * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2>
14  *
15  * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
16  * You may not use this file except in compliance with the License.
17  * You may obtain a copy of the License at:
18  *
19  * http://www.st.com/software_license_agreement_liberty_v2
20  *
21  * Unless required by applicable law or agreed to in writing, software
22  * distributed under the License is distributed on an "AS IS" BASIS,
23  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24  * See the License for the specific language governing permissions and
25  * limitations under the License.
26  *
27  ******************************************************************************
28  */
29 
30 
31 /* Define to prevent recursive ----------------------------------------------*/
32 #ifndef __USBH_HID_MOUSE_H
33 #define __USBH_HID_MOUSE_H
34 
35 /* Includes ------------------------------------------------------------------*/
36 #include "stm32/usb/usbh_hid_core.h"
37 
38 /** @addtogroup USBH_LIB
39  * @{
40  */
41 
42 /** @addtogroup USBH_CLASS
43  * @{
44  */
45 
46 /** @addtogroup USBH_HID_CLASS
47  * @{
48  */
49 
50 /** @defgroup USBH_HID_MOUSE
51  * @brief This file is the Header file for USBH_HID_MOUSE.c
52  * @{
53  */
54 
55 
56 /** @defgroup USBH_HID_MOUSE_Exported_Types
57  * @{
58  */
59 typedef struct _HID_MOUSE_Data
60 {
61  uint8_t x;
62  uint8_t y;
63  uint8_t z; /* Not Supported */
64  uint8_t button;
65 }
66 HID_MOUSE_Data_TypeDef;
67 
68 /**
69  * @}
70  */
71 
72 /** @defgroup USBH_HID_MOUSE_Exported_Defines
73  * @{
74  */
75 /**
76  * @}
77  */
78 
79 /** @defgroup USBH_HID_MOUSE_Exported_Macros
80  * @{
81  */
82 /**
83  * @}
84  */
85 
86 /** @defgroup USBH_HID_MOUSE_Exported_Variables
87  * @{
88  */
89 
90 extern HID_cb_TypeDef HID_MOUSE_cb;
91 extern HID_MOUSE_Data_TypeDef HID_MOUSE_Data;
92 /**
93  * @}
94  */
95 
96 /** @defgroup USBH_HID_MOUSE_Exported_FunctionsPrototype
97  * @{
98  */
99 void USR_MOUSE_Init (void);
100 void USR_MOUSE_ProcessData (HID_MOUSE_Data_TypeDef *data);
101 /**
102  * @}
103  */
104 
105 #endif /* __USBH_HID_MOUSE_H */
106 
107 /**
108  * @}
109  */
110 
111 /**
112  * @}
113  */
114 
115 /**
116  * @}
117  */
118 
119 /**
120  * @}
121  */
122 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
123 #endif /* (USE_STM32_USB_HOST_MODE || USE_STM32_USB_USE_DEVICE_MODE || USE_STM32_USB_OTG_MODE) */
libheivs configuration file