Subversion Repositories NaviCtrl

Rev

Rev 110 | Rev 118 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 110 Rev 112
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
#include "ubx.h"
8
#include "ubx.h"
9
 
9
 
-
 
10
typedef struct
-
 
11
{
-
 
12
        u8 SWMajor;
-
 
13
        u8 SWMinor;
-
 
14
        u8 ProtoMajor;
-
 
15
        u8 ProtoMinor;
-
 
16
        u8 SWPatch;
-
 
17
        u8 Reserved[5];
-
 
18
}  __attribute__((packed)) UART_VersionInfo_t;
-
 
19
 
-
 
20
extern UART_VersionInfo_t UART_VersionInfo;
-
 
21
 
-
 
22
 
10
typedef struct
23
typedef struct
11
{
24
{
12
   s16 AngleNick;       // in 0.1 deg
25
   s16 AngleNick;       // in 0.1 deg
13
   s16 AngleRoll;   // in 0.1 deg
26
   s16 AngleRoll;   // in 0.1 deg
14
   s16 Heading;         // in 0.1 deg
27
   s16 Heading;         // in 0.1 deg
Line 15... Line 28...
15
   u8 reserve[8];
28
   u8 reserve[8];
Line -... Line 29...
-
 
29
} __attribute__((packed)) Data3D_t;
-
 
30
 
-
 
31
extern Data3D_t Data3D;
16
} __attribute__((packed)) Data3D_t;
32
 
17
 
33
 
18
extern Data3D_t Data3D;
34
extern const u8 ANALOG_LABEL[32][16];
19
 
35
 
20
typedef struct
36
typedef struct
Line 85... Line 101...
85
        u8 TargetHoldTime;                              // time in s to stay at the given target, counts down to 0 if target has been reached
101
        u8 TargetHoldTime;                              // time in s to stay at the given target, counts down to 0 if target has been reached
86
        u8  Reserve[4];                                 // for future use
102
        u8  Reserve[4];                                 // for future use
87
} __attribute__((packed)) NaviData_t;
103
} __attribute__((packed)) NaviData_t;
Line 88... Line 104...
88
 
104
 
89
extern NaviData_t NaviData;
-
 
Line 90... Line 105...
90
extern u8 Request_NaviData;
105
extern NaviData_t NaviData;
91
 
106
 
92
#define NC_FLAG_FREE                    0x01
107
#define NC_FLAG_FREE                    0x01
93
#define NC_FLAG_PH                              0x02
108
#define NC_FLAG_PH                              0x02