Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
LPC21xx ppm decoder. More...
Go to the source code of this file.
Macros | |
#define | RC_PPM_TICKS_OF_USEC(_v) cpu_ticks_of_usec(_v) |
On tiny (and booz) the ppm counter is running at the same speed as the systic counter. More... | |
#define | RC_PPM_SIGNED_TICKS_OF_USEC(_v) signed_cpu_ticks_of_usec(_v) |
#define | USEC_OF_RC_PPM_TICKS(_v) usec_of_cpu_ticks(_v) |
#define | PPM_IT PPM_CRI |
#define | PPM_ISR() |
LPC21xx ppm decoder.
Definition in file ppm_arch.h.
#define PPM_ISR | ( | ) |
Definition at line 49 of file ppm_arch.h.
Referenced by TIMER0_ISR().
#define PPM_IT PPM_CRI |
Definition at line 47 of file ppm_arch.h.
#define RC_PPM_SIGNED_TICKS_OF_USEC | ( | _v | ) | signed_cpu_ticks_of_usec(_v) |
Definition at line 44 of file ppm_arch.h.
#define RC_PPM_TICKS_OF_USEC | ( | _v | ) | cpu_ticks_of_usec(_v) |
On tiny (and booz) the ppm counter is running at the same speed as the systic counter.
There is no reason for this to be true. Let's add a pair of macros to make it possible for them to be different.
Definition at line 43 of file ppm_arch.h.
#define USEC_OF_RC_PPM_TICKS | ( | _v | ) | usec_of_cpu_ticks(_v) |
Definition at line 45 of file ppm_arch.h.