Keypad - Z-World Fox LP3500 User Manual

C-programmable single-board computer
Table of Contents

Advertisement

C.7.3 Keypad
The functions used to control the keypad are contained in the
located in the Dynamic C
void keyInit(void);
Initializes keypad process
RETURN VALUE
None.
SEE ALSO
brdInit
void keyConfig(char cRaw, char cPress,
char cRelease, char cCntHold, char cSpdLo,
char cCntLo, char cSpdHi);
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.
keypadDef()
See
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.
110
library directory.
KEYPADS
[0]
[1]
[4]
for default press codes.
KEYPAD7.LIB
[2]
[5]
[6]
library
[3]
Fox (LP3500)

Advertisement

Table of Contents
loading

Related Products for Z-World Fox LP3500

Table of Contents