Acrosser AR-N8601 Manuel d'utilisateur Page 15

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 31
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 14
AR-B8601 User Manual
15
outportb(IO_PORT_BASE,0xF1);
outportb(IO_PORT_BASE+1,0x00);
// Read W83697HF GPIO14~17 Status, if not Low error.
data=inportb(IO_PORT_BASE+1)&0xF0;
if(data!=0x00)
result=1;
// Set W83697HF GPIO10~13 to input, GPIO14~GPIO17 to Output
outportb(IO_PORT_BASE,0xF0);
outportb(IO_PORT_BASE+1,0x0F);
// Set W83697HF GPIO14~17 to High
outportb(IO_PORT_BASE,0xF1);
outportb(IO_PORT_BASE+1,0xF0);
// Read W83697HF GPIO10~13 Status, if not High error.
data=inportb(IO_PORT_BASE+1)&0x0F;
if(data!=0x0F)
result=1;
// Set W83697HF GPIO14~17 to Low
outportb(IO_PORT_BASE,0xF1);
outportb(IO_PORT_BASE+1,0x00);
// Read W83697HF GPIO14~17 Status, if not Low error.
data=inportb(IO_PORT_BASE+1)&0x0F;
if(data!=0x00)
result=1;
// Exit W83697HF Config
outportb(IO_PORT_BASE,0xAA);
if(result)
Show_Fail();
else
Show_Pass();
return result;
}
Vue de la page 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 30 31

Commentaires sur ces manuels

Pas de commentaire