Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
#include "core/trigger_ext.h"
Go to the source code of this file.
Functions | |
void | TRIG_ISR (void) |
#define __EnableFall | ( | _c | ) | TCCR_CR ## _c ## _F |
Definition at line 54 of file trigger_ext_hw.h.
#define __EnableInt | ( | _c | ) | TCCR_CR ## _c ## _I |
Definition at line 58 of file trigger_ext_hw.h.
#define __EnableRise | ( | _c | ) | TCCR_CR ## _c ## _R |
Definition at line 50 of file trigger_ext_hw.h.
#define __SelectCapReg | ( | _c | ) | T0CR ## _c |
Definition at line 42 of file trigger_ext_hw.h.
#define __SetIntFlag | ( | _c | ) | TIR_CR ## _c ## I |
Definition at line 46 of file trigger_ext_hw.h.
#define _EnableFall | ( | _c | ) | __EnableFall(_c) |
Definition at line 55 of file trigger_ext_hw.h.
#define _EnableInt | ( | _c | ) | __EnableInt(_c) |
Definition at line 59 of file trigger_ext_hw.h.
#define _EnableRise | ( | _c | ) | __EnableRise(_c) |
Definition at line 51 of file trigger_ext_hw.h.
#define _SelectCapReg | ( | _c | ) | __SelectCapReg(_c) |
Definition at line 43 of file trigger_ext_hw.h.
#define _SetIntFlag | ( | _c | ) | __SetIntFlag(_c) |
Definition at line 47 of file trigger_ext_hw.h.
#define EnableFall | ( | _c | ) | _EnableFall(_c) |
Definition at line 56 of file trigger_ext_hw.h.
#define EnableInt | ( | _c | ) | _EnableInt(_c) |
Definition at line 60 of file trigger_ext_hw.h.
#define EnableRise | ( | _c | ) | _EnableRise(_c) |
Definition at line 52 of file trigger_ext_hw.h.
#define SelectCapReg | ( | _c | ) | _SelectCapReg(_c) |
Definition at line 44 of file trigger_ext_hw.h.
#define SetIntFlag | ( | _c | ) | _SetIntFlag(_c) |
Definition at line 48 of file trigger_ext_hw.h.
#define TRIG_EXT_CHANNEL 2 |
Definition at line 39 of file trigger_ext_hw.h.
#define TRIG_EXT_PINSEL PPM_PINSEL |
Definition at line 36 of file trigger_ext_hw.h.
Referenced by trigger_ext_init().
#define TRIG_EXT_PINSEL_BIT PPM_PINSEL_BIT |
Definition at line 38 of file trigger_ext_hw.h.
Referenced by trigger_ext_init().
#define TRIG_EXT_PINSEL_VAL PPM_PINSEL_VAL |
Definition at line 37 of file trigger_ext_hw.h.
Referenced by trigger_ext_init().
#define TRIGGER_CR SelectCapReg(TRIG_EXT_CHANNEL) |
Definition at line 62 of file trigger_ext_hw.h.
Referenced by TRIG_ISR().
#define TRIGGER_CRF EnableFall(TRIG_EXT_CHANNEL) |
Definition at line 65 of file trigger_ext_hw.h.
Referenced by trigger_ext_init().
#define TRIGGER_CRI EnableInt(TRIG_EXT_CHANNEL) |
Definition at line 66 of file trigger_ext_hw.h.
Referenced by trigger_ext_init().
#define TRIGGER_CRR EnableRise(TRIG_EXT_CHANNEL) |
Definition at line 64 of file trigger_ext_hw.h.
Referenced by trigger_ext_init().
#define TRIGGER_IT SetIntFlag(TRIG_EXT_CHANNEL) |
Definition at line 63 of file trigger_ext_hw.h.
void TRIG_ISR | ( | void | ) |
Definition at line 30 of file trigger_ext_hw.c.