dRonin
adbada4
dRonin firmware
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
pios_usb_hid_priv.h
Go to the documentation of this file.
1
15
/*
16
* This program is free software; you can redistribute it and/or modify
17
* it under the terms of the GNU General Public License as published by
18
* the Free Software Foundation; either version 3 of the License, or
19
* (at your option) any later version.
20
*
21
* This program is distributed in the hope that it will be useful, but
22
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24
* for more details.
25
*
26
* You should have received a copy of the GNU General Public License along
27
* with this program; if not, see <http://www.gnu.org/licenses/>
28
*/
29
30
#ifndef PIOS_USB_HID_PRIV_H
31
#define PIOS_USB_HID_PRIV_H
32
33
struct
pios_usb_hid_cfg
{
34
uint8_t
data_if
;
35
uint8_t
data_rx_ep
;
36
uint8_t
data_tx_ep
;
37
};
38
39
extern
const
struct
pios_com_driver
pios_usb_hid_com_driver
;
40
41
extern
int32_t
PIOS_USB_HID_Init
(uintptr_t * usbhid_id,
const
struct
pios_usb_hid_cfg
*
cfg
, uintptr_t lower_id);
42
43
#endif
/* PIOS_USB_HID_PRIV_H */
44
pios_com_driver
Definition:
pios_com.h:43
PIOS_USB_HID_Init
int32_t PIOS_USB_HID_Init(uintptr_t *usbhid_id, const struct pios_usb_hid_cfg *cfg, uintptr_t lower_id)
cfg
static struct flyingpicmd_cfg_fa cfg
Definition:
main.c:49
pios_usb_hid_com_driver
const struct pios_com_driver pios_usb_hid_com_driver
pios_usb_hid_cfg::data_rx_ep
uint8_t data_rx_ep
Definition:
pios_usb_hid_priv.h:35
pios_usb_hid_cfg::data_tx_ep
uint8_t data_tx_ep
Definition:
pios_usb_hid_priv.h:36
pios_usb_hid_cfg::data_if
uint8_t data_if
Definition:
pios_usb_hid_priv.h:34
pios_usb_hid_cfg
Definition:
pios_usb_hid_priv.h:33
flight
PiOS
inc
pios_usb_hid_priv.h
Generated by
1.8.6