00001 /* 00002 * $Id: jtag.h,v 1 2005/07/09 16:13:00 BorisK Exp $ 00003 * 00004 * Copyright (C) 2004 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 00022 * 00023 * Written by Boris Kralik <kralikbo@yahoo.com>, 2005 00024 * 00025 */ 00026 #ifndef JTAG_H 00027 #define JTAG_H 00028 00029 #include "lpc2119.h" 00030 #include "types.h" 00031 #include "pll.h" 00032 #include "sysTime.h" 00033 00034 #define DBG 1 00035 #define JTAG 1 00036 #define GPIO 1 00037 void JtagInitialize(void); 00038 boolean bToogle; 00039 void jtagOff(); 00040 #if GPIO 00041 void SetGPIOPins_In_OUT(void); 00042 void SetTDO_Value(short); 00043 void SetRTCK_Value(short); 00044 #endif 00045 00046 #endif
1.4.7