Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
test_mc_asctec_v1_simple.c File Reference
#include "mcu.h"
#include "mcu_periph/sys_time.h"
#include "subsystems/datalink/downlink.h"
#include "led.h"
+ Include dependency graph for test_mc_asctec_v1_simple.c:

Go to the source code of this file.

Functions

static void main_init (void)
 
static void main_periodic_task (void)
 
static void main_event_task (void)
 
int main (void)
 

Variables

static uint8_t i2c_done
 

Function Documentation

int main ( void  )

Definition at line 40 of file test_mc_asctec_v1_simple.c.

References main_event_task(), main_init(), main_periodic_task(), and sys_time_check_and_ack_timer().

+ Here is the call graph for this function:

static void main_event_task ( void  )
inlinestatic

Definition at line 101 of file test_mc_asctec_v1_simple.c.

Referenced by main().

+ Here is the caller graph for this function:

static void main_init ( void  )
inlinestatic

Definition at line 52 of file test_mc_asctec_v1_simple.c.

References mcu_init(), 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_task ( void  )
inlinestatic

Definition at line 59 of file test_mc_asctec_v1_simple.c.

References DefaultChannel, DefaultDevice, i2c_done, and LED_PERIODIC.

Referenced by main().

+ Here is the caller graph for this function:

Variable Documentation

uint8_t i2c_done
static

Definition at line 38 of file test_mc_asctec_v1_simple.c.

Referenced by exti2_irq_handler(), and main_periodic_task().