URL
https://opencores.org/ocsvn/aemb/aemb/trunk
[/] [aemb/] [trunk/] [sw/] [cc/] [aemb/] [stdio.hh] - Diff between revs 145 and 151
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 145 |
Rev 151 |
Line 1... |
Line 1... |
/* $Id: stdio.hh,v 1.4 2008-04-27 16:33:42 sybreon Exp $
|
/* $Id: stdio.hh,v 1.5 2008-04-28 20:29:15 sybreon Exp $
|
**
|
**
|
** AEMB2 HI-PERFORMANCE CPU
|
** AEMB2 HI-PERFORMANCE CPU
|
** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap
|
** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap
|
**
|
**
|
** This file is part of AEMB.
|
** This file is part of AEMB.
|
Line 27... |
Line 27... |
which are required by the linker during compile time. These
|
which are required by the linker during compile time. These
|
functions can be defined anywhere else in code but should not be
|
functions can be defined anywhere else in code but should not be
|
inlined.
|
inlined.
|
*/
|
*/
|
|
|
#ifndef AEMB_STDIO_HH
|
#ifndef _AEMB_STDIO_HH
|
#define AEMB_STDIO_HH
|
#define _AEMB_STDIO_HH
|
|
|
#ifdef __cplusplus
|
#ifdef __cplusplus
|
extern "C" {
|
extern "C" {
|
#endif
|
#endif
|
|
|
Line 40... |
Line 40... |
Default stdout prototype.
|
Default stdout prototype.
|
@param c char
|
@param c char
|
|
|
This is used to output characters to LCD or UART.
|
This is used to output characters to LCD or UART.
|
*/
|
*/
|
|
|
void outbyte(char c);
|
void outbyte(char c);
|
|
|
/**
|
/**
|
Default stdin prototype.
|
Default stdin prototype.
|
@return char
|
@return char
|
|
|
This is used to read characters in from UART or keyboard.
|
This is used to read characters in from UART or keyboard.
|
*/
|
*/
|
|
|
char inbyte();
|
char inbyte();
|
|
|
#ifdef __cplusplus
|
#ifdef __cplusplus
|
}
|
}
|
#endif
|
#endif
|
|
|
#endif
|
#endif
|
|
|
/*
|
/*
|
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
|
Revision 1.4 2008/04/27 16:33:42 sybreon
|
|
License change to GPL3.
|
|
|
Revision 1.3 2008/04/26 19:31:35 sybreon
|
Revision 1.3 2008/04/26 19:31:35 sybreon
|
Made headers C compatible.
|
Made headers C compatible.
|
|
|
Revision 1.2 2008/04/26 18:05:22 sybreon
|
Revision 1.2 2008/04/26 18:05:22 sybreon
|
Minor cosmetic changes.
|
Minor cosmetic changes.
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.