Subversion Repositories FlightCtrl

Rev

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

Rev 1378 Rev 1550
Line 1... Line 1...
1
 #ifndef _UART_H
1
 #ifndef _UART_H
2
 #define _UART_H
2
 #define _UART_H
Line 3... Line 3...
3
 
3
 
4
#define MAX_SENDE_BUFF     150
4
#define printf_P(format, args...)   _printf_P(&uart_putchar, format , ## args)
Line 5... Line 5...
5
#define MAX_EMPFANGS_BUFF  150
5
#define printf(format, args...)     _printf_P(&uart_putchar, PSTR(format) , ## args)
Line 6... Line 6...
6
 
6
 
7
void BearbeiteRxDaten(void);
-
 
8
 
-
 
-
 
7
void BearbeiteRxDaten(void);
9
extern unsigned char DebugGetAnforderung;
8
 
10
extern unsigned volatile char SendeBuffer[MAX_SENDE_BUFF];
9
extern unsigned char DebugGetAnforderung;
11
extern unsigned volatile char RxdBuffer[MAX_EMPFANGS_BUFF];
10
 
12
extern unsigned volatile char UebertragungAbgeschlossen;
11
extern unsigned volatile char UebertragungAbgeschlossen;
13
extern unsigned volatile char PC_DebugTimeout;
12
extern unsigned volatile char PC_DebugTimeout;
14
extern unsigned volatile char NeueKoordinateEmpfangen;
13
extern unsigned volatile char NeueKoordinateEmpfangen;
15
extern unsigned volatile char PC_MotortestActive;
14
extern unsigned volatile char PC_MotortestActive;
16
extern unsigned char MeineSlaveAdresse;
15
extern unsigned char MeineSlaveAdresse;
17
extern unsigned char PcZugriff;
16
extern unsigned char PcZugriff;
18
extern unsigned char RemotePollDisplayLine;
17
extern unsigned char RemotePollDisplayLine;
19
extern int Debug_Timer,Kompass_Timer;
18
extern int Debug_Timer,Kompass_Timer;
20
extern void UART_Init (void);
19
extern void UART_Init (void);
21
extern int uart_putchar (char c);
20
extern void  uart_putchar (char c);
22
extern void boot_program_page (uint32_t page, uint8_t *buf);
21
extern void boot_program_page (uint32_t page, uint8_t *buf);
23
extern void DatenUebertragung(void);
22
extern void DatenUebertragung(void);