Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1227 | killagreg | 1 | #ifndef _MK3MAG_H |
2 | #define _MK3MAG_H |
||
3 | |||
4 | typedef struct |
||
5 | { |
||
6 | int16_t Attitude[2]; |
||
7 | uint8_t UserParam[2]; |
||
8 | uint8_t CalState; |
||
9 | uint8_t Orientation; |
||
10 | } ToMk3Mag_t; |
||
11 | |||
12 | extern ToMk3Mag_t ToMk3Mag; |
||
13 | |||
14 | // Initialization |
||
15 | void MK3MAG_Init(void); |
||
16 | |||
17 | // should be called cyclic to get actual compass heading |
||
18 | void MK3MAG_Update(void); |
||
19 | |||
20 | #endif //_MK3MAG_H |
||
21 |