System Installation
ROBO-8913VG2AR User’s Manual
3-14
Set_CFG2(0x07, 0x07);
/* Select logic device 07*/
Set_CFG2(0xF1, 0xFF);
/* Initial back all GPIO Port1 of Superio 2 to hi */
Set_CFG2(0x07, 0x07);
/* Select logic device 07*/
Set_CFG2(0xF1, 0xEF);
/* GP14 of Superio2 -> ~GP10 of Superio2 */
Set_CFG2(0x07, 0x07);
/* Select logic device 07 of Superio2*/
d2 = Get_CFG2(0xF1);
/* get GPIO Port 2 data */
if (d2 == 0xEE )
printf("\n GPIO14->10 test ok");
else
printf("\n GPIO14->10 test fail ");
StockCheck.com