WPC15
Motherboard User Manual
71
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())
{ getch(); }
}
Содержание WPC15
Страница 13: ...WPC15 Motherboard User Manual 5 1 5 Board dimensions...
Страница 18: ...WPC15 Motherboard User Manual 10 BOTTOM MiniPCIe for SSD SO DIMM...
Страница 30: ...WPC15 Motherboard User Manual 22 Step 3 Click on Next to install Driver Step 4 Click on Yes to agree License...
Страница 31: ...WPC15 Motherboard User Manual 23 Step 5 Click on Next to install Driver Step 6 Click on Next to install Driver...
Страница 32: ...WPC15 Motherboard User Manual 24 Step 7 Click on Yes I want to restart this computer now to go on...
Страница 37: ...WPC15 Motherboard User Manual 29 Setp 3 Click on Yes to agree License Setp 4 Click on Next to install driver...
Страница 42: ...WPC15 Motherboard User Manual 34 Step 5 Choose the path to install driver Setp 6 Click on Close and go on...
Страница 62: ...WPC15 Motherboard User Manual 54 Intel Fast Flash Standy iFFS Support Enable or disable...