Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4 | lvd | 1 | #ifndef _T_TAP_H |
2 | #define _T_TAP_H |
||
3 | |||
4 | /* |
||
5 | * INFO: |
||
6 | * t_tap.h (C) 2002 Dr. Yuri Klimets (www.jtag.tk, jtagtools.sf.net) |
||
7 | * E-mail: klimets@jtag.tk |
||
8 | * Rev. 1.1 - 20.02.2002 |
||
9 | * |
||
10 | * |
||
11 | * DESCRIPTION: |
||
12 | * Contains different definitions for TAP class (see tap.h and tap.cpp) |
||
13 | * |
||
14 | * |
||
15 | * DISCLAIMER: |
||
16 | * This program is free software; you can redistribute it and/or modify |
||
17 | * it under the terms of the GNU General Public License as published by |
||
18 | * the Free Software Foundation; either version 2 of the License, or |
||
19 | * (at your option) any later version. |
||
20 | * |
||
21 | * This program is distributed in the hope that it will be useful, |
||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
24 | * GNU General Public License for more details. |
||
25 | * |
||
26 | * You should have received a copy of the GNU General Public License |
||
27 | * along with this program; if not, write to the Free Software |
||
28 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
||
29 | */ |
||
30 | |||
31 | #define _TDO_ 7 // #BUSY (status port) !!! INVERTED !!! |
||
32 | #define _TDI_ 6 // D6 (data port) |
||
33 | #define _TCK_ 0 // D0 (data port) |
||
34 | #define _TMS_ 1 // D1 (data port) |
||
35 | #define _BBMV_ON_ 1 // D1 (bbmv ON) !!! INVERTED !!! |
||
36 | |||
37 | #define TAP_SUCCESS 0 // previous operation was successfully finished |
||
38 | #define TAP_FAILED 1 // previous operation is failed |
||
39 | #define TAP_DENIED 2 // access to device is denied |
||
40 | #define TAP_UNSUPP 3 // unsupported operation |
||
41 | #define TAP_MEMERR 4 // there is not enough memory |
||
42 | |||
43 | #endif |