Subversion Repositories FlightCtrl

Rev

Rev 800 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 800 Rev 801
1
#ifndef _RC_H
1
#ifndef _RC_H
2
#define _RC_H
2
#define _RC_H
3
 
3
 
4
#include <inttypes.h>
4
#include <inttypes.h>
5
 
5
 
6
extern void RC_Init (void);
6
extern void RC_Init (void);
7
extern volatile int16_t PPM_in[15];             // the RC-Signal
7
extern volatile int16_t PPM_in[15];             // the RC-Signal
8
extern volatile int16_t PPM_diff[15];   // the differentiated RC-Signal
8
extern volatile int16_t PPM_diff[15];   // the differentiated RC-Signal
9
extern volatile uint8_t NewPpmData;     // 0 indicates a new recieved PPM Frame
9
extern volatile uint8_t NewPpmData;     // 0 indicates a new recieved PPM Frame
10
extern volatile uint8_t RC_Quality;     // rc signal quality indicator (0 to 200)
10
extern volatile int16_t RC_Quality;     // rc signal quality indicator (0 to 200)
11
#endif //_RC_H
11
#endif //_RC_H
12
 
12