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

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

?? form1.cs

?? 老外的一個開源項目
?? CS
?? 第 1 頁 / 共 2 頁
字號:
//---------------------------------------------------------------------------------
// Copyright (c) David Vescovi.  All rights reserved.
// Part of Project DrumStix
// Windows Embedded Developers Interest Group (WE-DIG) community project.
// http://www.we-dig.org
//
// PhyIO Read/Write any physical location
// including SOC registers
//
//---------------------------------------------------------------------------------
using System;
using System.Drawing;
using System.Collections;
using System.Windows.Forms;
using System.Data;
using System.Runtime.InteropServices;

namespace PhyIO
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class Form1 : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button btRead;
		private System.Windows.Forms.Button btWrite;
	
		private static Int32 CODE_IOCTL_PHY_ADR = 4005;
		
		private static Int32 FILE_DEVICE_HAL = 0x00000101;
		private static Int32 FILE_ANY_ACCESS = 0x0;
		private static Int32 METHOD_BUFFERED = 0x0;
		private System.Windows.Forms.TextBox tbAddressHI;
		private System.Windows.Forms.TextBox tbDataHI;
		private System.Windows.Forms.TextBox tbMaskHI;
		private System.Windows.Forms.TextBox tbAddressLO;
		private System.Windows.Forms.TextBox tbDataLO;
		private System.Windows.Forms.TextBox tbMaskLO;
		private System.Windows.Forms.Label lbAddress;
		private System.Windows.Forms.Label lbData;
		private System.Windows.Forms.Label lbMask;
		private System.Windows.Forms.VScrollBar vScrollBar1;
		private System.Windows.Forms.Label lbHI;
		private System.Windows.Forms.Label lbLO;

		private uint g_address = 0x00000000;
		private uint g_data =    0x00000000;
		private uint g_mask =    0x00000000;
		
		private static Int32 IOCTL_PHY_ADR = 
			((FILE_DEVICE_HAL) << 16) | ((FILE_ANY_ACCESS) << 14) 
			| ((CODE_IOCTL_PHY_ADR) << 2) | (METHOD_BUFFERED);

		[DllImport("coredll.dll", SetLastError=true)]
		private static extern bool KernelIoControl(Int32 dwIoControlCode, byte[] lpInBuf, Int32 nInBufSize,
			byte[] lpOutBuf, Int32 nOutBufSize, ref Int32 lpBytesReturned);

		public Form1()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			base.Dispose( disposing );
		}
		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.btRead = new System.Windows.Forms.Button();
            this.btWrite = new System.Windows.Forms.Button();
            this.tbAddressHI = new System.Windows.Forms.TextBox();
            this.tbDataHI = new System.Windows.Forms.TextBox();
            this.tbMaskHI = new System.Windows.Forms.TextBox();
            this.tbAddressLO = new System.Windows.Forms.TextBox();
            this.tbDataLO = new System.Windows.Forms.TextBox();
            this.tbMaskLO = new System.Windows.Forms.TextBox();
            this.lbAddress = new System.Windows.Forms.Label();
            this.lbData = new System.Windows.Forms.Label();
            this.lbMask = new System.Windows.Forms.Label();
            this.vScrollBar1 = new System.Windows.Forms.VScrollBar();
            this.lbHI = new System.Windows.Forms.Label();
            this.lbLO = new System.Windows.Forms.Label();
            this.SuspendLayout();
            // 
            // btRead
            // 
            this.btRead.Location = new System.Drawing.Point(24, 168);
            this.btRead.Name = "btRead";
            this.btRead.Size = new System.Drawing.Size(72, 24);
            this.btRead.TabIndex = 13;
            this.btRead.Text = "READ";
            this.btRead.Click += new System.EventHandler(this.btRead_Click);
            // 
            // btWrite
            // 
            this.btWrite.Location = new System.Drawing.Point(136, 168);
            this.btWrite.Name = "btWrite";
            this.btWrite.Size = new System.Drawing.Size(72, 24);
            this.btWrite.TabIndex = 12;
            this.btWrite.Text = "WRITE";
            this.btWrite.Click += new System.EventHandler(this.btWrite_Click);
            // 
            // tbAddressHI
            // 
            this.tbAddressHI.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.tbAddressHI.Location = new System.Drawing.Point(104, 24);
            this.tbAddressHI.MaxLength = 4;
            this.tbAddressHI.Name = "tbAddressHI";
            this.tbAddressHI.Size = new System.Drawing.Size(48, 26);
            this.tbAddressHI.TabIndex = 11;
            this.tbAddressHI.Text = "0000";
            // 
            // tbDataHI
            // 
            this.tbDataHI.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.tbDataHI.Location = new System.Drawing.Point(104, 72);
            this.tbDataHI.MaxLength = 4;
            this.tbDataHI.Name = "tbDataHI";
            this.tbDataHI.Size = new System.Drawing.Size(48, 26);
            this.tbDataHI.TabIndex = 10;
            this.tbDataHI.Text = "0000";
            // 
            // tbMaskHI
            // 
            this.tbMaskHI.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.tbMaskHI.Location = new System.Drawing.Point(104, 120);
            this.tbMaskHI.MaxLength = 4;
            this.tbMaskHI.Name = "tbMaskHI";
            this.tbMaskHI.Size = new System.Drawing.Size(48, 26);
            this.tbMaskHI.TabIndex = 9;
            this.tbMaskHI.Text = "0000";
            // 
            // tbAddressLO
            // 
            this.tbAddressLO.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.tbAddressLO.Location = new System.Drawing.Point(160, 24);
            this.tbAddressLO.MaxLength = 4;
            this.tbAddressLO.Name = "tbAddressLO";
            this.tbAddressLO.Size = new System.Drawing.Size(48, 26);
            this.tbAddressLO.TabIndex = 8;
            this.tbAddressLO.Text = "0000";
            // 
            // tbDataLO
            // 
            this.tbDataLO.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.tbDataLO.Location = new System.Drawing.Point(160, 72);
            this.tbDataLO.MaxLength = 4;
            this.tbDataLO.Name = "tbDataLO";
            this.tbDataLO.Size = new System.Drawing.Size(48, 26);
            this.tbDataLO.TabIndex = 7;
            this.tbDataLO.Text = "0000";
            // 
            // tbMaskLO
            // 
            this.tbMaskLO.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.tbMaskLO.Location = new System.Drawing.Point(160, 120);
            this.tbMaskLO.MaxLength = 4;
            this.tbMaskLO.Name = "tbMaskLO";
            this.tbMaskLO.Size = new System.Drawing.Size(48, 26);
            this.tbMaskLO.TabIndex = 6;
            this.tbMaskLO.Text = "0000";
            // 
            // lbAddress
            // 
            this.lbAddress.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.lbAddress.Location = new System.Drawing.Point(0, 32);
            this.lbAddress.Name = "lbAddress";
            this.lbAddress.Size = new System.Drawing.Size(96, 24);
            this.lbAddress.Text = "Address:";
            this.lbAddress.TextAlign = System.Drawing.ContentAlignment.TopRight;
            // 
            // lbData
            // 
            this.lbData.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.lbData.Location = new System.Drawing.Point(0, 80);
            this.lbData.Name = "lbData";
            this.lbData.Size = new System.Drawing.Size(96, 24);
            this.lbData.Text = "Data:";
            this.lbData.TextAlign = System.Drawing.ContentAlignment.TopRight;
            // 
            // lbMask
            // 
            this.lbMask.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.lbMask.Location = new System.Drawing.Point(0, 128);
            this.lbMask.Name = "lbMask";
            this.lbMask.Size = new System.Drawing.Size(96, 24);
            this.lbMask.Text = "Mask:";
            this.lbMask.TextAlign = System.Drawing.ContentAlignment.TopRight;
            // 
            // vScrollBar1
            // 
            this.vScrollBar1.LargeChange = 16;
            this.vScrollBar1.Location = new System.Drawing.Point(208, 16);
            this.vScrollBar1.Maximum = 32;
            this.vScrollBar1.Minimum = -32;
            this.vScrollBar1.Name = "vScrollBar1";
            this.vScrollBar1.Size = new System.Drawing.Size(13, 40);
            this.vScrollBar1.SmallChange = 4;
            this.vScrollBar1.TabIndex = 2;
            this.vScrollBar1.ValueChanged += new System.EventHandler(this.vScrollBar1_ValueChanged);
            // 
            // lbHI
            // 
            this.lbHI.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.lbHI.Location = new System.Drawing.Point(120, 0);
            this.lbHI.Name = "lbHI";
            this.lbHI.Size = new System.Drawing.Size(32, 20);
            this.lbHI.Text = "HI";
            // 
            // lbLO
            // 
            this.lbLO.Font = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular);
            this.lbLO.Location = new System.Drawing.Point(176, 0);
            this.lbLO.Name = "lbLO";
            this.lbLO.Size = new System.Drawing.Size(32, 20);
            this.lbLO.Text = "LO";
            // 
            // Form1
            // 
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
            this.ClientSize = new System.Drawing.Size(638, 455);
            this.Controls.Add(this.lbLO);
            this.Controls.Add(this.lbHI);
            this.Controls.Add(this.vScrollBar1);
            this.Controls.Add(this.lbMask);
            this.Controls.Add(this.lbData);
            this.Controls.Add(this.lbAddress);
            this.Controls.Add(this.tbMaskLO);
            this.Controls.Add(this.tbDataLO);
            this.Controls.Add(this.tbAddressLO);
            this.Controls.Add(this.tbMaskHI);
            this.Controls.Add(this.tbDataHI);
            this.Controls.Add(this.tbAddressHI);
            this.Controls.Add(this.btWrite);
            this.Controls.Add(this.btRead);
            this.MaximizeBox = false;
            this.Name = "Form1";
            this.Text = "PHYIO V1.1";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.ResumeLayout(false);

		}
		#endregion

		/// <summary>
		/// The main entry point for the application.
		/// </summary>

		static void Main() 
		{
			Application.Run(new Form1());
		}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久婷婷成人综合色| 精品美女在线播放| youjizz国产精品| 国产麻豆精品视频| 免费精品视频在线| 免费在线一区观看| 精品一区二区三区久久| 久久9热精品视频| 精品在线亚洲视频| 国产+成+人+亚洲欧洲自线| 成人精品电影在线观看| av在线播放不卡| 在线视频欧美精品| 777午夜精品免费视频| 2023国产精品视频| 中文字幕亚洲一区二区va在线| 亚洲欧洲性图库| 午夜视频在线观看一区二区三区| 日韩电影免费一区| 国产麻豆视频精品| 色综合色狠狠天天综合色| 欧美妇女性影城| 国产乱一区二区| 亚洲黄色录像片| 欧洲av在线精品| 99国产精品国产精品久久| 在线观看不卡视频| 久久综合久久99| 亚洲精品日韩专区silk| 日本视频在线一区| 福利视频网站一区二区三区| 欧美亚洲禁片免费| 欧美精品一区二区在线播放 | 国产91精品露脸国语对白| 成人高清伦理免费影院在线观看| 欧美综合亚洲图片综合区| 精品美女一区二区| 亚洲精品国产精品乱码不99| 蜜臀av性久久久久av蜜臀妖精| 成人美女在线视频| 欧美一区二区三区视频在线 | 国产亲近乱来精品视频| 一区二区三区日韩精品视频| 九九久久精品视频| 欧美色倩网站大全免费| 国产欧美精品国产国产专区| 日韩中文字幕亚洲一区二区va在线 | 精品福利一区二区三区| 一区二区三区在线免费播放 | 亚洲影视资源网| 成人a级免费电影| 亚洲精品一区二区三区蜜桃下载 | 日韩理论片中文av| 精品一区二区三区在线观看国产 | 午夜a成v人精品| aaa欧美日韩| 国产调教视频一区| 精品一区二区三区久久| 欧美一区二区三区视频免费播放 | 精品国产区一区| 性久久久久久久| 欧美系列在线观看| 一区二区高清免费观看影视大全| 国产成人午夜99999| 久久嫩草精品久久久精品一| 全国精品久久少妇| 欧美久久久久久久久久| 伊人性伊人情综合网| 北岛玲一区二区三区四区| 国产亚洲精品免费| 国产一区二区三区美女| 亚洲精品一区二区三区99| 精品一区二区免费| 精品国产一区二区在线观看| 久久精品久久久精品美女| 91精品国产综合久久香蕉麻豆 | 欧美一区日本一区韩国一区| 亚洲成人自拍偷拍| 88在线观看91蜜桃国自产| 日韩国产欧美三级| 欧美xxxxxxxxx| 国内国产精品久久| 国产目拍亚洲精品99久久精品| 国产高清不卡二三区| 国产欧美在线观看一区| 波多野结衣中文字幕一区二区三区| 国产调教视频一区| 色婷婷精品久久二区二区蜜臂av | 欧美亚洲禁片免费| 丝袜脚交一区二区| 精品国产污污免费网站入口| 国产成人精品免费在线| 亚洲人成在线观看一区二区| 欧美日韩激情一区二区| 久久99热国产| 国产精品不卡在线| 色88888久久久久久影院按摩| 亚洲成a人在线观看| 精品国产露脸精彩对白 | 欧美三级午夜理伦三级中视频| 午夜精品久久久久影视| 精品国产网站在线观看| 91在线视频18| 蜜乳av一区二区三区| 国产精品久久久久影院色老大| 91电影在线观看| 久久国产精品露脸对白| 中文字幕一区二区三| 9191久久久久久久久久久| 成人丝袜视频网| 日韩精品一二三区| 中文字幕成人av| 欧美精品三级在线观看| 粗大黑人巨茎大战欧美成人| 婷婷夜色潮精品综合在线| 国产日韩av一区二区| 欧美日韩视频在线第一区 | 欧美一级高清片| av午夜精品一区二区三区| 天天操天天综合网| 国产精品免费免费| 日韩一级片网址| 一本大道久久a久久精二百 | 日本韩国精品在线| 欧美午夜免费电影| 国产福利电影一区二区三区| 石原莉奈一区二区三区在线观看| 国产欧美日韩亚州综合 | 成人自拍视频在线观看| 美女视频网站久久| 亚洲成人第一页| 一区二区激情视频| 中文字幕在线观看不卡视频| 2019国产精品| 日韩精品中文字幕在线不卡尤物| 欧美调教femdomvk| 一本色道a无线码一区v| 国产宾馆实践打屁股91| 精品一区二区三区免费观看 | 欧美在线一二三| 播五月开心婷婷综合| 成人av在线一区二区| 国产精品综合av一区二区国产馆| 蜜桃视频一区二区| 日本91福利区| 日韩国产在线观看一区| 天堂午夜影视日韩欧美一区二区| 一区二区三区日韩在线观看| 亚洲免费成人av| 一区二区三区四区激情| 亚洲男人的天堂在线aⅴ视频| 欧美国产日本韩| 欧美国产视频在线| 成人欧美一区二区三区在线播放| 欧美韩国日本综合| 亚洲欧美激情一区二区| 亚洲视频狠狠干| 一区二区三区国产精华| 亚洲精选视频在线| 亚洲18女电影在线观看| 日韩不卡一区二区三区| 麻豆成人综合网| 国产一区二区三区免费| 99久久综合99久久综合网站| 色狠狠综合天天综合综合| 在线免费不卡视频| 日韩一区二区三区免费看| 精品欧美乱码久久久久久| 久久丝袜美腿综合| 亚洲欧美一区二区在线观看| 亚洲一区二区三区视频在线| 亚洲成人一区在线| 经典三级一区二区| 99久久er热在这里只有精品15| 色婷婷精品久久二区二区蜜臀av | 精品国产乱码久久久久久影片| 精品久久久久久久久久久院品网 | 欧美久久久久久久久中文字幕| 日韩欧美一区二区免费| 国产欧美精品一区| 午夜视黄欧洲亚洲| 国产美女视频一区| 色就色 综合激情| 精品国产区一区| 夜夜揉揉日日人人青青一国产精品| 亚洲地区一二三色| 成人黄色大片在线观看| 7777精品伊人久久久大香线蕉超级流畅| 日韩欧美专区在线| 亚洲色图欧美在线| 久久国产精品免费| 欧美色视频在线| 国产精品美女一区二区三区| 午夜精品一区在线观看| 不卡电影一区二区三区| 日韩精品一区二区三区老鸭窝| 综合久久综合久久| 国产在线精品免费| 欧美午夜电影在线播放| 国产日韩精品久久久|