Rev 1612 | Rev 1969 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1612 | Rev 1821 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _MK3MAG_H |
1 | #ifndef _MK3MAG_H |
2 | #define _MK3MAG_H |
2 | #define _MK3MAG_H |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | typedef struct { |
4 | typedef struct { |
5 | int16_t Attitude[2]; |
5 | int16_t Attitude[2]; |
6 | uint8_t UserParam[2]; |
6 | uint8_t UserParam[2]; |
7 | uint8_t CalState; |
7 | uint8_t CalState; |
8 | uint8_t Orientation; |
8 | uint8_t Orientation; |
Line 9... | Line 9... | ||
9 | } ToMk3Mag_t; |
9 | } ToMk3Mag_t; |
Line 10... | Line 10... | ||
10 | 10 | ||
Line 15... | Line 15... | ||
15 | 15 | ||
16 | // should be called cyclic to get actual compass heading |
16 | // should be called cyclic to get actual compass heading |
Line 17... | Line 17... | ||
17 | void MK3MAG_Update(void); |
17 | void MK3MAG_Update(void); |
18 | - |