Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

i2cio_pp.h

Go to the documentation of this file.
00001 /* -*-C-*-
00002 *******************************************************************************
00003 *
00004 * File:         i2cio_pp.h
00005 * Description:  i2cio class for parallel port
00006 *
00007 *******************************************************************************
00008 */
00009 
00010 /*
00011  * Copyright 2001 Free Software Foundation, Inc.
00012  * 
00013  * This file is part of GNU Radio
00014  * 
00015  * GNU Radio is free software; you can redistribute it and/or modify
00016  * it under the terms of the GNU General Public License as published by
00017  * the Free Software Foundation; either version 2, or (at your option)
00018  * any later version.
00019  * 
00020  * GNU Radio is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00023  * GNU General Public License for more details.
00024  * 
00025  * You should have received a copy of the GNU General Public License
00026  * along with GNU Radio; see the file COPYING.  If not, write to
00027  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00028  * Boston, MA 02111-1307, USA.
00029  */
00030 
00031 #ifndef _I2CIO_PP_H_
00032 #define _I2CIO_PP_H_
00033 
00034 #include "i2cio.h"
00035 #include "ppio.h"
00036 
00040 class i2cio_pp : public i2cio {
00041  public:
00042 
00043   i2cio_pp (ppio *a_pp);
00044 
00045   virtual void set_scl (bool state);
00046   virtual void set_sda (bool state);
00047   virtual bool get_sda ();
00048 
00049   virtual void lock ();
00050   virtual void unlock ();
00051 
00052  private:
00053   ppio  *d_pp;
00054 };
00055 
00056 #endif /* _I2CIO_PP_H_ */

Generated on Wed Mar 23 12:30:24 2005 for GNU Radio by  doxygen 1.4.0