Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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 
uint32_t
unsigned long uint32_t
Definition: types.h:18
trig_ext_init
void trig_ext_init(void)
Definition: trig_ext_hw.c:26
delta_t0
uint32_t delta_t0
Definition: trig_ext_hw.c:9
std.h
TRIG_ISR
void TRIG_ISR(void)
Definition: trigger_ext_hw.c:30
trigger_t0
uint32_t trigger_t0
Definition: trig_ext_hw.c:8
trig_ext_valid
volatile bool trig_ext_valid
Definition: trig_ext_hw.c:10