Rev 683 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | ingob | 1 | /*####################################################################################### |
683 | killagreg | 2 | Derkodieren eines RC Summen Signals |
1 | ingob | 3 | #######################################################################################*/ |
4 | |||
5 | #ifndef _RC_H |
||
6 | #define _RC_H |
||
7 | |||
8 | #if defined (__AVR_ATmega32__) |
||
9 | #define TIMER_TEILER CK64 |
||
10 | #define TIMER_RELOAD_VALUE 250 |
||
11 | #endif |
||
12 | |||
13 | #if defined (__AVR_ATmega644__) |
||
687 | killagreg | 14 | |
1 | ingob | 15 | #define TIMER_RELOAD_VALUE 250 |
687 | killagreg | 16 | |
1 | ingob | 17 | #endif |
18 | |||
683 | killagreg | 19 | #if defined (__AVR_ATmega644P__) |
687 | killagreg | 20 | |
683 | killagreg | 21 | #define TIMER_RELOAD_VALUE 250 |
687 | killagreg | 22 | |
683 | killagreg | 23 | #endif |
24 | |||
1 | ingob | 25 | #define GAS PPM_in[2] |
26 | |||
687 | killagreg | 27 | #include <inttypes.h> |
1 | ingob | 28 | |
29 | extern void rc_sum_init (void); |
||
30 | |||
687 | killagreg | 31 | extern volatile int16_t PPM_in[11]; |
32 | extern volatile int16_t PPM_diff[11]; // das diffenzierte Stick-Signal |
||
33 | extern volatile uint8_t NewPpmData; |
||
1 | ingob | 34 | |
35 | #endif //_RC_H |