OP7100
Software
s
69
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 020418 J ...
Page 10: ...OP7100 x s About This Manual ...
Page 16: ...OP7100 16 s Overview ...
Page 50: ...OP7100 50 s Hardware ...
Page 72: ...OP7100 72 s Software ...
Page 80: ...OP7100 80 s Graphics Programming ...
Page 86: ...OP7100 86 s Installation ...
Page 96: ...OP7100 96 s Specifications ...
Page 110: ...110 s Serial Interface Board 2 OP7100 ...
Page 111: ...OP7100 Backup Battery s 111 APPENDIX E BACKUP BATTERY ...
Page 114: ...OP7100 114 s Backup Battery ...
Page 122: ...OP7100 122 s Index ...