Subversion Repositories FlightCtrl

Rev

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

Rev 722 Rev 735
Line 10... Line 10...
10
#define DUB_KEY_RIGHT  32
10
#define DUB_KEY_RIGHT  32
11
#define DUB_KEY_FIRE   64
11
#define DUB_KEY_FIRE   64
Line 12... Line 12...
12
 
12
 
Line 13... Line -...
13
#include <inttypes.h>
-
 
14
 
-
 
15
void BearbeiteRxDaten(void);
-
 
16
 
-
 
17
extern unsigned char DebugGetAnforderung;
13
#include <inttypes.h>
18
 
14
 
Line 19... Line 15...
19
//Baud rate of the USART
15
//Baud rate of the USART
-
 
16
#define USART0_BAUD 57600
-
 
17
 
-
 
18
 
-
 
19
extern void USART0_Init (void);
-
 
20
extern void TransmitTxData(void);
-
 
21
extern void ProcessRxData(void);
-
 
22
extern int16_t uart_putchar(int8_t c);
-
 
23
 
Line 20... Line -...
20
#define USART0_BAUD 57600
-
 
21
 
-
 
22
 
-
 
23
extern void USART0_Init (void);
-
 
24
 
-
 
25
extern unsigned volatile char txd_buffer[TXD_BUFFER_LEN];
-
 
26
extern unsigned volatile char rxd_buffer[RXD_BUFFER_LEN];
-
 
27
 
-
 
28
extern unsigned volatile char UebertragungAbgeschlossen;
-
 
29
extern unsigned volatile char PC_DebugTimeout;
-
 
30
extern unsigned volatile char NeueKoordinateEmpfangen;
-
 
31
extern unsigned char MeineSlaveAdresse;
-
 
32
extern unsigned char PcAccess;
-
 
33
extern unsigned char RemotePollDisplayLine;
-
 
34
extern int Debug_Timer;
-
 
35
 
-
 
36
extern int16_t uart_putchar (int8_t c);
-
 
37
extern void boot_program_page (uint32_t page, uint8_t *buf);
-
 
38
extern void DatenUebertragung(void);
24
extern uint8_t PcAccess;
39
 
25
extern uint8_t RemotePollDisplayLine;
40
extern void BearbeiteRxDaten(void);
26
extern uint8_t MotorTest[4];
41
extern unsigned char MotorTest[4];
27
extern uint8_t DubWiseKeys[4];
42
extern unsigned char DubWiseKeys[4];
28
 
Line 43... Line 29...
43
struct str_DebugOut
29
typedef struct
Line 44... Line 30...
44
{
30
{
45
 uint8_t Digital[2];
31
 uint8_t Digital[2];
46
 uint16_t Analog[32];    // Debugwerte
32
 uint16_t Analog[32];    // Debugwerte
47
};
33
} DebugOut_t;
48
 
34
 
49
extern struct str_DebugOut    DebugOut;
35
extern DebugOut_t DebugOut;
Line 58... Line 44...
58
 uint8_t        Thrust;
44
 uint8_t        Thrust;
59
 int8_t         Hight;
45
 int8_t         Hight;
60
 uint8_t        free;
46
 uint8_t        free;
61
 uint8_t        Frame;
47
 uint8_t        Frame;
62
 uint8_t        Config;
48
 uint8_t        Config;
63
};
-
 
64
extern struct str_ExternControl   ExternControl;
49
} ExternControl_t;
Line 65... Line 50...
65
 
50
 
-
 
51
extern ExternControl_t ExternControl;
-
 
52
 
66
struct str_VersionInfo
53
typedef struct
67
{
54
{
68
  unsigned char Hauptversion;
55
  uint8_t Major;
69
  unsigned char Nebenversion;
56
  uint8_t Minor;
70
  unsigned char PCKompatibel;
57
  uint8_t PCCompatible;
-
 
58
  uint8_t Reserved[7];
71
  unsigned char Rserved[7];
59
}  VersionInfo_t;
72
};
60
 
Line 73... Line 61...
73
extern struct str_VersionInfo VersionInfo;
61
extern  VersionInfo_t VersionInfo;