Subversion Repositories MK3Mag

Rev

Rev 29 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29 Rev 30
Line 21... Line 21...
21
int16_t USART0_putchar(int8_t c);
21
int16_t USART0_putchar(int8_t c);
22
void USART0_Print(int8_t *msg);
22
void USART0_Print(int8_t *msg);
Line 23... Line 23...
23
 
23
 
24
 
24
 
25
 
25
 
26
struct DebugOut_t
26
typedef struct
27
{
27
{
Line 28... Line 28...
28
        uint8_t Digital[2];
28
        uint8_t Digital[2];
Line 29... Line 29...
29
        uint16_t Analog[32];    // Debugvalues
29
        uint16_t Analog[32];    // Debugvalues
30
} ;
30
}  DebugOut_t;
31
 
31
 
32
extern struct DebugOut_t DebugOut;
32
extern DebugOut_t DebugOut;
33
 
33
 
34
 
34
 
35
 
35
 
Line 36... Line 36...
36
struct ExternData_t
36
typedef struct
Line 37... Line 37...
37
{
37
{
38
        int16_t Attitude[2];  // nick and roll angle in 0.1 deg
38
        int16_t Attitude[2];  // nick and roll angle in 0.1 deg
39
        uint8_t UserParam[2];
39
        uint8_t UserParam[2];
40
        uint8_t CalState;
40
        uint8_t CalState;
41
        uint8_t Orientation;
41
        uint8_t Orientation;
42
} ;
42
}  ExternData_t;
Line 54... Line 54...
54
        uint8_t Gas;
54
        uint8_t Gas;
55
        int8_t  Height;
55
        int8_t  Height;
56
        uint8_t Par1;
56
        uint8_t Par1;
57
        uint8_t Par2;
57
        uint8_t Par2;
58
        uint8_t Par3;
58
        uint8_t Par3;
59
} ;
59
}  ExternControl_t;
Line 60... Line 60...
60
 
60
 
Line 61... Line 61...
61
extern struct ExternControl_t  ExternControl;
61
extern ExternControl_t  ExternControl;
62
 
62
 
63
 
63
 
64
struct VersionInfo_t
64
typedef struct
65
{
65
{
66
        uint8_t Major;
66
        uint8_t Major;
67
        uint8_t Minor;
67
        uint8_t Minor;
Line 68... Line 68...
68
        uint8_t PCCompatible;
68
        uint8_t PCCompatible;
Line 69... Line 69...
69
        uint8_t Reserved[7];
69
        uint8_t Reserved[7];
70
}  VersionInfo_t;
70
}  VersionInfo_t;
Line 71... Line 71...
71
 
71