Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lisa_test_ms2100.c File Reference
#include <stm32/gpio.h>
#include <stm32/flash.h>
#include <stm32/misc.h>
#include <stm32/spi.h>
#include <stm32/dma.h>
#include <stm32/exti.h>
#include "mcu.h"
#include "mcu_periph/sys_time.h"
#include "subsystems/datalink/downlink.h"
#include "peripherals/ms2100.h"
#include "led.h"
+ Include dependency graph for lisa_test_ms2100.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)
 
static void main_spi2_init (void)
 
int main (void)
 

Function Documentation

int main ( void  )

Definition at line 44 of file lisa_test_ms2100.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 83 of file lisa_test_ms2100.c.

References DefaultChannel, DefaultDevice, MS2100_DATA_AVAILABLE, MS2100_IDLE, ms2100_status, and ms2100_values.

Referenced by main().

+ Here is the caller graph for this function:

static void main_init ( void  )
inlinestatic

Definition at line 57 of file lisa_test_ms2100.c.

References main_spi2_init(), mcu_init(), ms2100_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 64 of file lisa_test_ms2100.c.

References DefaultChannel, DefaultDevice, LED_PERIODIC, MS2100_IDLE, ms2100_status, MS2100_WAITING_EOC, Ms2100HasEOC, Ms2100ReadRes, Ms2100SendReq, and sys_time::nb_sec.

Referenced by main().

+ Here is the caller graph for this function:

static void main_spi2_init ( void  )
inlinestatic

Definition at line 95 of file lisa_test_ms2100.c.

Referenced by main_init().

+ Here is the caller graph for this function: