AHM-6XX6A User Manual
52
3.10 Examples of GPIO Programming
3.10.1 SuperIO Model: Winbond W83627UHG
GPIO OUT use GP 60~63
GPIO IN use GP 20~23
3.10.2 W83627UHG Access index port: 4Eh/4Fh
Index Address Port: 4Eh
Index Data Port: 4Fh
3.10.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.10.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.10.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);
Summary of Contents for AHM-6XX6A
Page 9: ...AHM 6XX6A User Manual 8 1 2 Dimensions Figure 1 1 Dimensions of the AHM 6086A ...
Page 10: ...AHM 6XX6A User Manual 9 Figure 1 2 Dimensions of the AHM 6126A ...
Page 11: ...AHM 6XX6A User Manual 10 Figure 1 3 Dimensions of the AHM 6156A ...
Page 12: ...AHM 6XX6A User Manual 11 Figure 1 4 Dimensions of the AHM 6176A ...
Page 13: ...AHM 6XX6A User Manual 12 Figure 1 5 Dimensions of the AHM 6196A ...
Page 63: ...AHM 6XX6A User Manual 62 ...
Page 66: ...AHM 6XX6A User Manual 65 ...
Page 67: ...AHM 6XX6A User Manual 66 ...
Page 70: ...AHM 6XX6A User Manual 69 ...
Page 73: ...AHM 6XX6A User Manual 72 Click FINISH A Driver Installation Complete ...
Page 77: ...AHM 6XX6A User Manual 76 5 Installing ...
Page 78: ...AHM 6XX6A User Manual 77 6 The Install Shield Wizard Completed appears Click Finish ...