Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
#include "mcu_periph/sys_time.h"
#include "LPC21xx.h"
#include "trig_ext_hw.h"
#include <BOARD_CONFIG>
Go to the source code of this file.
Functions | |
void | TRIG_ISR () |
void | trig_ext_init (void) |
Variables | |
uint32_t | trigger_t0 |
uint32_t | delta_t0 |
volatile bool | trig_ext_valid |
void trig_ext_init | ( | void | ) |
Definition at line 26 of file trig_ext_hw.c.
References PPM_CCR_CRF, PPM_CCR_CRI, PPM_CCR_CRR, PPM_PINSEL, PPM_PINSEL_BIT, PPM_PINSEL_VAL, T0CCR, and trig_ext_valid.
Referenced by trigger_ext_init().
void TRIG_ISR | ( | ) |
Definition at line 13 of file trig_ext_hw.c.
References delta_t0, last, msec_of_cpu_ticks(), PPM_CR, trig_ext_valid, TRIGGER_CR, trigger_delta_t0, trigger_ext_valid, and trigger_t0.
uint32_t delta_t0 |
Definition at line 9 of file trig_ext_hw.c.
Referenced by TRIG_ISR(), and trigger_ext_periodic().
volatile bool trig_ext_valid |
Definition at line 10 of file trig_ext_hw.c.
Referenced by trig_ext_init(), TRIG_ISR(), and trigger_ext_periodic().
uint32_t trigger_t0 |
Definition at line 8 of file trig_ext_hw.c.
Referenced by TRIG_ISR(), and windturbine_periodic().