scanlib.h
来自「usbn9603等时传输的firmware」· C头文件 代码 · 共 63 行
H
63 行
/******************************************************************************
*******************************************************************************
Copyright 1994 National Semiconductor Corporation
National Semiconductor Corporation makes no warranty for the use of
its products and assumes no responsibility for any errors which may
appear in this file nor does it make a commitment to update the
information contained herein.
Filename: scanlib.h
Description: Header file for scanlib.c. Contains prototypes and compiler
constants.
Revision History:
Revision Date Comments
-----------------------------------------------------------------------
1.00 01MAY95 Initial Revision
1.02 Oct95 QA/Clean-up.
SS $Revision: 1.1 $
*******************************************************************************
******************************************************************************/
/* Parameters passed to scan_lib */
#define TRST_HI 0x03
#define TRST_LOW 0x00
#define TRST_PULSE 0x02
/* Function Return Codes */
#ifndef PASS
#define PASS 0
#endif
#ifndef FAIL
#define FAIL 1
#endif
#ifndef ILLEGAL_STATE
#define ILLEGAL_STATE 5
#endif
#ifndef ILLEGAL_PATH
#define ILLEGAL_PATH 6
#endif
typedef unsigned char BYTE;
typedef unsigned int WORD;
typedef unsigned long DWORD;
int Write_Read_JTAG(int ,BYTE *, BYTE *,unsigned long);
int InitTestMaster(void);
void WriteTckCounter(unsigned long);
unsigned long ReadTckCounter(void);
int WaitForPsc(unsigned char);
int SequenceTms(WORD, unsigned int);
int SelectTms(unsigned int);
int Shift(BYTE *, unsigned long, BYTE *);
int PulseTck(unsigned long);
int InitPsc(void);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?