00001 /*! \file WaspVariables.h 00002 \brief General variables used through the libraries 00003 00004 Copyright (C) 2009 Libelium Comunicaciones Distribuidas S.L. 00005 http://www.libelium.com 00006 00007 This program is free software: you can redistribute it and/or modify 00008 it under the terms of the GNU Lesser General Public License as published by 00009 the Free Software Foundation, either version 2.1 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU Lesser General Public License for more details. 00016 00017 You should have received a copy of the GNU Lesser General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. 00019 00020 Version: 0.1 00021 00022 Design: David Gascón 00023 00024 Implementation: Alberto Bielsa, David Cuartielles 00025 00026 */ 00027 00028 /****************************************************************************** 00029 * Includes 00030 ******************************************************************************/ 00031 00032 #include <inttypes.h> 00033 00034 /****************************************************************************** 00035 * Definitions & Declarations 00036 ******************************************************************************/ 00037 00038 /*! \def intFlag 00039 \brief Flag used for storing the modules that have generated an interruption 00040 */ 00041 /*! \def intConf 00042 \brief Flag used for storing the modules that are enabled to generate an interruption 00043 */ 00044 /*! \def intCounter 00045 \brief Flag that stores the number of interruptions have been generated 00046 */ 00047 /*! \def intArray 00048 \brief Flag used for storing the number of times each different kind of interruption has been generated 00049 */ 00050 00051 volatile uint16_t intFlag; 00052 volatile uint16_t intConf; 00053 00054 volatile uint8_t intCounter; 00055 volatile uint8_t intArray[13];
1.5.6