Revision: 1.0
40
void Show_Fail();
void Show_Pass();
//====================================================================
=======
// Main procedure
//====================================================================
=======
int main(int argc)
{
char *Model_Name="AR-B6050";
char *Version="v1.0";
unsigned char IO_PORT_BASE=0x2E; // DATA_PORT = IO_POR 1;
unsigned char data;
int result=0;
if ( argc > 1 )
{ Show_Help(); return 1; }
clrscr();
textcolor(WHITE);
gotoxy(1, 1);
cprintf("<>=============================================================
=============<>");
gotoxy(1, 2); cprintf("|| W83627EHF GPIO Test Utility %s Acrosser Technology Co., Ltd.
||",Version);
gotoxy(1, 3);
cprintf("<>=============================================================
=============<>");
gotoxy(1, 4);
cprintf("<>=============================================================
=============<>");
gotoxy(1, 5); cprintf("|| Model Name :
||");
gotoxy(1, 6); cprintf("|| SIO IO Base :
||");
gotoxy(1, 7);
cprintf("<>=============================================================
=============<>");
// Show Got Parameter Informat
textcolor(LIGHTGRAY);
gotoxy(18,5); cprintf("%s",Model_Name);
gotoxy(18,6); cprintf("%X",IO_PORT_BASE);
// Enter W83627EHF Config
outportb(IO_PORT_BASE,0x87);
outportb(IO_PORT_BASE,0x87);
// Set Multi-function Pins to GPIO
outportb(IO_PORT_BASE,0x29);
Summary of Contents for AR-ES6050FLD
Page 1: ...Revision 1 0 1 Revision Description Date 1 0 Release 2010 08 20 AR ES6050FLD System Guide...
Page 5: ...Revision 1 0 5 3 System Configuration 3 2 4 8 9 10 11 12 13 7 5 6 1...
Page 17: ...Revision 1 0 17 3 Switch Cable...
Page 18: ...Revision 1 0 18 4 AR B6050 Board Guide 4 1 Block Diagram...
Page 21: ...Revision 1 0 21 4 2 2 AR B6050 LAYOUT Bottom side SODIMM1 CF...
Page 38: ...Revision 1 0 38 printf For 10 seconds to reset n...