Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ppm_arch.h File Reference
#include "LPC21xx.h"
#include "mcu_periph/sys_time.h"
+ Include dependency graph for ppm_arch.h:

Go to the source code of this file.

Macros

#define RC_PPM_TICKS_OF_USEC   CPU_TICKS_OF_USEC
 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   SIGNED_CPU_TICKS_OF_USEC
 
#define USEC_OF_RC_PPM_TICKS   USEC_OF_CPU_TICKS
 
#define PPM_NB_CHANNEL   RADIO_CONTROL_NB_CHANNEL
 
#define PPM_IT   PPM_CRI
 
#define PPM_ISR()
 

Macro Definition Documentation

#define PPM_ISR ( )
Value:
{ \
}
#define PPM_CR
Definition: booz_1.0.h:70
unsigned long uint32_t
Definition: types.h:18
#define DecodePpmFrame(_ppm_time)
A valid ppm frame:
Definition: ppm.h:89

Definition at line 47 of file ppm_arch.h.

Referenced by TIMER0_ISR().

#define PPM_IT   PPM_CRI

Definition at line 45 of file ppm_arch.h.

#define PPM_NB_CHANNEL   RADIO_CONTROL_NB_CHANNEL

Definition at line 43 of file ppm_arch.h.

#define RC_PPM_SIGNED_TICKS_OF_USEC   SIGNED_CPU_TICKS_OF_USEC

Definition at line 40 of file ppm_arch.h.

#define RC_PPM_TICKS_OF_USEC   CPU_TICKS_OF_USEC

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 39 of file ppm_arch.h.

#define USEC_OF_RC_PPM_TICKS   USEC_OF_CPU_TICKS

Definition at line 41 of file ppm_arch.h.