00001 /* 00002 * $Id: CanTest.h,v 1.00 2007/09/11 15:45:00 BorisK Exp $ 00003 * 00004 * Copyright (C) 2005 ONTRACK s.r.o. 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00019 * 02111-1307, USA. 00020 * 00021 * [1] ARM-based Microcontroller LPC2119/2129/2194/2292/9994, "Preliminary User Manual", February 03, 2004, Philips 00022 * Written by Boris Kralik <kralikbo@yahoo.com>, 2007 00023 * 00024 */ 00025 #ifndef CANTEST_H 00026 #define CANTEST_H 00027 #include "types.h" 00028 #include "lpc2119.h" 00029 #include "Directive.h" 00030 00031 void TestTxSR(char *,short); 00032 uint32_t TestICR(short,char *,short); 00033 short TestRFS(short,char *,short); 00034 short TestSR(short,char *,short); 00035 short TestGSR(short,char *,short); 00036 void PrintCANsStatus(short,char *,short); 00037 #endif
1.4.7