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
xbee_dl.c File Reference
#include "modules/datalink/xbee_dl.h"
#include "subsystems/datalink/datalink.h"
#include "mcu.h"
#include "mcu_periph/sys_time.h"
#include "mcu_periph/uart.h"
#include "generated/airframe.h"
+ Include dependency graph for xbee_dl.c:

Go to the source code of this file.

Macros

#define STR_(s)   #s
 
#define STR(s)   STR_(s)
 
#define XBEE_TYPE   XBEE_24
 
#define XBEE_INIT   ""
 
#define XBEE_CHANNEL_CONF   ""
 
#define CONCAT(a, b)   a b
 
#define XBEE_UPDATE_DL   TRUE
 

Functions

void xbee_dl_init (void)
 Init function. More...
 
void xbee_dl_event (void)
 Datalink Event. More...
 

Variables

struct xbee_transport xbee_tp
 XBEE transport structure. More...
 

Macro Definition Documentation

#define CONCAT (   a,
 
)    a b

Definition at line 50 of file xbee_dl.c.

Referenced by xbee_dl_init().

#define STR (   s)    STR_(s)

Definition at line 34 of file xbee_dl.c.

#define STR_ (   s)    #s

Definition at line 33 of file xbee_dl.c.

#define XBEE_CHANNEL_CONF   ""

Definition at line 47 of file xbee_dl.c.

Referenced by xbee_dl_init().

#define XBEE_INIT   ""

Definition at line 40 of file xbee_dl.c.

Referenced by xbee_dl_init().

#define XBEE_TYPE   XBEE_24

Definition at line 37 of file xbee_dl.c.

Referenced by xbee_dl_init().

#define XBEE_UPDATE_DL   TRUE

Definition at line 53 of file xbee_dl.c.

Referenced by xbee_dl_event().

Function Documentation

void xbee_dl_event ( void  )

Datalink Event.

Definition at line 69 of file xbee_dl.c.

References dl_buffer, dl_msg_available, DlCheckAndParse(), xbee_tp, and XBEE_UPDATE_DL.

+ Here is the call graph for this function:

void xbee_dl_init ( void  )

Init function.

Definition at line 58 of file xbee_dl.c.

References CONCAT, sys_time_usleep(), XBEE_CHANNEL_CONF, XBEE_INIT, xbee_tp, and XBEE_TYPE.

+ Here is the call graph for this function:

Variable Documentation

struct xbee_transport xbee_tp

XBEE transport structure.

Definition at line 56 of file xbee_dl.c.

Referenced by xbee_dl_event(), and xbee_dl_init().