sam7fc/include/at91_tc1.h
2008-06-23 15:14:55 +02:00

19 lines
298 B
C

#ifndef RC_PPM_H_
#define RC_PPM_H_
#define MAX_CHANNELS 8
#define RC_CAL_START 0
#define RC_CAL_END 1
struct rc_values {
int16_t chan[MAX_CHANNELS];
};
uint32_t rcontrol_getvalues(struct rc_values *rc);
void rcontrol_calibrate(uint32_t mode);
void at91_tc1_init(void);
#endif /*RC_PPM_H_*/