Subversion Repositories FlightCtrl

Rev

Rev 1910 | Rev 2102 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1910 Rev 2099
Line 1... Line 1...
1
#ifndef _TIMER2_H
1
#ifndef _TIMER2_H
2
#define _TIMER2_H
2
#define _TIMER2_H
Line 3... Line 3...
3
 
3
 
Line 4... Line -...
4
#include <inttypes.h>
-
 
5
 
-
 
6
void timer2_init(void);
-
 
7
 
4
#include <inttypes.h>
8
typedef struct {
-
 
9
        uint16_t SetPoint; // written by attitude controller
-
 
10
}__attribute__((packed)) OutputData_t;
-
 
11
 
5
 
Line -... Line 6...
-
 
6
extern volatile int16_t ServoNickValue;
12
#define MAX_OUTPUTS     8
7
extern volatile int16_t ServoRollValue;