![Winmate IA70 Скачать руководство пользователя страница 106](http://html.mh-extra.com/html/winmate/ia70/ia70_user-manual_987067106.webp)
IA70 Motherboard User Manual V1.1
96
//
Bit0 = 0 -> Game Port.
// = 1 -> GPIO1.
ucBuf = Get_W83627EHG_Reg(0x29);
Set_W83627EHG_Reg(0x29,ucBuf|0x01);
// Bit0 = 0 -> GPIO1 is inactive.
//
Bit1 = 1 -> Activate GPIO1.
ucBuf = Get_W83627EHG_Reg(0x30);
Set_W83627EHG_Reg(0x30,ucBuf|0x01);//Activate GPIO1
Set_W83627EHG_Reg(0xF0,0x0F);//switch GPIO Input(1)/Output(0) port
Set_W83627EHG_Reg(0xF1, 0x00); //clear
ucDI = Get_W83627EHG_Reg(0xF1) & 0x0F;
ClrKbBuf();
while(1)
{
ucDO++;
Set_W83627EHG_Reg(0xF1, ((ucDO & 0x0F) << 4));
ucBuf = Get_W83627EHG_Reg(0xF1) & 0x0F;
if (ucBuf != ucDI)
{
ucDI = ucBuf;
printf("Digital I/O Input Changed. Current Data is 0x%X\n",ucDI);
}
if (kbhit())
{
getch();
break;
}
delay(500);
}
return 0;
}
//============================================================
void ClrKbBuf(void)
{
while(kbhit())
Содержание IA70
Страница 14: ...IA70 Motherboard User Manual V1 1 4 1 5 Board dimensions ...
Страница 32: ...IA70 Motherboard User Manual V1 1 22 2 5 18 Parallel Port Box Header LPT1 ...
Страница 44: ...IA70 Motherboard User Manual V1 1 34 Step 7 Click on Yes I want to restart this computer now to proceed ...
Страница 49: ...IA70 Motherboard User Manual V1 1 39 Setp 3 Click on Finish to finish the installation ...
Страница 70: ...IA70 Motherboard User Manual V1 1 60 ACPI Configuration General ACPI Configuration ...
Страница 80: ...IA70 Motherboard User Manual V1 1 70 Resume On RTC Alarm Disable Enable RTC wake event ...
Страница 95: ...IA70 Motherboard User Manual V1 1 85 Boot Device Priority Select the priority of Boot devices ...