ACS-2645 User Manual
51
3.9 Examples of GPIO Programming
3.9.1 SuperIO Model: Winbond W83627UHG
GPIO OUT use GP 60~63
GPIO IN use GP 20~23
3.9.2 W83627UHG Access index port: 4Eh/4Fh
Index Address Port: 4Eh
Index Data Port: 4Fh
3.9.3 Configure GPIO register sequence
1. Enter the extended function mode
2. Select logic device number 8
3. Activate the logic device GPIO Port 6
4. Configure GPIO Port 6 register
5. Select logic device number 9
6. Activate the logic device GPIO Port 2
7. Configure GPIO Port 2 register
8. Exit the extended function mode
3.9.4 Read/write GPIO sequence
1. Enter the extended function mode
2. Select logic device number
3. Read/write GPIO register value
4. Exit the extended function mode
3.9.5 Software programming example
Enter the extended function mode
Writing 87h to index address port twice will enter the extended function mode.
Example x86 assembly code:
mov dx, 4Eh
mov al, 87h
out dx, al
out dx, al
Example C code:
outportb(0x4E, 0x87);
outportb(0x4E, 0x87);
Exit the extended function mode
Writing AAh to index address port will exit the extended function mode.
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 ...