Subversion Repositories MK3Mag

Rev

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

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