add driver EyeboxOne for the LCD display on the EyeboxOne (Cedric TESSIER aka NeCetiC)

This commit is contained in:
marschap
2006-08-20 17:21:13 +00:00
parent ff8454632c
commit 7eb5ecbce5
14 changed files with 911 additions and 4 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef EYEBOXONE_H
#define EYEBOXONE_H
#include "lcd.h"
MODULE_EXPORT int EyeboxOne_init (Driver *drvthis);
MODULE_EXPORT void EyeboxOne_close (Driver *drvthis);
MODULE_EXPORT int EyeboxOne_width (Driver *drvthis);
MODULE_EXPORT int EyeboxOne_height (Driver *drvthis);
MODULE_EXPORT void EyeboxOne_clear (Driver *drvthis);
MODULE_EXPORT void EyeboxOne_flush (Driver *drvthis);
MODULE_EXPORT void EyeboxOne_string (Driver *drvthis, int x, int y, char *string);
MODULE_EXPORT void EyeboxOne_chr (Driver *drvthis, int x, int y, char c);
MODULE_EXPORT void EyeboxOne_set_char (Driver *drvthis, int n, char *dat);
MODULE_EXPORT void EyeboxOne_backlight (Driver *drvthis, int on);
MODULE_EXPORT const char * EyeboxOne_get_key (Driver *drvthis);
MODULE_EXPORT const char * EyeboxOne_get_info (Driver *drvthis);
#define DEFAULT_DEVICE "/dev/ttyS1"
#define DEFAULT_SPEED 19200
#define DEFAULT_CURSOR 0
#endif