亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 復件 jtag.h

?? 新華龍單片機的ISP客戶端程序
?? H
字號:
#if !defined(AFX_JTAG_H__2FDAC7FB_82FB_4B21_9613_33685D007824__INCLUDED_)
#define AFX_JTAG_H__2FDAC7FB_82FB_4B21_9613_33685D007824__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// jtag.h : header file
//
/*
DB25的2-9腳做為輸出端,對應D0-D7
TCK,TMS,TDI腳均選擇其中的某一個引腳

*/

#include "C8051.h"
#include "stdafx.h"


				


/////////////////////////////////////////////////////////////////////////////
// jtag window

class jtag : public CButton
{
// Construction
public:
	jtag();
	//TCK引腳;對PC而言,輸出引腳D0-D7;以下輸入輸出均對于PC
	WORD m_woTCKPin;
	//TMS引腳;輸出
	WORD m_woTMSPin;
	//TDI引腳;輸出
	WORD m_woTDIPin;
	//TDO 引腳;輸入
	WORD m_wiTDOPin;
	//TDO引腳所在的基地址偏移量
	int m_iTDOAddP;
	//電纜型號;
	int	m_iCcabletype;					
	//獲得數據端口地址
	WORD m_nPort;			
	//獲得要寫入數據端口的值WriteValue(數據范圍為0~255)
	unsigned char m_ucWriteValue;
// Attributes
public:
	//返回TDO引腳的信息
	bool TDO(void);
	//TDI引腳波形發生函數
	void TDI(bool bValue);
	//TCK函數,生成TCK,參數為TCK的高 or 低
	void TCK(bool bValue);
	//TMS函數.生產TMS信號
	void TMS(bool bValue);
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(jtag)
	//}}AFX_VIRTUAL

// Implementation
public:
	//設置電纜
	unsigned char CableSetup();

	//------------------------------------------------------------------------------------
	// JTAG_Reset
	//------------------------------------------------------------------------------------
	// This routine places the JTAG state machine on the target system in
	// the Test Logic Reset state by strobing TCK 5 times while leaving
	// TMS high. Leaves the JTAG state machine in the Run_Test/Idle state.
	void JTAG_Reset (void);


	

	virtual ~jtag();

	// Generated message map functions


	//------------------------------------------------------------------------------------
	// FLASH_ByteRead
	//------------------------------------------------------------------------------------
	// This routine reads the byte at <addr> and stores it at the address pointed to by
	// <pdat>.
	// Returns TRUE if the operation was successful; FALSE otherwise (page read-protected).
	int FLASH_ByteRead (unsigned int addr, unsigned char *pdat);

	//------------------------------------------------------------------------------------
	// FLASH_PageErase
	//------------------------------------------------------------------------------------
	// This routine performs an erase of the page in which <addr> is contained.
	// This routine assumes that no FLASH operations are currently in progress.
	// This routine exits with no FLASH operations currently in progress.
	// Returns TRUE if the operation was successful; FALSE otherwise (page protected).
	int FLASH_PageErase (unsigned int addr);

	//------------------------------------------------------------------------------------
	// FLASH_ByteWrite
	//------------------------------------------------------------------------------------
	// This routine writes the data <dat> to FLASH at the address <addr>.
	// Returns TRUE if the operation was successful; FALSE otherwise (page
	// write-protected).
	int FLASH_ByteWrite (unsigned int addr, unsigned char dat);

	//------------------------------------------------------------------------------------
	// JTAG_IRead
	//------------------------------------------------------------------------------------
	// This routine performs an indirect read of register <ireg>, of <num_bits> in length.
	// It follows the read operation with a polling operation, and returns when the
	// operation is completed. Note: the polling implemented here refers to the JTAG
	// register read operation being completed, NOT the FLASH read operation.
	// Polling for the FLASH read operation is handled at a higher level.
	// Examples of valid indirect registers are:
	// FLCN - FLASH Control
	// FLSC - FLASH Scale
	// FLA - FLASH Address
	// FLD - FLASH Data
	// Leaves in the Run_Test/Idle state.
	unsigned long JTAG_IRead (unsigned int ireg, int num_bits);

	
	//------------------------------------------------------------------------------------
	// JTAG_IWrite
	//------------------------------------------------------------------------------------
	// This routine performs an indirect write to register <ireg>, containing <dat>, of
	// <num_bits> in length. It follows the write operation with a polling operation, and
	// returns when the operation is completed. Note: the polling implemented here refers
	// to the JTAG register write operation being completed, NOT the FLASH write operation.
	// Polling for the FLASH write operation is handled at a higher level
	// Examples of valid indirect registers are:
	// FLCN - FLASH Control
	// FLSC - FLASH Scale
	// FLA - FLASH Address
	// FLD - FLASH Data
	// Leaves in the Run_Test/Idle state.
	void JTAG_IWrite (unsigned int ireg, unsigned long dat, int num_bits);


	//------------------------------------------------------------------------------------
	// JTAG_DR_Scan
	//------------------------------------------------------------------------------------
	// This routine shifts <num_bits> of <data> into the Data Register, and returns
	// up to 32-bits of data read from the Data Register.
	// Leaves in the Run_Test/Idle state.
	// Assumes the JTAG state machine starts in the Run_Test/Idle state.
	unsigned long JTAG_DR_Scan (unsigned long dat, int num_bits);

	//------------------------------------------------------------------------------------
	// JTAG_IR_Scan
	//------------------------------------------------------------------------------------
	// This routine loads the supplied <instruction> of <num_bits> length into the JTAG
	// Instruction Register on the target system. Leaves in the Run_Test/Idle state.
	// The return value is the n-bit value read from the IR.
	// Assumes the JTAG state machine starts in the Run_Test/Idle state.
	unsigned int JTAG_IR_Scan (unsigned int instruction, int num_bits);
	//{{AFX_MSG(jtag)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	

protected:
	DECLARE_MESSAGE_MAP()
private:



	//------------------------------------------------------------------------------------
	// JTAG_StrobeTCK
	//------------------------------------------------------------------------------------
	// This routine strobes the TCK pin (brings high then back low again)
	// on the target system.
	void JTAG_StrobeTCK(void);

};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_JTAG_H__2FDAC7FB_82FB_4B21_9613_33685D007824__INCLUDED_)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜激情av| 久久视频一区二区| 99r国产精品| 不卡的看片网站| 成人精品国产一区二区4080| 国产91露脸合集magnet| 成人免费看视频| 色婷婷av一区二区| 欧美精品第1页| 精品黑人一区二区三区久久| 久久综合视频网| 国产精品看片你懂得| 亚洲蜜桃精久久久久久久| 亚洲黄色片在线观看| 日韩激情视频在线观看| 久久精品国产网站| 丁香婷婷综合激情五月色| 99riav一区二区三区| 欧美精品在线视频| 久久蜜桃一区二区| 一区二区三区中文在线| 丝袜亚洲另类丝袜在线| 日韩高清中文字幕一区| 国产福利91精品一区二区三区| 国产精品1区2区3区| av在线不卡免费看| 欧美男人的天堂一二区| 日韩精品在线网站| 亚洲色欲色欲www| 日韩av电影免费观看高清完整版 | 欧美日韩精品电影| 久久精品视频在线看| 中文字幕一区二区三区蜜月| 一区二区三区在线高清| 精品一二线国产| 一本高清dvd不卡在线观看| 日韩一区二区不卡| 亚洲欧美区自拍先锋| 美女在线观看视频一区二区| 色综合网色综合| 久久久高清一区二区三区| 一区二区三区自拍| 国产精品88888| 欧美片网站yy| 亚洲另类在线制服丝袜| 国产一区二区三区久久久| 欧美三级电影网| ...xxx性欧美| 成人晚上爱看视频| 日韩精品专区在线影院观看| 亚洲欧美色一区| 成人高清伦理免费影院在线观看| 日韩亚洲欧美在线| 午夜精彩视频在线观看不卡| 99re在线精品| 国产精品久久久久aaaa樱花 | 激情图区综合网| 91精品国产91久久久久久一区二区 | 国模娜娜一区二区三区| 69久久夜色精品国产69蝌蚪网| 亚洲人成网站影音先锋播放| 国产成人aaa| 久久久精品2019中文字幕之3| 美女视频免费一区| 欧美一区二区三区视频| 天天影视涩香欲综合网| 欧美日韩国产在线观看| 亚洲日本一区二区| 99麻豆久久久国产精品免费| 国产欧美综合在线| 成人午夜在线视频| 国产精品久久久久四虎| 99国产精品久| 中文字幕亚洲精品在线观看 | 欧美日韩精品一区二区三区四区| 中文字幕在线不卡| 91麻豆国产福利在线观看| 国产精品久久久久一区二区三区 | 最新欧美精品一区二区三区| 99精品欧美一区| 亚洲视频在线一区| 欧美性生活大片视频| 亚洲一区二区偷拍精品| 欧美日韩国产首页在线观看| 亚洲综合久久av| 日韩三级在线观看| 国产一区二区三区四区在线观看| 国产午夜亚洲精品午夜鲁丝片| 成人精品视频.| 夜夜嗨av一区二区三区网页| 欧美群妇大交群中文字幕| 蜜桃av一区二区三区电影| 久久综合av免费| 91在线看国产| 日日摸夜夜添夜夜添精品视频| 91麻豆精品国产91久久久| 国产一区在线观看视频| 国产精品久久久久久福利一牛影视| 色婷婷综合久久久久中文一区二区| 午夜视频在线观看一区二区| 日韩女优毛片在线| 99久久99久久精品国产片果冻 | 青草国产精品久久久久久| 日本一区二区免费在线| 色视频一区二区| 久草中文综合在线| 亚洲男帅同性gay1069| 日韩一区二区免费在线观看| 成人性色生活片| 免费视频最近日韩| 亚洲免费大片在线观看| 日韩精品最新网址| 色婷婷国产精品久久包臀| 久久成人免费网| 一级做a爱片久久| 欧美国产禁国产网站cc| 6080日韩午夜伦伦午夜伦| 99re亚洲国产精品| 精品一区二区免费在线观看| 日韩一区欧美一区| 久久网站热最新地址| 欧美日韩国产一区二区三区地区| 国产成人综合在线| 日本伊人精品一区二区三区观看方式| 日本一区二区在线不卡| 欧美精品国产精品| 欧美在线观看视频一区二区三区| 国产精品一色哟哟哟| 日韩高清一区二区| 亚洲国产色一区| 国产精品久久久久久亚洲毛片| 日韩一级黄色片| 欧美久久免费观看| 欧美专区在线观看一区| 91香蕉视频mp4| jizzjizzjizz欧美| 国产经典欧美精品| 久久国产精品99久久人人澡| 亚洲一区中文在线| 亚洲美女视频一区| 亚洲欧美日本韩国| 亚洲天堂a在线| 国产丝袜欧美中文另类| 26uuu成人网一区二区三区| 日韩欧美一卡二卡| 欧美一级艳片视频免费观看| 5月丁香婷婷综合| 欧美日韩激情一区二区三区| 欧美视频在线不卡| 欧美日韩一区二区三区在线| 91精品1区2区| 欧美日韩综合在线免费观看| 在线观看免费亚洲| 欧美日韩一级片在线观看| 国产亚洲精品免费| 国产亚洲精品久| 国产欧美日韩在线视频| 欧美国产日韩精品免费观看| 国产日韩亚洲欧美综合| 国产精品二区一区二区aⅴ污介绍| 国产精品亲子乱子伦xxxx裸| 国产精品高清亚洲| 亚洲制服丝袜av| 日韩高清一区在线| 激情国产一区二区| 白白色 亚洲乱淫| 色中色一区二区| 制服丝袜中文字幕一区| 精品国产乱码久久久久久老虎| 国产午夜精品一区二区三区嫩草| 国产精品女同互慰在线看| 亚洲精品ww久久久久久p站| 亚洲一区二区在线免费看| 捆绑变态av一区二区三区| 国产不卡一区视频| 色综合视频在线观看| 欧美一区二区黄| 中文字幕亚洲成人| 日韩精品色哟哟| av在线播放成人| 欧美一激情一区二区三区| 国产亚洲精品aa| 亚洲成av人片在线| 国产精品一区二区久久精品爱涩 | 免费成人在线观看| eeuss鲁片一区二区三区在线看| 一本一本大道香蕉久在线精品| 91精品国产乱码| 亚洲婷婷综合久久一本伊一区| 香蕉久久一区二区不卡无毒影院| 国产裸体歌舞团一区二区| 欧美色区777第一页| 国产偷国产偷精品高清尤物| 亚洲乱码日产精品bd| 国产激情一区二区三区四区 | 欧美性受极品xxxx喷水| 国产欧美精品一区| 日韩极品在线观看| 日本精品一区二区三区高清| 国产亚洲精久久久久久|