dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_usb_hid.h
Go to the documentation of this file.
1 
14 /*
15  * This program is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation; either version 3 of the License, or
18  * (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful, but
21  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23  * for more details.
24  *
25  * You should have received a copy of the GNU General Public License along
26  * with this program; if not, see <http://www.gnu.org/licenses/>
27  */
28 
29 #ifndef PIOS_USB_HID_H
30 #define PIOS_USB_HID_H
31 
32 /* Global functions */
33 extern int32_t PIOS_USB_HID_Reenumerate(void);
34 extern int32_t PIOS_USB_HID_ChangeConnectionState(uint32_t Connected);
35 extern bool PIOS_USB_HID_CheckAvailable(uint8_t id);
36 
37 extern void PIOS_USB_HID_RegisterHidDescriptor(const uint8_t * desc, uint16_t length);
38 extern void PIOS_USB_HID_RegisterHidReport(const uint8_t * desc, uint16_t length);
39 
40 #endif /* PIOS_USB_HID_H */
41 
int32_t PIOS_USB_HID_ChangeConnectionState(uint32_t Connected)
tuple desc
Definition: px_mkfw.py:82
uint8_t length
bool PIOS_USB_HID_CheckAvailable(uint8_t id)
int32_t PIOS_USB_HID_Reenumerate(void)
void PIOS_USB_HID_RegisterHidReport(const uint8_t *desc, uint16_t length)
Definition: pios_usbhook.c:78
void PIOS_USB_HID_RegisterHidDescriptor(const uint8_t *desc, uint16_t length)
Definition: pios_usbhook.c:70