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
intermcu.h File Reference
#include "std.h"
#include "subsystems/commands.h"
+ Include dependency graph for intermcu.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  intermcu_t
 

Macros

#define INTERMCU_AP   0
 
#define INTERMCU_FBW   1
 
#define INTERMCU_LOST_CNT   25 /* 50ms with a 512Hz timer TODO fixed value */
 

Enumerations

enum  intermcu_status { INTERMCU_OK, INTERMCU_LOST }
 

Functions

void intermcu_init (void)
 
void intermcu_periodic (void)
 

Variables

struct intermcu_t inter_mcu
 

Data Structure Documentation

struct intermcu_t

Definition at line 43 of file intermcu.h.

Data Fields
enum intermcu_status status
uint8_t time_since_last_frame

Macro Definition Documentation

#define INTERMCU_AP   0

Definition at line 33 of file intermcu.h.

Referenced by intermcu_set_actuators().

#define INTERMCU_FBW   1

Definition at line 34 of file intermcu.h.

Referenced by intermcu_on_rc_frame().

#define INTERMCU_LOST_CNT   25 /* 50ms with a 512Hz timer TODO fixed value */

Definition at line 36 of file intermcu.h.

Referenced by intermcu_periodic().

Enumeration Type Documentation

Enumerator
INTERMCU_OK 
INTERMCU_LOST 

Definition at line 38 of file intermcu.h.

Function Documentation

void intermcu_init ( void  )

Definition at line 44 of file intermcu_ap.c.

References intermcu_transport, and pprz_transport_init().

Referenced by main_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void intermcu_periodic ( void  )

Definition at line 49 of file intermcu_ap.c.

References inter_mcu, INTERMCU_LOST, INTERMCU_LOST_CNT, intermcu_t::status, and intermcu_t::time_since_last_frame.

Referenced by main_periodic().

+ Here is the caller graph for this function:

Variable Documentation

struct intermcu_t inter_mcu