hardware/int2.h

00001 /***************************************************************************
00002  *            int2.h
00003  *
00004  *  Tue Aug 15 19:59:56 2006
00005  *  Copyright  2006  User
00006  *  Email
00007  ****************************************************************************/
00008 
00009 /*
00010  *  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version.
00014  *
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *  GNU General Public License for more details.
00019  *
00020  *  You should have received a copy of the GNU General Public License
00021  *  along with this program; if not, write to the Free Software
00022  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00023  */
00024  
00025 #ifndef _INT2_H
00026         #define _INT2_H
00027 
00028         typedef void ( * INT2_CALLBACK_FUNC ) ( void );
00029         
00030         #define MAX_INT2_CALLBACKS              2
00031         
00032         void INT2_init(void);
00033         unsigned char INT2_RemoveCallbackFunction( INT2_CALLBACK_FUNC pFunc );
00034         unsigned char INT2_RegisterCallbackFunction( INT2_CALLBACK_FUNC pFunc );
00035         
00036         #define FALSE   0
00037         #define TRUE    (!FALSE)
00038         #define NULL    0
00039 
00040 #endif /* _INT2_H */

Erzeugt am Fri Sep 8 13:37:36 2006 für MikroEthernetBoard von  doxygen 1.4.6