Rev 1441 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1441 | Rev 1444 | ||
---|---|---|---|
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 | ||
- | 4 | #define printf_P(format, args...) _printf_P(&uart_putchar, format , ## args) |
|
Line 4... | Line 5... | ||
4 | 5 | #define printf(format, args...) _printf_P(&uart_putchar, PSTR(format) , ## args) |
|
Line 5... | Line 6... | ||
5 | 6 | ||
Line 14... | Line 15... | ||
14 | extern unsigned char MeineSlaveAdresse; |
15 | extern unsigned char MeineSlaveAdresse; |
15 | extern unsigned char PcZugriff; |
16 | extern unsigned char PcZugriff; |
16 | extern unsigned char RemotePollDisplayLine; |
17 | extern unsigned char RemotePollDisplayLine; |
17 | extern int Debug_Timer,Kompass_Timer; |
18 | extern int Debug_Timer,Kompass_Timer; |
18 | extern void UART_Init (void); |
19 | extern void UART_Init (void); |
19 | extern int uart_putchar (char c); |
20 | extern void uart_putchar (char c); |
20 | extern void boot_program_page (uint32_t page, uint8_t *buf); |
21 | extern void boot_program_page (uint32_t page, uint8_t *buf); |
21 | extern void DatenUebertragung(void); |
22 | extern void DatenUebertragung(void); |
22 | extern void Uart1Init(void); |
23 | extern void Uart1Init(void); |
23 | extern void BearbeiteRxDaten(void); |
24 | extern void BearbeiteRxDaten(void); |
24 | extern unsigned char MotorTest[16]; |
25 | extern unsigned char MotorTest[16]; |