![Winmate IA30 User Manual Download Page 84](http://html1.mh-extra.com/html/winmate/ia30/ia30_user-manual_987066084.webp)
Note1: Digital I/O Sample Code
//File of the Main.cpp
//===========================================================
//This code is for test IA30 Super I/O.
//===========================================================
#include <dos.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
//============================================================
#define W83627EHG_INDEX_PORT 0x2E
#define W83627EHG_DATA_PORT 0x2F
//============================================================
#define W83627EHG_REG_LD 0x07
//============================================================
#define W83627EHG_UNLOCK 0x87
#define W83627EHG_LOCK 0xAA
//============================================================
void ClrKbBuf(void);
void Unlock_W83627EHG(void);
void Lock_W83627EHG(void);
void Set_W83627EHG_Reg(unsigned char,unsigned char);
unsigned char Get_W83627EHG_Reg(unsigned char);
int main ();
//============================================================
int main ()
{
unsigned char ucDO = 0; //data for digital output
unsigned char ucDI; //data for digital input
unsigned char ucBuf;
Set_W83627EHG_Reg(0x07,0x07);//switch to logic device 7
//
PIN 121~128 function select
//
Bit0 = 0 -> Game Port.
IA30 Motherboard User Manual
76
Summary of Contents for IA30
Page 13: ...1 5 Board dimensions IA30 Motherboard User Manual 5 ...
Page 45: ...Setp 6 Click on Finish and go on IA30 Motherboard User Manual 37 ...
Page 62: ...ACPI Configuration General ACPI Configuration IA30 Motherboard User Manual 54 ...
Page 73: ...IA30 Motherboard User Manual 65 ...