Appendix d Page 47
Page 47
LS-373 User’s Manual
-
47
-
Appendix D
The GPIO’s 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 ;Enter configuration
-o 2E 87
-o 2E 07
-o 2F 09 ;Enable GPIO’s function
-o 2E 30
-o 2F 02 ;Enable GPIO’s configuration
-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 values of the bits, ’0’ leaves them
as they are
-o 2E 30
-o 2F 01 ; Active GPIO’s
For further information, please refer to Winbond W83627DHG datasheet.
See also other documents in the category COMMELL Hardware:
- FS-A76 (41 pages)
- LV-67H (62 pages)
- FS-A78 (50 pages)
- FS-A73 (52 pages)
- FS-A74 (45 pages)
- FS-A72 (54 pages)
- FS-A71 (49 pages)
- FE-97G (55 pages)
- FS-97E (54 pages)
- FS-A70 (53 pages)
- FS-97B (58 pages)
- FS-97D (61 pages)
- FS-97C (55 pages)
- HS-870S (53 pages)
- FS-977 (42 pages)
- FS-961 (46 pages)
- HE-875P (56 pages)
- HS-874P (58 pages)
- HS-873P (52 pages)
- HS-872PE (56 pages)
- HS-862P (46 pages)
- HE-860S (37 pages)
- HE-B71 (46 pages)
- HS-B70 (51 pages)
- HS-773 (56 pages)
- HE-772 (53 pages)
- HS-770E (46 pages)
- HE-760 (41 pages)
- HS-771 (48 pages)
- LE-575 (61 pages)
- LS-573 (54 pages)
- LS-572 (64 pages)
- LS-571 (57 pages)
- LE-37E (29 pages)
- LS-570E (58 pages)
- LE-565 (55 pages)
- LE-37D (39 pages)
- LS-37B (49 pages)
- LE-37C (47 pages)
- LE-380 (51 pages)
- LE-379 (53 pages)
- LS-377 (47 pages)
- LE-376 (45 pages)
- LE-375 (45 pages)
- LE-374 (54 pages)