OP7100
70 Software
•
void glXPutBitmap( int x, int y, int bmWidth,
int bmHeight, unsigned long bmPtr )
Displays a bitmap stored in xmem on the LCD. For bitmaps stored in
root memory, use
glPutBitmap
.
PARAMETERS:
x
is the x coordinate of the bitmap left edge.
y
is the y coordinate of the bitmap top edge.
bmWidth
is the width of the bitmap.
bmHeight
is the height of the bitmap.
bmPtr
is a pointer to the bitmap. The bitmap format is a column with
the major byte aligned for each column.
KP_OP71.LIB
•
void kpInit( int (*changeFn)() )
Initializes the
kp
module. Call this function before calling other
functions in this library. If the default keypad scanning routine will be
used, use
kpDefInit
instead of this function.
PARAMETER:
changeFn
is a pointer to a function that will be called
when the driver detects a change (when
kpScanState
is called). Two
arguments are passed to the callback function. The first argument is a
pointer to an array that indicates the current state of the keypad. The
second is a pointer to an array that indicates what keypad positions are
changed and detected by
kpScanState
. The byte offset in the array
represents the line pulled high (row number), and the bits in a byte
represents the positions (column number) read back.
•
int kpScanState()
Scans the keypad and detects any changes to the keypad status. If
kpInit
is called with a non-NULL function pointer, that function will
be called with the state of the keypad. This function should be called
periodically to scan for keypad activities.
RETURN VALUE: 0 if there is no change to the keypad, non-zero if
there is any change to the keypad.
Summary of Contents for OP7100
Page 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 070831 O ...
Page 10: ...OP7100 x About This Manual ...
Page 16: ...OP7100 16 Overview ...
Page 74: ...OP7100 74 Software ...
Page 82: ...OP7100 82 Graphics Programming ...
Page 88: ...OP7100 88 Installation ...
Page 98: ...OP7100 98 Specifications ...
Page 108: ...OP7100 108 Memory I O Map and Interrupt Vectors ...
Page 112: ...112 Serial Interface Board 2 OP7100 ...
Page 113: ...OP7100 Backup Battery 113 APPENDIX E BACKUP BATTERY ...
Page 116: ...OP7100 116 Backup Battery ...
Page 124: ...OP7100 124 Index ...
Page 126: ...XX0000 Schematics ...