ATOM_GPIO

所属分类:串口编程
开发工具:Delphi
文件大小:254KB
下载次数:70
上传日期:2009-03-03 12:28:17
上 传 者carltsui
说明:  針對最新的Intel ATOM N270主機板透過SMBus存取GPIO埠範例(以KEEX-2030板子為範例)
(For the latest Intel ATOM N270 motherboard SMBus access through GPIO port example (to KEEX-2030 board for example))

文件列表:
ATOM GPIO Test\Project1.cfg (386, 2008-12-29)
ATOM GPIO Test\Project1.dof (1560, 2008-12-29)
ATOM GPIO Test\Project1.dpr (213, 2008-12-29)
ATOM GPIO Test\Project1.exe (450048, 2008-12-30)
ATOM GPIO Test\Project1.res (1688, 2007-11-20)
ATOM GPIO Test\Project1.~dpr (188, 2007-11-20)
ATOM GPIO Test\SMBUSTest.exe (65536, 2008-12-24)
ATOM GPIO Test\Unit1.dcu (7966, 2008-12-30)
ATOM GPIO Test\Unit1.ddp (51, 2008-12-30)
ATOM GPIO Test\Unit1.dfm (5330, 2008-12-30)
ATOM GPIO Test\Unit1.pas (5183, 2008-12-30)
ATOM GPIO Test\Unit1.~ddp (51, 2008-12-30)
ATOM GPIO Test\Unit1.~dfm (5498, 2008-12-30)
ATOM GPIO Test\Unit1.~pas (5277, 2008-12-30)
ATOM GPIO Test\winio.dcu (1191, 2008-12-30)
ATOM GPIO Test\WinIo.dll (61440, 2008-12-22)
ATOM GPIO Test\WinIo.h (1145, 2008-12-23)
ATOM GPIO Test\WinIo.lib (2382, 2008-12-22)
ATOM GPIO Test\winio.pas (4698, 2008-12-29)
ATOM GPIO Test\WinIo.sys (4944, 2002-03-01)
ATOM GPIO Test\WINIO.VXD (5174, 2002-03-02)
ATOM GPIO Test\winio.~pas (4700, 2008-12-29)
ATOM GPIO Test (0, 2008-12-30)

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.

近期下载者

相关文件


收藏者