LV-67W User’s Manual
-35-
Appendix E <Programmable GPIO>
The GPIO’ can be programmed with the MS-DOS debug program using simple
IN/OUT commands.
GPIO
0
1
2
3
4
5
6
7
bit
0
1
2
3
4
5
6
7
-o 4E 87
;enter configuration
-o 4E 87
-o 4E 07
-o 4F 07
;select Logical Device
-o 4E 30
-o 4F 18
;activate GPIO function (The board use GPIO3,GPIO4)
-o 4E EC
-o 4F XX
;set “01” GPIO3 as input, set “00” GPIO3 as output
-o 4E F0
-o 4F XX
;set “01” GPIO4 as input, set “00” GPIO4 as output
-o 4E ED
-o 4F XX
;if set GPIO3 as output, this register’s value can be set “00~ FF”
-o 4E F1
-o 4F XX
;if set GPIO4 as output, this register’s value can be set “00~ FF”
Optional
-o 4E EE
-o 4F XX
;set “01”, the respective bit are inverted (GPIO3)
;set “00”, the respective bit are normal (GPIO3)
-o 4E F2
-o 4F XX
;set “01”, the respective bit are inverted (GPIO4)
;set “00”, the respective bit are normal (GPIO4)
For further information, please refer to Nuvoton NCT6116D datasheet