Debian Codegraph @

ports/stm32/usbhost/Class/HID/Inc/usbh_hid_mouse.h

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