101-0521 Rabbit Semiconductor, 101-0521 Datasheet - Page 114

no-image

101-0521

Manufacturer Part Number
101-0521
Description
MODULE RABBITCORE RCM3210
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0521

Module/board Type
MPU Core Module
For Use With/related Products
RCM3210
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
101-521
101-521
C.7.4 Keypad
The functions used to control the keypad are contained in the Dynamic C
KEYPAD7.LIB
RETURN VALUE
SEE ALSO
PARAMETERS
User Keypad Interface
108
void keyInit(void);
void keyConfig(char cRaw, char cPress,
Initializes keypad process
None.
Assigns each key with key press and release codes, and hold and repeat ticks for auto repeat and
debouncing.
cRaw is a raw key code index.
cPress is a key press code
cRelease is a key release code.
cCntHold is a hold tick.
cSpdLo is a low-speed repeat tick.
cCntLo is a low-speed hold tick.
char cRelease, char cCntHold, char cSpdLo,
char cCntLo, char cSpdHi);
1x7 keypad matrix with raw key code index assignments (in brackets):
brdInit
[0]
An 8-bit value is returned when a key is pressed.
0 = Unused.
See keypadDef() for default press codes.
An 8-bit value is returned when a key is pressed.
0 = Unused.
How long to hold before repeating.
0 = No Repeat.
How many times to repeat.
0 = None.
How long to hold before going to high-speed repeat.
0 = Slow Only.
[4]
library.
[1]
[5]
[2]
[6]
[3]
RabbitCore RCM3200
LIB\KEYPADS\

Related parts for 101-0521