Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
fbw_datalink.c File Reference

Datalink through FBW (FlyByWire) process/mcu. More...

+ Include dependency graph for fbw_datalink.c:

Go to the source code of this file.

Macros

#define ModemLinkDevice   (&(MODEM_LINK).device)
 
#define AutopilotLinkDevice   (&(AUTOPILOT_LINK).device)
 

Functions

static void autopilot_parse (char c)
 
static void modem_parse (char c)
 
void fbw_datalink_periodic (void)
 
void fbw_datalink_event (void)
 

Detailed Description

Datalink through FBW (FlyByWire) process/mcu.

So it can decode flight termination modes even when AP is down.

Definition in file fbw_datalink.c.

Macro Definition Documentation

#define AutopilotLinkDevice   (&(AUTOPILOT_LINK).device)

Definition at line 35 of file fbw_datalink.c.

Referenced by fbw_datalink_event(), and modem_parse().

#define ModemLinkDevice   (&(MODEM_LINK).device)

Definition at line 34 of file fbw_datalink.c.

Referenced by autopilot_parse(), and fbw_datalink_event().

Function Documentation

static void autopilot_parse ( char  c)
inlinestatic

Definition at line 37 of file fbw_datalink.c.

References ModemLinkDevice.

Referenced by fbw_datalink_event().

+ Here is the caller graph for this function:

void fbw_datalink_event ( void  )

Definition at line 57 of file fbw_datalink.c.

References autopilot_parse(), AutopilotLinkDevice, LED_ON, modem_parse(), and ModemLinkDevice.

Referenced by event_task_fbw().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void fbw_datalink_periodic ( void  )

Definition at line 47 of file fbw_datalink.c.

References LED_OFF.

Referenced by periodic_task_fbw().

+ Here is the caller graph for this function:

static void modem_parse ( char  c)
inlinestatic

Definition at line 42 of file fbw_datalink.c.

References AutopilotLinkDevice.

Referenced by fbw_datalink_event().

+ Here is the caller graph for this function: