APC-3X97A user manual
57
//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;
//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;
}
Содержание APC-3X97A
Страница 9: ...APC 3X97A user manual 9 1 4 Chassis Dimensions Figure 1 3 Dimensions of the APC 3597A ...
Страница 10: ...APC 3X97A user manual 10 Figure 1 4 Dimensions of the APC 3797A ...
Страница 11: ...APC 3X97A user manual 11 Figure 1 5 Dimensions of the APC 3997A ...
Страница 13: ...APC 3X97A user manual 13 Figure 2 2 Mainboard Dimensions ...
Страница 14: ...APC 3X97A user manual 14 ...
Страница 15: ...APC 3X97A user manual 15 Figure 2 3 Connector and Jumper Locations ...
Страница 64: ...APC 3X97A user manual 64 ...
Страница 67: ...APC 3X97A user manual 67 ...
Страница 68: ...APC 3X97A user manual 68 ...
Страница 69: ...APC 3X97A user manual 69 Click FINISH A Driver Installation Complete ...
Страница 71: ...APC 3X97A user manual 71 ...
Страница 72: ...APC 3X97A user manual 72 Click FINISH A Driver Installation Complete ...
Страница 74: ...APC 3X97A user manual 74 ...
Страница 79: ...APC 3X97A user manual 79 ...
Страница 80: ...APC 3X97A user manual 80 5 Installing 6 The Install Shield Wizard Completed appears Click Finish ...
Страница 85: ...APC 3X97A user manual 85 Setting ...