- 55 -
Appendix
unsigned char iFlag;
int iError = 0;
do
{
outportb(00, 0x1E);
iFlag = inportb(00);
if( + > 0x8000 ) return 2;
}
while( ( iFlag & 0x9F ) != 0 );
outportb(04, D1);
outportb(03, iREG_INDEX);
outportb(02, 0x48);
iError = 0;
do
{
if( + > 0x8000)
return 2;
if( ( inportb(0x00) & 0x06 ) == 0x06 )
return 1;
}
while( (inportb(0x00) & 0x06 ) != 0x02 );
iData = inportb(05);
return iData;
}
void SMB_Byte_WRITE(int SMPORT, int DeviceID, int oREG_INDEX, int oREG_DATA)
{
unsigned char iFlag;
int iError = 0;
do
{
outportb(00, 0x1E);
iFlag = inportb(00);
if( + > 0x8000 ) return;
}
while( ( iFlag & 0x9F ) != 0 );
outportb(04, DeviceID);
outportb(03, oREG_INDEX);
outportb(05, oREG_DATA);
outportb(02, 0x48);
iError = 0;
do
{
+;
if( iError > 0x8000)
return;
if( ( inportb(0x00) & 0x06 ) == 0x06 )
return;
}
while( (inportb(0x00) & 0x06 ) != 0x02 );
}
Summary of Contents for EmETXe-i87M0
Page 1: ...EmETXe i87M0 COM Express Compact Type 6 CPU Module User s Manual Version 1 0 2013 12...
Page 2: ...Revision History Version Date Description 1 0 2013 12 initial release...
Page 9: ...1 Introduction 1 Chapter 1 Introduction...
Page 14: ...6 This page is intentionally left blank...
Page 15: ...7 Board Overview 2 Chapter 2 Board Overview...
Page 22: ...14 This page is intentionally left blank...
Page 23: ...15 Installation Maintenance 3 Chapter 3 Installation Maintenance...
Page 26: ...18 This page is intentionally left blank...
Page 27: ...19 BIOS 4 Chapter 4 BIOS...
Page 52: ...44 This page is intentionally left blank...
Page 53: ...45 Appendix Appendix...