OpenCores
URL https://opencores.org/ocsvn/aemb/aemb/trunk

Subversion Repositories aemb

[/] [aemb/] [trunk/] [sw/] [cc/] [aemb/] [stdio.hh] - Blame information for rev 207

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 151 sybreon
/* $Id: stdio.hh,v 1.5 2008-04-28 20:29:15 sybreon Exp $
2 107 sybreon
**
3
** AEMB2 HI-PERFORMANCE CPU
4
** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap 
5
**
6
** This file is part of AEMB.
7
**
8
** AEMB is free software: you can redistribute it and/or modify it
9 145 sybreon
** under the terms of the GNU General Public License as published by
10
** the Free Software Foundation, either version 3 of the License, or
11
** (at your option) any later version.
12 107 sybreon
**
13
** AEMB is distributed in the hope that it will be useful, but WITHOUT
14
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 145 sybreon
** or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16
** License for more details.
17 107 sybreon
**
18 145 sybreon
** You should have received a copy of the GNU General Public License
19
** along with AEMB.  If not, see .
20 107 sybreon
*/
21
 
22
/**
23
   Basic standard I/O functions
24
   @file stdio.hh
25
 
26
   These functions provide function prototypes for outbyte/inbyte
27
   which are required by the linker during compile time. These
28
   functions can be defined anywhere else in code but should not be
29
   inlined.
30
 */
31
 
32 151 sybreon
#ifndef _AEMB_STDIO_HH
33
#define _AEMB_STDIO_HH
34 107 sybreon
 
35 139 sybreon
#ifdef __cplusplus
36 107 sybreon
extern "C" {
37 139 sybreon
#endif
38 137 sybreon
 
39
  /**
40
     Default stdout prototype.
41
     @param c char
42 107 sybreon
 
43 137 sybreon
     This is used to output characters to LCD or UART.
44
   */
45 151 sybreon
 
46 107 sybreon
  void outbyte(char c);
47 137 sybreon
 
48
  /**
49
     Default stdin prototype.
50
     @return char
51
 
52
     This is used to read characters in from UART or keyboard.
53
   */
54 151 sybreon
 
55 107 sybreon
  char inbyte();
56
 
57 139 sybreon
#ifdef __cplusplus
58 107 sybreon
}
59 139 sybreon
#endif
60 107 sybreon
 
61
#endif
62
 
63
/*
64
  $Log: not supported by cvs2svn $
65 151 sybreon
  Revision 1.4  2008/04/27 16:33:42  sybreon
66
  License change to GPL3.
67
 
68 145 sybreon
  Revision 1.3  2008/04/26 19:31:35  sybreon
69
  Made headers C compatible.
70
 
71 139 sybreon
  Revision 1.2  2008/04/26 18:05:22  sybreon
72
  Minor cosmetic changes.
73
 
74 137 sybreon
  Revision 1.1  2008/04/09 19:48:37  sybreon
75
  Added new C++ files
76
 
77 107 sybreon
*/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.