Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1909 → Rev 1910

/branches/dongfang_FC_fixedwing/timer2.h/timer2.h
0,0 → 1,16
#ifndef _TIMER2_H
#define _TIMER2_H
 
#include <inttypes.h>
 
void timer2_init(void);
 
typedef struct {
uint16_t SetPoint; // written by attitude controller
}__attribute__((packed)) OutputData_t;
 
#define MAX_OUTPUTS 8
extern OutputData_t outputs[MAX_OUTPUTS];
 
#endif //_TIMER2_H