Files
lcdproc/server/drivers/t6963.h
T

36 lines
1.4 KiB
C
Raw Normal View History

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.
*
2011-01-21 06:59:37 +00:00
* Copyright (c) 2001 Manuel Stahl <mythos@xmythos.de>
* 2011 Markus Dolze
*
* 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 */
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);
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);
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);
static void t6963_set_nchar(Driver *drvthis, int n, int num);
#endif