ACS-2645 User Manual
55
outportb(INDEXP, 0x87); \
outportb(INDEXP, 0x87);}
//Super I/O index write
#define WRITEREG(reg,val) { \
outportb(INDEXP, reg); \
outportb(DATAP, val);}
//Exit super I/O programming mode
#define EXITPRG { \
outportb(INDEXP, 0xAA);}
//Select logic device number
#define SELETDEV(ldn) { \
outportb(INDEXP, 7); \
outportb(DATAP, ldn); }
//Initialize the GPIO port2
int InitGP2() {
//Start the super I/O chip programming
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() {
Содержание ACS-2645
Страница 7: ...ACS 2645 User Manual 7 1 2 Dimensions ...
Страница 8: ...ACS 2645 User Manual 8 Figure 1 1 Dimensions of ACS 2645 ...
Страница 16: ...ACS 2645 User Manual 16 2 2 Board Dimensions Figure 2 1 Mainboard Dimensions ...
Страница 18: ...ACS 2645 User Manual 18 Board Bottom Figure 2 3 Jumpers and Connectors Location Bottom ...
Страница 64: ...ACS 2645 User Manual 64 Step 5 Click Next Step 6 Click Yes I want to restart this computer now Click Finish ...
Страница 67: ...ACS 2645 User Manual 67 Step 5 Click Install to begin the installation Step 6 Click Finish ...
Страница 69: ...ACS 2645 User Manual 69 Step 3 Click Yes I want to restart my computer now to continue ...