Rev 1969 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1612 | dongfang | 1 | #ifndef _MK3MAG_H |
2 | #define _MK3MAG_H |
||
3 | |||
4 | typedef struct { |
||
2039 | - | 5 | int16_t attitude[2]; |
6 | uint8_t userParam[2]; |
||
7 | uint8_t calState; |
||
8 | uint8_t orientation; |
||
1612 | dongfang | 9 | } ToMk3Mag_t; |
10 | |||
1969 | - | 11 | extern ToMk3Mag_t toMk3Mag; |
1612 | dongfang | 12 | |
13 | // Initialization |
||
2039 | - | 14 | void MK3MAG_init(void); |
1612 | dongfang | 15 | |
16 | // should be called cyclic to get actual compass heading |
||
2039 | - | 17 | void MK3MAG_periodicTask(void); |
1612 | dongfang | 18 | |
19 | #endif //_MK3MAG_H |