Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
trig_ext_hw.h
Go to the documentation of this file.
1 #ifndef TRIG_EXT_HW_H
2 #define TRIG_EXT_HW_H
3 
4 #include "std.h"
5 
9 #define TRIG_EXT_EDGE_RISING 1
10 #define TRIG_EXT_EDGE_FALLING 0
11 
12 extern uint32_t trigger_t0;
13 extern uint32_t delta_t0;
14 extern volatile bool trig_ext_valid;
15 
16 void TRIG_ISR(void);
17 void trig_ext_init(void);
18 
19 #endif /* TRIG_EXT_HW_H */
20 
void trig_ext_init(void)
Definition: trig_ext_hw.c:26
void TRIG_ISR(void)
uint32_t trigger_t0
Definition: trig_ext_hw.c:8
uint32_t delta_t0
Definition: trig_ext_hw.c:9
volatile bool trig_ext_valid
Definition: trig_ext_hw.c:10
unsigned long uint32_t
Definition: types.h:18