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

📄 readme

📁 針對最新的Intel ATOM N270主機板透過SMBus存取GPIO埠範例(以KEEX-2030板子為範例)
💻
字号:
Quanmax SMBus Driver for Intel Chipset

1. File list:
	a. winio.h
	b. winio.dll
	c. winio.lib
	d. winio.sys
	e .winio.vxd

2. How to use the driver under VC++

	a. Put the winio.h, winio.lib and winio.dll in the code directory
	b. Include following line in the code file where the SMBUS will be used

		#include "winio.h" 
		#pragma comment(lib,"WinIo.lib") 
		
	c. Start coding the program with following guidelines:
		
		i. Initialize the SMBUS driver by calling the InitializeSMBUS function.
		ii. Calling SMBUS_Read_Byte and SMBUS_Write_Byte to work with the SMBUS device
		iii. Shutdown the SMBUS driver by calling ShutdownSMBUS function.
		
	d. After program compiled, please add the winio.sys and winio.vxd files into the program directory to include the driver.

3. SMBUS driver funuction list 

	
	a. bool InitializeSMBUS();
		This function is use to start the SMBUS driver.

	b. void ShutdownSMBUS();
		This function is use to start the SMBUS driver.

	c. BYTE SMBUS_Read_Byte(BYTE offset,BYTE DEVID);
		This function is use to read from the SMBUS.
		The "DEVID" parameter is the SMBUS address of the device.
		The "offset" parameter is the target address or registar on the device where you wish to access

	d. void SMBUS_Write_Byte(int Dev_id,int Reg_index,int Value);
		This function is use to read from the SMBUS.
		The "Dev_id" parameter is the SMBUS address of the device.
		The "Reg_index" parameter is the target address or registar on the device where you wish to access.
		The "Value" parameter is the value which you wish to write in.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -