4 * rc5.h - decode rc5 signals
6 * This file is released under the GNU General Public License. Refer
7 * to the COPYING file distributed with this package.
9 * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
16 /** D E F I N I T I O N S ****************************************************/
17 #define RC5_START1 0x01 // for the decoding state-machiene
18 #define RC5_START0 0x02
21 #define RC5_UNDEF 0x00
24 #define RC5_PULSE_LONG 0x02
25 #define RC5_PULSE_SHORT 0x04
26 #define RC5_SPACE_LONG 0x01
27 #define RC5_SPACE_SHORT 0x03
28 #define RC5_IN_UNDEF 0x00
31 /** E X T E R N A L V A R I A B L E S ***************************/
32 extern unsigned char gg_ir;
33 extern unsigned char gg_ir_address;
35 /** P U B L I C P R O T O T Y P E S *****************************/
37 void rc5_decode(void);