Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
superbitrf.c
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
#include "subsystems/datalink/superbitrf.h"
30
31
/* The superbitRF structure */
32
struct
SuperbitRF
superbitrf
;
33
34
void
superbitrf_set_mfg_id
(
uint32_t
id
)
35
{
36
superbitrf
.
bind_mfg_id32
= id;
37
}
38
39
void
superbitrf_set_protocol
(
uint8_t
protocol
)
40
{
41
superbitrf
.
protocol
=
protocol
;
42
}
superbitrf
struct SuperbitRF superbitrf
Definition:
superbitrf.c:32
SuperbitRF
Definition:
superbitrf.h:43
superbitrf_set_protocol
void superbitrf_set_protocol(uint8_t protocol)
Definition:
superbitrf.c:39
SuperbitRF::protocol
enum dsm_protocol protocol
The protocol the transmitter uses.
Definition:
superbitrf.h:47
uint32_t
unsigned long uint32_t
Definition:
types.h:18
uint8_t
unsigned char uint8_t
Definition:
types.h:14
superbitrf_set_mfg_id
void superbitrf_set_mfg_id(uint32_t id)
Definition:
superbitrf.c:34
SuperbitRF::bind_mfg_id32
uint32_t bind_mfg_id32
The MFG id where the receiver is bound to in uint32.
Definition:
superbitrf.h:45
sw
airborne
arch
sim
subsystems
datalink
superbitrf.c
Generated on Sat Feb 9 2019 06:43:46 for Paparazzi UAS by
1.8.8