Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lisa_test_max1168.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/max1168.h"
#include "led.h"
+ Include dependency graph for lisa_test_max1168.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_max1168.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 75 of file lisa_test_max1168.c.

References DefaultChannel, DefaultDevice, max1168_status, max1168_values, STA_MAX1168_DATA_AVAILABLE, and STA_MAX1168_IDLE.

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_max1168.c.

References main_spi2_init(), max1168_init(), 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 64 of file lisa_test_max1168.c.

References DefaultChannel, DefaultDevice, LED_PERIODIC, max1168_read(), and sys_time::nb_sec.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void main_spi2_init ( void  )
inlinestatic

Definition at line 87 of file lisa_test_max1168.c.

References Max1168ConfigureSPI.

Referenced by main_init().

+ Here is the caller graph for this function: