⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scanlib.h

📁 usbn9603等时传输的firmware
💻 H
字号:
/******************************************************************************
*******************************************************************************

  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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -