Subversion Repositories NaviCtrl

Rev

Rev 141 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 killagreg 1
#ifndef _TIMER2_H
2
#define _TIMER2_H
3
 
4
typedef struct
5
{
121 killagreg 6
        u8 Refresh;
7
        u8 CompInvert;
8
        u8 NickControl;
9
        u8 NickComp;
119 killagreg 10
        u8 NickMin;
11
        u8 NickMax;
121 killagreg 12
        u8 RollControl;
13
        u8 RollComp;
119 killagreg 14
        u8 RollMin;
15
        u8 RollMax;            
16
} __attribute__((packed)) ServoParams_t;
17
 
18
 
141 killagreg 19
extern volatile ServoParams_t ServoParams;
119 killagreg 20
 
21
void TIMER2_Init(void);
139 killagreg 22
void TIMER2_Deinit(void);
119 killagreg 23
 
24
#endif  // _TIMER2_H