APC-3x82/83 User Manual
56
//Start the super I/O chip programming
ENTERPRG
//Select the logical device 9, GP2
SELETDEV(9)
//Read GPIO Value
outportb(INDEXP, 0xE5);
cGP2 = inportb(DATAP);
cGP2 = cGP2 & 0xF;
//Exit the super I/O chip programming
EXITPRG
return cGP2;
}
//Write GPIO Port6
int WriteGP6(unsigned char cGP6) {
//Start the super I/O chip programming
ENTERPRG
//Select the logical device 8, GP6
SELETDEV(8)
//Write GP1 value
WRITEREG(0xE5, cGP6)
//Exit the super I/O chip programming
EXITPRG
return 0;
}
int main() {
unsigned char cGP;
//Initialize the GPIO port
InitGP2();
Содержание APC-3x82
Страница 8: ...APC 3x82 83 User Manual 8 1 2 Dimensions Figure 1 1 Dimensions of APC3282 APC 3283 ...
Страница 9: ...APC 3x82 83 User Manual 9 Figure 1 2 Dimensions of APC 3582 APC 3583 ...
Страница 10: ...APC 3x82 83 User Manual 10 Figure 1 3 Dimensions of APC 3782 APC 3783 ...
Страница 11: ...APC 3x82 83 User Manual 11 Figure 1 4 Dimensions of APC 3982 APC 3983 ...
Страница 64: ...APC 3x82 83 User Manual 64 Step 5 Click Next Step 6 Click Next to continue ...
Страница 70: ...APC 3x82 83 User Manual 70 Step 3 Click Yes to continue the installation Step 4 Wait for installation ...
Страница 71: ...APC 3x82 83 User Manual 71 Step 5 Select Yes I want to restart my computer now then click OK ...
Страница 75: ...APC 3x82 83 User Manual 75 Step 6 Wait for installation Then click Next to continue Step 7 Click OK ...
Страница 76: ...APC 3x82 83 User Manual 76 Step 8 Click Finish to compete installation ...
Страница 81: ...APC 3x82 83 User Manual 81 Setting ...