X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=blobdiff_plain;f=diagnostic.h;fp=diagnostic.h;h=0000000000000000000000000000000000000000;hp=9d40f23666b730812d89ac21af7a612cc8b98713;hb=57895b3bb2fe0582c589685b7df34f3968b346ec;hpb=9a9b64112aee5ab26398b46cb13b7e49c292a355 diff --git a/diagnostic.h b/diagnostic.h deleted file mode 100644 index 9d40f23..0000000 --- a/diagnostic.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright Droids Corporation, Microb Technology, Eirbot (2005) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Revision : $Id: diagnostic.h,v 1.6.4.2 2008-05-09 08:23:52 zer0 Exp $ - * - */ - -#include - - - -/** shows the interrupt cycles on an oscilloscope or a multimeter you - * can then measure the interrupt busy time of your device. this - * function is an infinite loop which has to be the main program, and - * will be interrupted. a port bit is needed as diagnostic interface - * with scope or multimeter. if you use a scope : freezing of the - * oscillation shows interrupt if you use a multimeter : voltage is - * proportionnal to idle time - * 0V >> 0% idle (always busy) - * Vcc/2 >> 100% idle (not interupted) - * be careful, you perhaps need a low pass filter for your voltmeter */ -extern void show_int_loop(void); - -/** This functuion allows to monitor the maximal stack space that was - * used since the last reset (peak value) you can then monitor the - * available space in your ram returns the minimal value of the free - * space left */ -extern uint16_t min_stack_space_available(void); -