TDS e28 User Manual page 34

Epic sbc supports intel atom n270 processor with gigabit lan / lvds / tv out / 2com / wifi
Table of Contents

Advertisement

// Set F81865 GPIO54~57 to Low
outportb(IO_PORT_BASE,0xA1);
outportb(IO_PORT_BASE+1,0x00);
// Read F81865 GPIO50~53 Status, if not Low error.
outportb(IO_PORT_BASE,0xA2);
data=inportb(IO_PORT_BASE+1)&0x0F;
if(data!=0x00)
result=1;
// Exit F81865 Config
outportb(IO_PORT_BASE,0xAA);
if(result)
Show_Fail();
else
Show_Pass();
return result;
}
//===========================================================================
// Function : Show_Help()
// Input
: -
// Change : -
// Return : -
// Description : Show Title string.
//===========================================================================
void Show_Help()
{
clrscr();
printf("GPIO Test utility for F81865\n\n");
printf("VCC
迋迋迋迋
printf("GPIO50
迋迋迋迋
printf("GPIO51
迋迋迋迋
printf("GPIO52
迋迋迋迋
printf("GPIO53
}
GND
\n");
GPIO54\n");
GPIO55\n");
GPIO56\n");
GPIO57\n");
34
E28 User Manual

Advertisement

Table of Contents
loading

Related Products for TDS e28

Table of Contents