/* $Id$ * $URL$ * * generic driver helper for GPIO's * * Copyright (C) 2005 Michael Reinelt * Copyright (C) 2005 The LCD4Linux Team * * This file is part of LCD4Linux. * * LCD4Linux is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * LCD4Linux is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ #ifndef _DRV_GENERIC_GPO_H_ #define _DRV_GENERIC_GPO_H_ #include "widget.h" extern int GPIS; /* number of GPO's */ extern int GPOS; /* number of GPO's */ /* these function must be implemented by the real driver */ 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); #endif href='/lcd4linux.git/diff/mkinstalldirs?h=master&id=654ac10fea60f352a7f79955f93ea8da75517638&follow=1'>diffstats
AgeCommit message (Expand)AuthorFilesLines
2004-01-06[lcd4linux @ 2004-01-06 22:33:13 by reinelt]reinelt14-472/+542
2004-01-06[lcd4linux @ 2004-01-06 21:14:51 by reinelt]reinelt4-14/+7
2004-01-06[lcd4linux @ 2004-01-06 18:22:41 by reinelt]reinelt1-3/+13
2004-01-06[lcd4linux @ 2004-01-06 17:56:43 by reinelt]reinelt3-1000/+2045
2004-01-06[lcd4linux @ 2004-01-06 17:37:00 by reinelt]reinelt1-0/+20
2004-01-06[lcd4linux @ 2004-01-06 17:33:45 by reinelt]reinelt6-28/+298
2004-01-06[lcd4linux @ 2004-01-06 15:19:12 by reinelt]reinelt2-104/+136
2004-01-05[lcd4linux @ 2004-01-05 11:57:38 by reinelt]reinelt7-8/+168
2004-01-02[lcd4linux @ 2004-01-02 14:20:15 by reinelt]reinelt10-0/+201
2004-01-02[lcd4linux @ 2004-01-02 14:18:54 by reinelt]reinelt2-0/+101
2003-12-19[lcd4linux @ 2003-12-19 06:27:33 by reinelt]reinelt4-8/+119