00001 /** @file 00002 * 00003 * AVR implementation of IR-RC5 decoding. Based on the c't-Bot version created 00004 * by Benjamin Benz (bbe@heise.de). 00005 * 00006 * @author Denis Martin 00007 * 00008 * This program is free software; you can redistribute it and/or modify it under 00009 * the terms of the GNU General Public License as published by the Free Software 00010 * Foundation; either version 2 of the License, or (at your option) any later 00011 * version. 00012 * This program is distributed in the hope that it will be useful, but WITHOUT 00013 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00014 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 00015 * details. You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software Foundation, Inc., 00017 * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 00018 */ 00019 00020 #ifndef ASURO_AVR_IRRC5_H_ 00021 #define ASURO_AVR_IRRC5_H_ 00022 00023 /** 00024 * Read the last IR-RC5 code received. This will flush the input, thus 00025 * subsequent calls will return 0 or a new value. 00026 * 00027 * @return Last IR RC5 code received 00028 */ 00029 void AS_isr_irrc5(void); 00030 00031 #endif /*ASURO_AVR_IRRC5_H_*/