Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
extra_pprz_dl.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2010 ENAC
3
* Copyright (C) 2016 2016 Michal Podhradsky <http://github.com/podhrmic>
4
*
5
* This file is part of paparazzi.
6
*
7
* paparazzi is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2, or (at your option)
10
* any later version.
11
*
12
* paparazzi is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with paparazzi; see the file COPYING. If not, write to
19
* the Free Software Foundation, 59 Temple Place - Suite 330,
20
* Boston, MA 02111-1307, USA.
21
*
22
*/
27
#ifndef EXTRA_PPRZ_DL_H
28
#define EXTRA_PPRZ_DL_H
29
30
#include "
subsystems/datalink/datalink.h
"
31
#include "pprzlink/pprz_transport.h"
32
33
#if USE_UDP
34
#include "
mcu_periph/udp.h
"
35
#endif
36
37
#if USE_USB_SERIAL
38
#include "
mcu_periph/usb_serial.h
"
39
#endif
40
41
/* PPRZ transport structure */
42
extern
struct
pprz_transport
extra_pprz_tp
;
43
44
extern
uint8_t
extra_dl_buffer
[
MSG_SIZE
] __attribute__((aligned));
45
47
void
extra_pprz_dl_event
(
void
);
48
49
51
extern
void
extra_pprz_dl_init
(
void
);
52
57
extern
void
extra_pprz_dl_periodic
(
void
);
58
59
#endif
/* EXTRA_PPRZ_DL_H */
60
usb_serial.h
arch independent USB API
MSG_SIZE
#define MSG_SIZE
Definition:
main_demo5.c:63
uint8_t
unsigned char uint8_t
Definition:
types.h:14
extra_dl_buffer
uint8_t extra_dl_buffer[MSG_SIZE]
Definition:
extra_pprz_dl.c:55
extra_pprz_tp
struct pprz_transport extra_pprz_tp
Definition:
extra_pprz_dl.c:57
extra_pprz_dl_periodic
void extra_pprz_dl_periodic(void)
Periodic function.
Definition:
extra_pprz_dl.c:72
udp.h
arch independent UDP API
extra_pprz_dl_event
void extra_pprz_dl_event(void)
Datalink Event.
Definition:
extra_pprz_dl.c:65
datalink.h
Handling of messages coming from ground and other A/Cs.
extra_pprz_dl_init
void extra_pprz_dl_init(void)
Init function.
Definition:
extra_pprz_dl.c:59
sw
airborne
modules
datalink
extra_pprz_dl.h
Generated on Tue Feb 1 2022 13:51:15 for Paparazzi UAS by
1.8.17