ENTERPRG
//Select the logical device 9, GP2
SELETDEV(9)
//Activate GP1
WRITEREG(0x30, (inportb(0x30)|0x2))
WRITEREG(0xE6, 0x0)
WRITEREG(0xE4, 0xFF)
//Exit the super I/O chip programming
EXITPRG
return 0;
}
//Initialize the GPIO port6
int InitGP6() {
//Start the super I/O chip programming
ENTERPRG
//Select the logical device 8, GP6
SELETDEV(8)
//Activate GP1
WRITEREG(0x30, (inportb(0x30)|0x4))
WRITEREG(0xE6, 0x0)
WRITEREG(0xE4, 0xF0)
//Exit the super I/O chip programming
EXITPRG
return 0;
}
//Read GPIO Port2
unsigned char ReadGP2() {
unsigned char cGP2;
Summary of Contents for PCH3582
Page 8: ...1 2 Dimensions Figure 1 1 Dimensions of PCH3582...
Page 9: ...Figure 1 2 Dimensions of PCH3782...
Page 10: ...Figure 1 3 Dimensions of PCH3982...
Page 33: ...1 4...
Page 64: ...Step 5 Click Next Step 6 Click Next to continue...
Page 68: ...Step 5 Click Install to begin the installation Step 6 Click Finish to compete the installation...
Page 70: ...Step 3 Click Yes to continue the installation Step 4 Wait for installation...
Page 71: ...Step 5 Select Yes I want to restart my computer now then click OK...
Page 75: ...Step 6 Wait for installation Then click Next to continue Step 7 Click OK...
Page 76: ...Step 8 Click Finish to compete installation...
Page 81: ...Setting...
Page 82: ...About This panel displays information about the PenMount controller and driver version...