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.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_H
30
#define PIOS_USB_H
31
32
#include <stdbool.h>
33
34
/* Global functions */
35
extern
int32_t
PIOS_USB_Reenumerate
();
36
extern
int32_t
PIOS_USB_ChangeConnectionState
(
bool
connected);
37
extern
bool
PIOS_USB_CableConnected
(uintptr_t
id
);
38
extern
bool
PIOS_USB_CheckAvailable
(uintptr_t
id
);
39
extern
bool
PIOS_USB_HaveVSense
(uintptr_t
id
);
40
41
#endif
/* PIOS_USB_H */
42
PIOS_USB_Reenumerate
int32_t PIOS_USB_Reenumerate()
PIOS_USB_CheckAvailable
bool PIOS_USB_CheckAvailable(uintptr_t id)
PIOS_USB_ChangeConnectionState
int32_t PIOS_USB_ChangeConnectionState(bool connected)
PIOS_USB_HaveVSense
bool PIOS_USB_HaveVSense(uintptr_t id)
PIOS_USB_CableConnected
bool PIOS_USB_CableConnected(uintptr_t id)
flight
PiOS
inc
pios_usb.h
Generated by
1.8.6