![Aplex APC-3X97A User Manual Download Page 52](http://html.mh-extra.com/html/aplex/apc-3x97a/apc-3x97a_user-manual_2953634052.webp)
APC-3X97A user manual
52
Chapter 4_____________________________
Examples of GPIO Programming
4.1 SuperIO Model: Winbond W83627UHG
GPIO OUT use GP 60~63
GPIO IN use GP 20~23
4.2 W83627UHG Access index port: 4Eh/4Fh
Index Address Port: 4Eh
Index Data Port: 4Fh
4.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
4.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
4.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:
Summary of Contents for APC-3X97A
Page 9: ...APC 3X97A user manual 9 1 4 Chassis Dimensions Figure 1 3 Dimensions of the APC 3597A ...
Page 10: ...APC 3X97A user manual 10 Figure 1 4 Dimensions of the APC 3797A ...
Page 11: ...APC 3X97A user manual 11 Figure 1 5 Dimensions of the APC 3997A ...
Page 13: ...APC 3X97A user manual 13 Figure 2 2 Mainboard Dimensions ...
Page 14: ...APC 3X97A user manual 14 ...
Page 15: ...APC 3X97A user manual 15 Figure 2 3 Connector and Jumper Locations ...
Page 64: ...APC 3X97A user manual 64 ...
Page 67: ...APC 3X97A user manual 67 ...
Page 68: ...APC 3X97A user manual 68 ...
Page 69: ...APC 3X97A user manual 69 Click FINISH A Driver Installation Complete ...
Page 71: ...APC 3X97A user manual 71 ...
Page 72: ...APC 3X97A user manual 72 Click FINISH A Driver Installation Complete ...
Page 74: ...APC 3X97A user manual 74 ...
Page 79: ...APC 3X97A user manual 79 ...