Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
main_chibios.c File Reference
#include "mcu_periph/sys_time.h"
#include "mcu.h"
#include <ch.h>
+ Include dependency graph for main_chibios.c:

Go to the source code of this file.

Macros

#define Fbw(f)
 
#define Ap(f)
 

Functions

static void thd_ap (void *arg)
 
static THD_WORKING_AREA (wa_thd_ap, 8192)
 
static void thd_fbw (void *arg)
 
static THD_WORKING_AREA (wa_thd_fbw, 1024)
 
int main (void)
 Main function. More...
 
void pprz_terminate_autopilot_threads (void)
 Terminate all autopilot threads Wait until proper stop. More...
 

Variables

static thread_t * apThdPtr = NULL
 
static thread_t * fbwThdPtr = NULL
 

Macro Definition Documentation

#define Ap (   f)

Definition at line 49 of file main_chibios.c.

Referenced by main(), and thd_ap().

#define Fbw (   f)

Definition at line 42 of file main_chibios.c.

Referenced by main(), and thd_fbw().

Function Documentation

int main ( void  )

Main function.

Definition at line 73 of file main_chibios.c.

References Ap, apThdPtr, downlink_init(), Fbw, fbwThdPtr, init, thd_ap(), thd_fbw(), and TRUE.

+ Here is the call graph for this function:

void pprz_terminate_autopilot_threads ( void  )

Terminate all autopilot threads Wait until proper stop.

Definition at line 152 of file main_chibios.c.

Referenced by thdUsbStorage().

+ Here is the caller graph for this function:

static void thd_ap ( void *  arg)
static

Definition at line 115 of file main_chibios.c.

References Ap, and handle_periodic_tasks().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void thd_fbw ( void *  arg)
static

Definition at line 134 of file main_chibios.c.

References Fbw, and handle_periodic_tasks().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static THD_WORKING_AREA ( wa_thd_ap  ,
8192   
)
static
static THD_WORKING_AREA ( wa_thd_fbw  ,
1024   
)
static

Variable Documentation

thread_t* apThdPtr = NULL
static

Definition at line 61 of file main_chibios.c.

Referenced by main(), and pprz_terminate_autopilot_threads().

thread_t* fbwThdPtr = NULL
static

Definition at line 68 of file main_chibios.c.

Referenced by main(), and pprz_terminate_autopilot_threads().