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
trigger_ext.h File Reference

Measure external trigger pulse at PPM input (default). More...

#include "std.h"
+ Include dependency graph for trigger_ext.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TRIG_EXT_EDGE_RISING   1
 falling/rising edge More...
 
#define TRIG_EXT_EDGE_FALLING   0
 

Functions

void trigger_ext_init (void)
 

Variables

uint32_t trigger_t0
 
uint32_t trigger_delta_t0
 
volatile bool_t trigger_ext_valid
 

Detailed Description

Measure external trigger pulse at PPM input (default).

This measures a trigger pulse length

Definition in file trigger_ext.h.

Macro Definition Documentation

#define TRIG_EXT_EDGE_FALLING   0

Definition at line 39 of file trigger_ext.h.

#define TRIG_EXT_EDGE_RISING   1

falling/rising edge

Definition at line 38 of file trigger_ext.h.

Function Documentation

void trigger_ext_init ( void  )

Definition at line 42 of file trigger_ext_hw.c.

Variable Documentation

uint32_t trigger_delta_t0

Definition at line 34 of file trigger_ext.c.

Referenced by TRIG_ISR(), and windturbine_periodic().

volatile bool_t trigger_ext_valid

Definition at line 35 of file trigger_ext.c.

Referenced by TRIG_ISR(), trigger_ext_init(), and windturbine_periodic().

uint32_t trigger_t0

Definition at line 8 of file trig_ext_hw.c.

Referenced by TRIG_ISR(), trigger_ext_periodic(), and windturbine_periodic().