System Installation
WADE-8021 User’s Manual
3-4
printf ("d2: %x\n", d2);
#endif
if ((d2 & 0x01) == 0)
printf ("GPIO74->GPIO70 test ok !! (pull low)\n");
else
printf ("GPIO74->GPIO70 test fail (pull high) \n");
if ((d2 & 0x02) == 0)
printf ("GPIO75->GPIO71 test ok !! (pull low)\n");
else
printf ("GPIO75->GPIO71 test fail (pull high)\n");
if ((d2 & 0x04) == 0)
printf ("GPIO76->GPIO72 test ok !! (pull low)\n");
else
printf ("GPIO76->GPIO72 test fail (pull high)\n");
if ((d2 & 0x08) == 0)
printf ("GPIO77->GPIO73 test ok !! (pull low)\n");
else
printf ("GPIO77->GPIO73 test fail (pull high)\n");
exit_Superio2_CFG ();
getch ();
return(0);
}