printer.h

Go to the documentation of this file.
00001 
00007 #ifndef _PRINTER_H_
00008 #define _PRINTER_H_
00009 
00010 #include "sys.h"
00011 
00012 
00025 #define PRINTER_PHYSICAL_ADDRESS        0x01000000
00026 #define PRINTER_ADDRESS                 (PRINTER_PHYSICAL_ADDRESS | OM_KSEG1)
00027 
00034 #define def_putc(c) \
00035                 *((volatile char *) PRINTER_ADDRESS) = (c);
00036 
00037 
00038 void print (const char *s);
00039 
00040 
00041 #endif /* _PRINTER_H_ */

Generated on Wed Nov 15 17:25:43 2006 for Kalisto by  doxygen 1.4.7