Subversion Repositories Projects

Rev

Rev 2099 | Rev 2598 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
772 - 1
/****************************************************************************
2225 - 2
 *   Copyright (C) 2009-2016 by Claas Anders "CaScAdE" Rathje               *
772 - 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
 
932 - 21
#ifdef SERIALDEBUGDRAW
22
#define USART0ENABLE 1
23
#endif
24
#ifdef ANTENNATRACKTEST
25
#define USART0ENABLE 1
26
#endif
772 - 27
 
932 - 28
#ifdef USART0ENABLE
29
 
772 - 30
#ifndef _USART0_H
31
#define _USART0_H
32
 
33
#define baud 57600
34
 
35
/**
36
 * init usart0
37
 */
38
void usart0_init();
39
 
40
 
932 - 41
/**
42
 * send a single <character> through usart1
43
 */
44
void usart0_putc(unsigned char character);
772 - 45
 
932 - 46
/**
47
 * send a <string> throught usart0
48
 */
49
void usart0_puts(char *s);
772 - 50
 
932 - 51
/**
52
 * send a PGM<string> throught usart1
53
 */
54
void usart0_puts_pgm(const char* string);
55
 
56
 
772 - 57
#endif
58
 
59
#endif // ANTENNATRACKTEST