Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
trigger_ext.h File Reference
#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 43 of file trigger_ext_hw.c.

Variable Documentation

◆ trigger_delta_t0

uint32_t trigger_delta_t0

Definition at line 34 of file trigger_ext.c.

Referenced by TRIG_ISR(), and windturbine_periodic().

◆ trigger_ext_valid

volatile bool trigger_ext_valid

Definition at line 35 of file trigger_ext.c.

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

◆ trigger_t0

uint32_t trigger_t0

Definition at line 8 of file trig_ext_hw.c.

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