2011-01-03 10:51:50 +00:00
|
|
|
/*-
|
2011-01-21 06:59:37 +00:00
|
|
|
* Base driver module for Toshiba T6963 based LCD displays.
|
2001-09-27 18:27:39 +00:00
|
|
|
*
|
2011-01-21 06:59:37 +00:00
|
|
|
* Copyright (c) 2001 Manuel Stahl <mythos@xmythos.de>
|
|
|
|
|
* 2011 Markus Dolze
|
|
|
|
|
*
|
2001-09-27 18:27:39 +00:00
|
|
|
* This file is released under the GNU General Public License. Refer to the
|
|
|
|
|
* COPYING file distributed with this package.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef T6963_H
|
|
|
|
|
#define T6963_H
|
|
|
|
|
|
2011-01-03 10:51:50 +00:00
|
|
|
/* API functions */
|
2005-07-02 13:38:51 +00:00
|
|
|
MODULE_EXPORT int t6963_init (Driver *drvthis);
|
2001-12-30 00:15:25 +00:00
|
|
|
MODULE_EXPORT void t6963_close (Driver *drvthis);
|
|
|
|
|
MODULE_EXPORT int t6963_width (Driver *drvthis);
|
|
|
|
|
MODULE_EXPORT int t6963_height (Driver *drvthis);
|
2011-09-09 18:41:15 +00:00
|
|
|
MODULE_EXPORT int t6963_cellwidth(Driver *drvthis);
|
|
|
|
|
MODULE_EXPORT int t6963_cellheight(Driver *drvthis);
|
2001-12-30 00:15:25 +00:00
|
|
|
MODULE_EXPORT void t6963_clear (Driver *drvthis);
|
|
|
|
|
MODULE_EXPORT void t6963_flush (Driver *drvthis);
|
2007-04-02 21:29:53 +00:00
|
|
|
MODULE_EXPORT void t6963_string (Driver *drvthis, int x, int y, const char string[]);
|
2001-12-30 00:15:25 +00:00
|
|
|
MODULE_EXPORT void t6963_chr (Driver *drvthis, int x, int y, char c);
|
2002-02-11 15:21:25 +00:00
|
|
|
MODULE_EXPORT void t6963_vbar (Driver *drvthis, int x, int y, int len, int promille, int options);
|
|
|
|
|
MODULE_EXPORT void t6963_hbar (Driver *drvthis, int x, int y, int len, int promille, int options);
|
2001-12-30 00:15:25 +00:00
|
|
|
MODULE_EXPORT void t6963_num (Driver *drvthis, int x, int num);
|
2002-05-23 18:03:36 +00:00
|
|
|
MODULE_EXPORT int t6963_icon (Driver *drvthis, int x, int y, int icon);
|
2011-02-27 12:23:47 +00:00
|
|
|
MODULE_EXPORT void t6963_set_char (Driver *drvthis, int n, unsigned char *dat);
|
2001-12-30 00:15:25 +00:00
|
|
|
|
2011-01-03 10:51:50 +00:00
|
|
|
/* Internal functions */
|
2011-01-21 06:59:37 +00:00
|
|
|
static void t6963_graphic_clear(Driver *drvthis);
|
2011-02-27 12:23:47 +00:00
|
|
|
static void t6963_set_nchar(Driver *drvthis, int n, int num);
|
2001-09-27 18:27:39 +00:00
|
|
|
|
2004-10-15 13:53:57 +00:00
|
|
|
#endif
|