101-0522 Rabbit Semiconductor, 101-0522 Datasheet - Page 157

no-image

101-0522

Manufacturer Part Number
101-0522
Description
MODULE RABBITCORE RCM3220
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0522

Module/board Type
MPU Core Module
For Use With/related Products
RCM3220
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
101-522
101-522
C.9.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
RabbitCore RCM3700 User’s Manual
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, which is approximately one debounce period or 5 µs.
cSpdLo is a low-speed repeat tick, which is approximately one debounce period or 5 µs.
cCntLo is a low-speed hold tick, which is approximately one debounce period or 5 µs.
char cRelease, char cCntHold, char cSpdLo,
char cCntLo, char cSpdHi);
1 × 7 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]
LIB\KEYPADS\
155

Related parts for 101-0522