2009-08-21 09:04:09 +03:00
|
|
|
//
|
2010-04-28 13:29:53 +03:00
|
|
|
// Authors: Wolfgang Spraul <wolfgang@sharism.cc>
|
2009-08-21 09:04:09 +03:00
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
|
|
|
// as published by the Free Software Foundation; either version
|
|
|
|
// 3 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
|
2010-06-07 14:29:49 +03:00
|
|
|
#ifndef _SERIAL_H_
|
|
|
|
#define _SERIAL_H_
|
2009-08-21 09:04:09 +03:00
|
|
|
|
|
|
|
void serial_putc(char c);
|
|
|
|
void serial_puts(const char *s);
|
|
|
|
void serial_put_hex(unsigned int v);
|
|
|
|
int serial_getc();
|
|
|
|
int serial_tstc();
|
2010-06-07 14:29:49 +03:00
|
|
|
|
|
|
|
#endif
|