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

Subversion Repositories aemb

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

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

Line No. Rev Author Line
1 145 sybreon
/* $Id: stdio.hh,v 1.4 2008-04-27 16:33:42 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
#ifndef AEMB_STDIO_HH
33
#define AEMB_STDIO_HH
34
 
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 107 sybreon
  void outbyte(char c);
46 137 sybreon
 
47
  /**
48
     Default stdin prototype.
49
     @return char
50
 
51
     This is used to read characters in from UART or keyboard.
52
   */
53 107 sybreon
  char inbyte();
54
 
55 139 sybreon
#ifdef __cplusplus
56 107 sybreon
}
57 139 sybreon
#endif
58 107 sybreon
 
59
#endif
60
 
61
/*
62
  $Log: not supported by cvs2svn $
63 145 sybreon
  Revision 1.3  2008/04/26 19:31:35  sybreon
64
  Made headers C compatible.
65
 
66 139 sybreon
  Revision 1.2  2008/04/26 18:05:22  sybreon
67
  Minor cosmetic changes.
68
 
69 137 sybreon
  Revision 1.1  2008/04/09 19:48:37  sybreon
70
  Added new C++ files
71
 
72 107 sybreon
*/

powered by: WebSVN 2.1.0

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