Subversion Repositories Projects

Rev

Rev 902 | Rev 1437 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 902 Rev 932
Line 16... Line 16...
16
 *   along with this program; if not, write to the                          *
16
 *   along with this program; if not, write to the                          *
17
 *   Free Software Foundation, Inc.,                                        *
17
 *   Free Software Foundation, Inc.,                                        *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
19
 ****************************************************************************/
19
 ****************************************************************************/
20
 
20
 
-
 
21
#ifdef SERIALDEBUGDRAW
-
 
22
#define USART0ENABLE 1
-
 
23
#endif
21
#ifdef ANTENNATRACKTEST 
24
#ifdef ANTENNATRACKTEST
-
 
25
#define USART0ENABLE 1
-
 
26
#endif
-
 
27
 
-
 
28
#ifdef USART0ENABLE
22
 
29
 
23
#ifndef _USART0_H
30
#ifndef _USART0_H
24
#define _USART0_H
31
#define _USART0_H
25
 
32
 
26
#define baud 57600
33
#define baud 57600
Line 29... Line 36...
29
 * init usart0
36
 * init usart0
30
 */
37
 */
31
void usart0_init();
38
void usart0_init();
32
 
39
 
33
 
40
 
34
/**
41
/**
35
 * send a single <character> through usart1
42
 * send a single <character> through usart1
36
 */
43
 */
37
void usart0_putc(unsigned char character);
44
void usart0_putc(unsigned char character);
38
 
45
 
39
/**
46
/**
40
 * send a <string> throught usart0
47
 * send a <string> throught usart0
41
 */
48
 */
42
void usart0_puts(char *s);
49
void usart0_puts(char *s);
43
 
50
 
44
/**
51
/**
45
 * send a PGM<string> throught usart1
52
 * send a PGM<string> throught usart1
46
 */
53
 */
47
void usart0_puts_pgm(const char* string);
54
void usart0_puts_pgm(const char* string);
48
 
55
 
49
 
56
 
50
#endif
57
#endif
51
 
58
 
52
#endif // ANTENNATRACKTEST 
59
#endif // ANTENNATRACKTEST