Subversion Repositories FlightCtrl

Rev

Rev 1268 | Rev 1715 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*#######################################################################################
Derkodieren eines RC Summen Signals
#######################################################################################*/


#ifndef _RC_H
#define _RC_H

#if defined (__AVR_ATmega32__)
#define TIMER_TEILER        CK64
#define TIMER_RELOAD_VALUE  250
#endif

#if defined (__AVR_ATmega644__)
#define TIMER_RELOAD_VALUE  250
#endif

#if defined (__AVR_ATmega644P__)
#define TIMER_RELOAD_VALUE  250
#endif

#define GAS   PPM_in[2]


extern void rc_sum_init (void);

extern volatile int PPM_in[26];
extern volatile int PPM_diff[26];  // das diffenzierte Stick-Signal
extern volatile unsigned char NewPpmData;
extern volatile char Channels,tmpChannels;

#endif //_RC_H