Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
link_device.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Gautier Hattenberger <gautier.hattenberger@enac.fr>
3  *
4  * This file is part of paparazzi.
5  *
6  * paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, see
18  * <http://www.gnu.org/licenses/>.
19  *
20  */
21 
26 #ifndef LINK_DEVICE_H
27 #define LINK_DEVICE_H
28 
29 #include <inttypes.h>
30 
36 typedef int (*check_free_space_t)(void *, uint8_t);
37 typedef void (*put_byte_t)(void *, uint8_t);
38 typedef void (*send_message_t)(void *);
39 typedef int (*char_available_t)(void *);
40 typedef uint8_t (*get_byte_t)(void *);
41 
44 struct link_device {
50  void *periph;
51 
55 };
56 
57 #endif // LINK_DEVICE_H
58 
unsigned short uint16_t
Definition: types.h:16
unsigned long uint32_t
Definition: types.h:18
unsigned char uint8_t
Definition: types.h:14