From 14db580bf4076724e0385c3fc2e3464111a26c33 Mon Sep 17 00:00:00 2001 From: reinelt Date: Sat, 18 Sep 2004 08:22:59 +0000 Subject: [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 --- drv_generic_parport.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'drv_generic_parport.h') 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); -- cgit v1.2.3