- 80 -
Appendix
SetPortVal(SIO_INDEX,SIO_DN,1); // SIO - Disable
if( iID == SIO_ID ) return true;
return false;
}
//---------------------------------------------------------------------------
unsigned char __fastcall TForm1::GPIO_Set(unsigned oMode,unsigned char
oData)
{
DWORD iData;
// SIO - Enable
SetPortVal(SIO_INDEX,SIO_EN,1);
SetPortVal(SIO_INDEX,SIO_EN,1);
// LDN - GPIO
SetPortVal(SIO_INDEX,LDN_ADDR,1);
SetPortVal(SIO_DATA,0x06,1);
// GPIO5 - Mode
SetPortVal(SIO_INDEX,0xA0,1);
SetPortVal(SIO_DATA,oMode,1);
// GPIO5 - Data
SetPortVal(SIO_INDEX,0xA1,1);
SetPortVal(SIO_DATA,oData,1);
// GPIO5 - Status
SetPortVal(SIO_INDEX,0xA2,1);
GetPortVal(SIO_DATA,&iData,1);
// SIO - Disable
SetPortVal(SIO_INDEX,SIO_DN,1);
return iData;
}
//---------------------------------------------------------------------------
Summary of Contents for EasyBoard-650E
Page 2: ...This page is intentionally left blank...
Page 5: ...1 Introduction 1 Chapter 1 Introduction Chapter 1 Introduction...
Page 13: ...9 Installation 2 Chapter 2 Installation Chapter 2 Installation...
Page 49: ...45 BIOS 3 Chapter 3 BIOS Chapter 3 BIOS...
Page 76: ...72 Appendix Appendix Appendix...