Rev 2099 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1910 | - | 1 | #ifndef _TIMER2_H |
2 | #define _TIMER2_H |
||
3 | |||
4 | #include <inttypes.h> |
||
5 | |||
6 | void timer2_init(void); |
||
7 | |||
8 | typedef struct { |
||
9 | uint16_t SetPoint; // written by attitude controller |
||
10 | }__attribute__((packed)) OutputData_t; |
||
11 | |||
12 | #define MAX_OUTPUTS 8 |
||
13 | extern OutputData_t outputs[MAX_OUTPUTS]; |
||
14 | |||
15 | #endif //_TIMER2_H |
||
16 |