Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
superbitrf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Freek van Tienen <freek.v.tienen@gmail.com>
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, write to
18  * the Free Software Foundation, 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21 
29 #ifndef DATALINK_SUPERBITRF_H
30 #define DATALINK_SUPERBITRF_H
31 
32 /* The different protocols a transmitter can send */
34  DSM_DSM2_1 = 0x01,
35  DSM_DSM2_2 = 0x02,
36  DSM_DSM2P = 0x10,
37  DSM_DSMXP = 0x11,
38  DSM_DSMX_1 = 0xA2,
39  DSM_DSMX_2 = 0xB2,
40 };
41 
42 /* The superbitrf structure */
43 struct SuperbitRF {
47  volatile enum dsm_protocol protocol;
48 };
49 
50 /* The superbitrf functions and structures */
51 extern struct SuperbitRF superbitrf;
52 extern void superbitrf_set_mfg_id(uint32_t id);
54 
55 #endif /* DATALINK_SUPERBITRF_H */
unsigned long uint32_t
Definition: types.h:18
unsigned char uint8_t
Definition: types.h:14