Advantech ITA-5231 Series User Manual page 80

Fanless embedded industrial computer with 6th gen intel core i processor for railway applications
Hide thumbs Also See for ITA-5231 Series:
Table of Contents

Advertisement

SMBUS), error occurs on SMBUS which is rarely the case
}
return result;
}
/////////////////////////////////////////////////////////////////////
BYTE
check_data (W ORD addr)
{
int i;
BYTE data;
for(i = 0; i <= 6; i++)
{
}
return data;
}
/////////////////////////////////////////////////////////////////////
void newiodelay()
//Shorter delay
{
outportb(0xeb, 0); // IO port 0xeb No real device occupies.
Write a value to this port can realize delay function. You can also
choose other method according to the real situation.
}
/////////////////////////////////////////////////////////////////////
void
moredelay()
//longerdelay
{
int i;
ITA-5231 User Manual
}
if (data & 0x04)
{
// If bit 2 is set (which means error occurs on
result = 1;
break;
}
data = inportb(addr);
if (data!= 0)
break;
//SMBUS error
70

Advertisement

Table of Contents
loading

Table of Contents