Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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 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

◆ TRIG_EXT_EDGE_FALLING

#define TRIG_EXT_EDGE_FALLING   0

Definition at line 39 of file trigger_ext.h.

◆ TRIG_EXT_EDGE_RISING

#define TRIG_EXT_EDGE_RISING   1

falling/rising edge

Definition at line 38 of file trigger_ext.h.

Function Documentation

◆ trigger_ext_init()

void trigger_ext_init ( void  )

Definition at line 27 of file trigger_ext_hw.c.

References trigger_ext_valid.

Variable Documentation

◆ trigger_delta_t0

uint32_t trigger_delta_t0
extern

Definition at line 34 of file trigger_ext.c.

Referenced by windturbine_periodic().

◆ trigger_ext_valid

volatile bool trigger_ext_valid
extern

Definition at line 35 of file trigger_ext.c.

Referenced by trigger_ext_init(), and windturbine_periodic().

◆ trigger_t0

uint32_t trigger_t0
extern

Definition at line 33 of file trigger_ext.c.

Referenced by windturbine_periodic().