Last change
on this file since 4b63bf3 was bf89cfb, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
No more warnings in vlib.
|
-
Property mode
set to
100644
|
File size:
936 bytes
|
Line | |
---|
1 | /*
|
---|
2 | =============================================================================
|
---|
3 | glcdefs.h -- definitions for the Epson GLC
|
---|
4 | Version 4 -- 1988-08-03 -- D.N. Lynx Crowe
|
---|
5 | =============================================================================
|
---|
6 | */
|
---|
7 |
|
---|
8 | #pragma once
|
---|
9 |
|
---|
10 | #include "stdint.h"
|
---|
11 |
|
---|
12 | #define G_INIT 0x40
|
---|
13 | #define G_MWRITE 0x42
|
---|
14 | #define G_MREAD 0x43
|
---|
15 | #define G_SETSAD 0x44
|
---|
16 | #define G_CRSWR 0x46
|
---|
17 | #define G_CRSRD 0x47
|
---|
18 | #define G_CRSMRT 0x4C
|
---|
19 | #define G_CRSMLT 0x4D
|
---|
20 | #define G_CRSMUP 0x4E
|
---|
21 | #define G_CRSMDN 0x4F
|
---|
22 | #define G_ERASE 0x52
|
---|
23 | #define G_SLEEP 0x53
|
---|
24 | #define G_DSPCTL 0x58
|
---|
25 | #define G_HSCRL 0x5A
|
---|
26 | #define G_OVRLAY 0x5B
|
---|
27 | #define G_CGRAM 0x5C
|
---|
28 | #define G_CRSFRM 0x5D
|
---|
29 |
|
---|
30 | #define LCD_WC lcd_a1
|
---|
31 | #define LCD_RS lcd_a0
|
---|
32 | #define LCD_WD lcd_a0
|
---|
33 | #define LCD_RD lcd_a1
|
---|
34 |
|
---|
35 | #define G_PLANE1 0x0000
|
---|
36 | #define G_PLANE2 0x2000
|
---|
37 |
|
---|
38 | #define G_OFF 0 /* off */
|
---|
39 | #define G_ON 1 /* on */
|
---|
40 | #define G_B2 2 /* blink - FR/32 */
|
---|
41 | #define G_B1 3 /* blink - FR/64 */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.