CVS: jtag/hardware_access HIL.c,1.3,1.4 HIL.def,1.1,1.2 HIL.h,1.3,1.4

Chris Liechti <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/jtag/hardware_access
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1459/jtag/hardware_access

Modified Files:
	HIL.c HIL.def HIL.h 
Log Message:
add a public implementation of HIL_ReadTDO

Index: HIL.c
===================================================================
RCS file: /cvsroot/mspgcc/jtag/hardware_access/HIL.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- HIL.c	17 Feb 2004 12:09:47 -0000	1.3
+++ HIL.c	12 Jul 2004 19:57:27 -0000	1.4
@@ -1076,6 +1076,11 @@
     return ret & TDO;
 }
 
+LONG WINAPI HIL_ReadTDO(void) {
+    return ReadTDO() != 0;      //return a boolean
+}
+
+
 //----------------------------------------------------------------------------
 /* This function sets the target JTAG state machine (JTAG FSM) back into the 
    Run-Test/Idle state after a shift access.

Index: HIL.def
===================================================================
RCS file: /cvsroot/mspgcc/jtag/hardware_access/HIL.def,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- HIL.def	27 Nov 2003 00:48:54 -0000	1.1
+++ HIL.def	12 Jul 2004 19:57:44 -0000	1.2
@@ -42,3 +42,5 @@
 HIL_VCC=HIL_VCC@4
 HIL_VPP@4
 HIL_VPP=HIL_VPP@4
+HIL_ReadTDO@0
+HIL_ReadTDO=HIL_ReadTDO@0

Index: HIL.h
===================================================================
RCS file: /cvsroot/mspgcc/jtag/hardware_access/HIL.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- HIL.h	27 Nov 2003 00:48:54 -0000	1.3
+++ HIL.h	12 Jul 2004 19:57:44 -0000	1.4
@@ -45,6 +45,7 @@
 void WINAPI HIL_StartTimer(void);
 ULONG WINAPI HIL_ReadTimer(void);
 void WINAPI HIL_StopTimer(void);
+LONG WINAPI HIL_ReadTDO(void);
 
 #define SetTMS()        HIL_TMS(1)
 #define ClrTMS()        HIL_TMS(0)



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.