diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-01-03 06:13:46 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-01-03 06:13:46 +0000 |
commit | 07ccb4c4754e161788b8fd389e9cfdfe921ba1a7 (patch) | |
tree | 973c81f68e63b46b3b500eabc12b98b9462a0cc9 /drv_generic_gpio.h | |
parent | 213594414361e470ef3ac1b655091934a129094f (diff) | |
download | lcd4linux-07ccb4c4754e161788b8fd389e9cfdfe921ba1a7.tar.gz |
[lcd4linux @ 2006-01-03 06:13:44 by reinelt]
GPIO's for MatrixOrbital
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@605 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic_gpio.h')
-rw-r--r-- | drv_generic_gpio.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drv_generic_gpio.h b/drv_generic_gpio.h index 114e049..35457db 100644 --- a/drv_generic_gpio.h +++ b/drv_generic_gpio.h @@ -1,4 +1,4 @@ -/* $Id: drv_generic_gpio.h,v 1.1 2005/12/18 16:18:36 reinelt Exp $ +/* $Id: drv_generic_gpio.h,v 1.2 2006/01/03 06:13:45 reinelt Exp $ * * generic driver helper for GPIO's * @@ -23,6 +23,9 @@ * * * $Log: drv_generic_gpio.h,v $ + * Revision 1.2 2006/01/03 06:13:45 reinelt + * GPIO's for MatrixOrbital + * * Revision 1.1 2005/12/18 16:18:36 reinelt * GPO's added again * @@ -38,12 +41,13 @@ extern int GPIS; /* number of GPO's */ extern int GPOS; /* number of GPO's */ /* these function must be implemented by the real driver */ -int (*drv_generic_gpio_real_set) (const int num, const int val); -int (*drv_generic_gpio_real_get) (const int num); +extern int (*drv_generic_gpio_real_set) (const int num, const int val); +extern int (*drv_generic_gpio_real_get) (const int num); /* generic functions and widget callbacks */ int drv_generic_gpio_init(const char *section, const char *driver); int drv_generic_gpio_clear(void); +int drv_generic_gpio_get(const int num); int drv_generic_gpio_draw(WIDGET * W); int drv_generic_gpio_quit(void); |