host_to_net(16|32)(), net_to_host(16|32)(): New functions.
[bertos.git] / mware / font.h
1 /*!
2  * \file
3  * <!--
4  * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
5  * This file is part of DevLib - See README.devlib for information.
6  * -->
7  *
8  * \version $Id$
9  *
10  * \author Stefano Fedrigo <aleph@develer.com>
11  *
12  * \brief Font 8x6 IBM-PC 8bit
13  */
14
15 /*#*
16  *#* $Log$
17  *#* Revision 1.6  2005/04/11 19:10:28  bernie
18  *#* Include top-level headers from cfg/ subdir.
19  *#*
20  *#* Revision 1.5  2005/03/01 23:26:45  bernie
21  *#* Use new CPU-neutral program-memory API.
22  *#*
23  *#* Revision 1.4  2004/12/31 16:42:55  bernie
24  *#* Sanitize for non-Harvard processors.
25  *#*
26  *#* Revision 1.3  2004/08/25 14:12:09  rasky
27  *#* Aggiornato il comment block dei log RCS
28  *#*
29  *#* Revision 1.2  2004/06/03 11:27:09  bernie
30  *#* Add dual-license information.
31  *#*
32  *#* Revision 1.1  2004/05/23 15:43:16  bernie
33  *#* Import mware modules.
34  *#*
35  *#* Revision 1.2  2004/03/24 15:48:53  bernie
36  *#* Remove Copyright messages from Doxygen output
37  *#*
38  *#* Revision 1.1  2004/01/13 12:15:28  aleph
39  *#* Move font table in program memory; add font.h
40  *#*
41  *#*/
42 #ifndef MWARE_FONT_H
43 #define MWARE_FONT_H
44
45 #include <cfg/compiler.h> /* uint8_t */
46 #include <mware/pgm.h> /* PROGMEM */
47
48 /*!
49  * \name Font size (in pixel)
50  * \{
51  */
52 #define FONT_WIDTH   6
53 #define FONT_HEIGHT  8
54 /* \} */
55
56 /*! Font table */
57 extern const PROGMEM uint8_t font[256 * FONT_WIDTH];
58
59 #endif /* MWARE_FONT_H */