Rev 902 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
772 | - | 1 | /**************************************************************************** |
2 | * Copyright (C) 2009-2010 by Claas Anders "CaScAdE" Rathje * |
||
3 | * admiralcascade@gmail.com * |
||
4 | * Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
||
5 | * * |
||
6 | * This program is free software; you can redistribute it and/or modify * |
||
7 | * it under the terms of the GNU General Public License as published by * |
||
8 | * the Free Software Foundation; either version 2 of the License. * |
||
9 | * * |
||
10 | * This program is distributed in the hope that it will be useful, * |
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
13 | * GNU General Public License for more details. * |
||
14 | * * |
||
15 | * You should have received a copy of the GNU General Public License * |
||
16 | * along with this program; if not, write to the * |
||
17 | * Free Software Foundation, Inc., * |
||
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
19 | ****************************************************************************/ |
||
20 | |||
21 | #ifdef ANTENNATRACKTEST |
||
22 | |||
23 | #ifndef _USART0_H |
||
24 | #define _USART0_H |
||
25 | |||
26 | #define baud 57600 |
||
27 | |||
28 | /** |
||
29 | * init usart0 |
||
30 | */ |
||
31 | void usart0_init(); |
||
32 | |||
33 | |||
34 | /** |
||
35 | * send a single <character> through usart1 |
||
36 | */ |
||
37 | void usart0_putc(unsigned char character); |
||
38 | |||
39 | /** |
||
40 | * send a <string> throught usart0 |
||
41 | */ |
||
42 | void usart0_puts(char *s); |
||
43 | |||
44 | /** |
||
45 | * send a PGM<string> throught usart1 |
||
46 | */ |
||
47 | void usart0_puts_pgm(const char* string); |
||
48 | |||
49 | |||
50 | #endif |
||
51 | |||
52 | #endif // ANTENNATRACKTEST |