ACS-2645 User Manual
56
//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;
//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);
GP2 = cGP2 & 0xF;
//Exit the super I/O chip programming
EXITPRG
return cGP2;
}
//Write GPIO Port6
int WriteGP6(unsigned char cGP6) {
Summary of Contents for ACS-2645
Page 7: ...ACS 2645 User Manual 7 1 2 Dimensions ...
Page 8: ...ACS 2645 User Manual 8 Figure 1 1 Dimensions of ACS 2645 ...
Page 16: ...ACS 2645 User Manual 16 2 2 Board Dimensions Figure 2 1 Mainboard Dimensions ...
Page 18: ...ACS 2645 User Manual 18 Board Bottom Figure 2 3 Jumpers and Connectors Location Bottom ...
Page 67: ...ACS 2645 User Manual 67 Step 5 Click Install to begin the installation Step 6 Click Finish ...
Page 69: ...ACS 2645 User Manual 69 Step 3 Click Yes I want to restart my computer now to continue ...