rc5.h

gehe zur Dokumentation dieser Datei
00001 /*
00002  * rc5.h Infrarot Fernbedienung Definitionen 
00003  * 
00004  * This program is free software; you can redistribute it
00005  * and/or modify it under the terms of the GNU General
00006  * Public License as published by the Free Software
00007  * Foundation; either version 2 of the License, or (at your
00008  * option) any later version. 
00009  * This program is distributed in the hope that it will be 
00010  * useful, but WITHOUT ANY WARRANTY; without even the implied
00011  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00012  * PURPOSE. See the GNU General Public License for more details.
00013  * You should have received a copy of the GNU General Public 
00014  * License along with this program; if not, write to the Free 
00015  * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00016  * MA 02111-1307, USA.
00017  * 
00018  */
00019 
00030 #ifndef RC5_H
00031 #define RC5_H
00032 
00033 #include <inttypes.h>
00034 
00035 #define RC5_TOGGLE  0x0800    
00036 #define RC5_ADDRESS 0x07C0    
00037 #define RC5_COMMAND 0x103F    
00039 #define RC5_MASK (RC5_COMMAND)
00040 
00041 extern volatile uint16_t  RC5data;     
00042 extern volatile uint8_t   enableRC5;   
00047 void InitRC5(void);
00048 
00053 uint16_t ReadRC5(void);
00054 
00059 void IsrRC5(void);
00060 #endif  /* RC5_H */

Erzeugt am Sun Nov 18 18:24:52 2007 für ASURO Library von  doxygen 1.5.1-p1