![background image](http://html2.mh-extra.com/html/rabbit/fox-lp3500/fox-lp3500_user-manual_3120132121.webp)
User’s Manual
115
C.7.3 Keypad
The functions used to control the keypad are contained in the Dynamic C
LIB\
Rabbit3000\DISPLAYS\
KEYPADS\KEYPAD7.LIB
library.
Initializes keypad process
RETURN VALUE
None.
SEE ALSO
brdInit
Assigns each key with key press and release codes, and hold and repeat ticks for auto repeat and
debouncing.
PARAMETERS
cRaw
is a raw key code index.
1x7 keypad matrix with raw key code index assignments (in brackets):
User Keypad Interface
cPress
is a key press code
An 8-bit value is returned when a key is pressed.
0 = Unused.
See
keypadDef()
for default press codes.
cRelease
is a key release code.
An 8-bit value is returned when a key is pressed.
0 = Unused.
cCntHold
is a hold tick, which is approximately one debounce period or 5 µs.
How long to hold before repeating.
0 = No Repeat.
cSpdLo
is a low-speed repeat tick, which is approximately one debounce period or 5 µs.
How many times to repeat.
0 = None.
cCntLo
is a low-speed hold tick, which is approximately one debounce period or 5 µs.
How long to hold before going to high-speed repeat.
0 = Slow Only.
void keyInit(void);
void keyConfig(char cRaw, char cPress,
char cRelease, char cCntHold, char cSpdLo,
char cCntLo, char cSpdHi);
[0]
[1]
[2]
[3]
[4]
[5]
[6]
Содержание Fox LP3500
Страница 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...
Страница 6: ...Fox LP3500...
Страница 14: ...8 Fox LP3500...
Страница 22: ...16 Fox LP3500...
Страница 44: ...38 Fox LP3500...
Страница 90: ...84 Fox LP3500...
Страница 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...
Страница 134: ...128 Fox LP3500...
Страница 140: ...134 Fox LP3500...
Страница 142: ......