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
setup_actuators.c File Reference
#include "generated/periodic_telemetry.h"
#include "generated/airframe.h"
#include "generated/settings.h"
#include "subsystems/datalink/datalink.h"
#include "subsystems/datalink/downlink.h"
#include "mcu.h"
#include "mcu_periph/sys_time.h"
#include "led.h"
#include "subsystems/actuators.h"
+ Include dependency graph for setup_actuators.c:

Go to the source code of this file.

Macros

#define DATALINK_C
 
#define PERIODIC_C_MAIN
 
#define IdOfMsg(x)   (x[1])
 

Functions

static void main_init (void)
 
static void main_periodic (void)
 
static void main_event (void)
 
int main (void)
 
void dl_parse_msg (void)
 Should be called when chars are available in dl_buffer. More...
 

Macro Definition Documentation

#define DATALINK_C

Definition at line 25 of file setup_actuators.c.

#define IdOfMsg (   x)    (x[1])

Definition at line 105 of file setup_actuators.c.

Referenced by dl_parse_msg().

#define PERIODIC_C_MAIN

Definition at line 30 of file setup_actuators.c.

Function Documentation

void dl_parse_msg ( void  )

Should be called when chars are available in dl_buffer.

NAV

WIND_INFO

Else there is no dl_settings section in the flight plan

Definition at line 107 of file setup_actuators.c.

References DefaultChannel, DefaultDevice, dl_buffer, IdOfMsg, LED_TOGGLE, and val.

Referenced by DlCheckAndParse().

+ Here is the caller graph for this function:

int main ( void  )

Definition at line 55 of file setup_actuators.c.

References main_event(), main_init(), main_periodic(), and sys_time_check_and_ack_timer().

+ Here is the call graph for this function:

static void main_event ( void  )
inlinestatic

Definition at line 97 of file setup_actuators.c.

References DatalinkEvent, and mcu_event().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void main_init ( void  )
inlinestatic

Definition at line 69 of file setup_actuators.c.

References downlink_init(), mcu_init(), mcu_int_enable, PERIODIC_FREQUENCY, and sys_time_register_timer().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void main_periodic ( void  )
inlinestatic

Definition at line 86 of file setup_actuators.c.

References DefaultChannel, DefaultDevice, and LED_PERIODIC.

Referenced by main().

+ Here is the caller graph for this function: