Paparazzi UAS
v5.8.2_stable-0-g6260b7c
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
spektrum_arch.c
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2008-2009 Antoine Drouin <poinix@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
22
#include "
subsystems/radio_control.h
"
23
#include "subsystems/radio_control/spektrum_arch.h"
24
25
bool_t
rc_spk_parser_status
;
26
uint8_t
rc_spk_parser_idx
;
27
uint8_t
rc_spk_parser_buf
[
RADIO_CONTROL_NB_CHANNEL
* 2];
28
const
int16_t
rc_spk_throw
[
RADIO_CONTROL_NB_CHANNEL
] =
RC_SPK_THROWS
;
29
30
void
radio_control_impl_init
(
void
)
31
{
32
rc_spk_parser_status
=
RC_SPK_STA_UNINIT
;
33
rc_spk_parser_idx
= 0;
34
}
radio_control_impl_init
void radio_control_impl_init(void)
Definition:
spektrum_arch.c:30
rc_spk_parser_status
bool_t rc_spk_parser_status
Definition:
spektrum_arch.c:25
radio_control.h
RC_SPK_STA_UNINIT
#define RC_SPK_STA_UNINIT
Definition:
spektrum_arch.h:33
RC_SPK_THROWS
#define RC_SPK_THROWS
Definition:
spektrum_dx7se.h:37
int16_t
signed short int16_t
Definition:
types.h:17
RADIO_CONTROL_NB_CHANNEL
#define RADIO_CONTROL_NB_CHANNEL
Definition:
spektrum_arch.h:34
uint8_t
unsigned char uint8_t
Definition:
types.h:14
rc_spk_parser_idx
uint8_t rc_spk_parser_idx
Definition:
spektrum_arch.c:26
rc_spk_parser_buf
uint8_t rc_spk_parser_buf[RADIO_CONTROL_NB_CHANNEL *2]
Definition:
spektrum_arch.c:27
rc_spk_throw
const int16_t rc_spk_throw[RADIO_CONTROL_NB_CHANNEL]
Definition:
spektrum_arch.c:28
sw
airborne
arch
lpc21
subsystems
radio_control
spektrum_arch.c
Generated on Tue Jun 21 2016 14:01:10 for Paparazzi UAS by
1.8.8