- 52 -
Appendix
/* Configuration and Control Register - Enable WDTOUT10# output */
bData = SMB_Byte_READ(SMB_PORT_AD,SMB_DEVICE_ADD,0x01);
bData = bData | 0x20;
SMB_Byte_WRITE(SMB_PORT_AD,SMB_DEVICE_ADD,0x01,bData);
delay(DELAY_TIME);
/* Watchdog Timer Control Register */
SMB_Byte_WRITE(SMB_PORT_AD,SMB_DEVICE_ADD,0x36,0x28);
delay(DELAY_TIME);
/* WDTOUT10 Control Register - Enable WDTOUT10 Output Timer */
SMB_Byte_WRITE(SMB_PORT_AD,SMB_DEVICE_ADD,0x35,(0x80|WDTCount));
}
int WDT_Count(void)
{
unsigned char bData;
bData = SMB_Byte_READ(SMB_PORT_AD,SMB_DEVICE_ADD,0x35) & 0xFF7F;
return bData;
}
unsigned char SMB_Byte_READ(int SMPORT, int DeviceID, int iREG_INDEX)
{
unsigned char iData;
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;
}
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...