LV-66A User’s Manual Programming GPIO’s
59
Appendix D <Programming GPIO’s>
The GPIO can be programmed with the MSDOS debug program using
simple
IN/OUT commands. The following lines show an example how to do this.
GPIO0...GPIO7 bit0……bit7
-o 2E 87
-o 2E 87 ;enter configuration
-o 2E 07
-o 2F 07 ;select logic device 7
-o 2E 29
-o 2F D4 ;General Purpose I/O Port 1 (pin121~128 select function)
-o 2E 30
-o 2F 01 ;undate Activate GPIO’Svu04
-o 2E F0
-o 2F xx ;set GPIO as input/output; set ‘1’ for input,’0’for output
-o 2E F1
-o 2F xx ;if set GPIO’s as output, in this register its value can be set
Optional :
-o 2E F2
-o 2F xx ;Data inversion register ; ‘1’ inverts the current value of the
bits ,’0’ leaves them as they are
For further information, please refer to Winbond W83697HG
Summary of Contents for LV-66A
Page 1: ...LV 66A Mini ITX Motherboard User s Manual Edition 1 02 2009 02 17 ...
Page 6: ...LV 66A User s Manual 6 The Page is Left For Blank ...
Page 10: ...LV 66A User s Manual Introduction 10 1 3 Mechanical Drawing ...
Page 33: ...LV 66A User s Manual Hardware Setup 33 JCSEL2 JCSEL1 CN_COM2 ...
Page 38: ...LV 66A User s Manual 38 This Page is Left For Blank ...
Page 46: ...LV 66A User s Manual System Configuration 46 This Page is Left for Blank ...
Page 48: ...LV 66A User s Manual I O Port Pin Assignment 48 This Page is Left for Blank ...
Page 54: ...LV 66A User s Manual System Resources 54 Appendix C System Resources C1 I O Port Address Map ...
Page 55: ...LV 66A User s Manual System Resources 55 ...
Page 56: ...LV 66A User s Manual System Resources 56 C2 Memory Address Map ...
Page 57: ...LV 66A User s Manual System Resources 57 ...
Page 58: ...LV 66A User s Manual System Resources 58 C3 System IRQ Resources ...
Page 60: ...LV 66A User s Manual Programming GPIO s 60 datasheet ...
Page 62: ...LV 66A User s Manual 62 This Page is Left for Blank ...