diff options
author | reinelt <> | 2001-02-13 09:00:13 +0000 |
---|---|---|
committer | reinelt <> | 2001-02-13 09:00:13 +0000 |
commit | 458c179d311e32210cd7ef19b62be5af32ce1dd3 (patch) | |
tree | 6d80d403c07b6b9ffdc81fad68b919522bfff220 /display.h | |
parent | 0ae1c79ba49993e79360ba3d4bdc3059ad99159e (diff) | |
download | lcd4linux-458c179d311e32210cd7ef19b62be5af32ce1dd3.tar.gz |
[lcd4linux @ 2001-02-13 09:00:13 by reinelt]
prepared framework for GPO's (general purpose outputs)
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: display.h,v 1.11 2000/08/09 09:50:29 reinelt Exp $ +/* $Id: display.h,v 1.12 2001/02/13 09:00:13 reinelt Exp $ * * framework for device drivers * @@ -20,6 +20,10 @@ * * * $Log: display.h,v $ + * Revision 1.12 2001/02/13 09:00:13 reinelt + * + * prepared framework for GPO's (general purpose outputs) + * * Revision 1.11 2000/08/09 09:50:29 reinelt * * opened 0.98 development @@ -92,10 +96,12 @@ typedef struct LCD { int xres; int yres; int bars; + int gpos; int (*init) (struct LCD *Self); int (*clear) (void); int (*put) (int x, int y, char *text); int (*bar) (int type, int x, int y, int max, int len1, int len2); + int (*gpo) (int num, int val); int (*flush) (void); int (*quit) (void); } LCD; @@ -111,6 +117,7 @@ int lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars); int lcd_clear (void); int lcd_put (int row, int col, char *text); int lcd_bar (int type, int row, int col, int max, int len1, int len2); +int lcd_gpo (int num, int val); int lcd_flush (void); int lcd_quit (void); |