aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic_parport.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-09-18 08:22:59 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-09-18 08:22:59 +0000
commit14db580bf4076724e0385c3fc2e3464111a26c33 (patch)
tree434ac37937adc68c9544175425cf0d809639e345 /drv_generic_parport.h
parentbc25a5d78138b33ba1eaa6348f61424d155adb6d (diff)
downloadlcd4linux-14db580bf4076724e0385c3fc2e3464111a26c33.tar.gz
[lcd4linux @ 2004-09-18 08:22:59 by reinelt]
drv_generic_parport_status() to read status lines git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@487 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic_parport.h')
-rw-r--r--drv_generic_parport.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drv_generic_parport.h b/drv_generic_parport.h
index ba813f8..0455951 100644
--- a/drv_generic_parport.h
+++ b/drv_generic_parport.h
@@ -1,4 +1,4 @@
-/* $Id: drv_generic_parport.h,v 1.5 2004/06/26 12:04:59 reinelt Exp $
+/* $Id: drv_generic_parport.h,v 1.6 2004/09/18 08:22:59 reinelt Exp $
*
* generic driver helper for parallel port displays
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_generic_parport.h,v $
+ * Revision 1.6 2004/09/18 08:22:59 reinelt
+ * drv_generic_parport_status() to read status lines
+ *
* Revision 1.5 2004/06/26 12:04:59 reinelt
*
* uh-oh... the last CVS log message messed up things a lot...
@@ -71,6 +74,9 @@
* 0 - write to parport
* 1 - read from parport
*
+ * unsigned char drv_generic_parport_status (void)
+ * reads control lines
+ *
* void drv_generic_parport_control (unsigned char mask, unsigned char value)
* frobs control line and takes care of inverted signals
*
@@ -96,6 +102,7 @@ int drv_generic_parport_close (void);
unsigned char drv_generic_parport_wire_ctrl (const char *name, const char *deflt);
unsigned char drv_generic_parport_wire_data (const char *name, const char *deflt);
void drv_generic_parport_direction (const int direction);
+unsigned char drv_generic_parport_status (void);
void drv_generic_parport_control (const unsigned char mask, const unsigned char value);
void drv_generic_parport_toggle (const unsigned char bit, const int level, const int delay);
void drv_generic_parport_data (const unsigned char data);