101-0738 Rabbit Semiconductor, 101-0738 Datasheet - Page 160

no-image

101-0738

Manufacturer Part Number
101-0738
Description
CARD ETHERNET 512K SRAM SR9150
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0738

Accessory Type
Smart Star CPU Card
For Use With/related Products
SR9150
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
B.8.3 Keypad
RETURN VALUE
SEE ALSO
PARAMETERS
User Keypad Interface
160
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);
1x7 keypad matrix with raw key code index assignments (in brackets):
The functions used to control the keypad are contained in the Dynamic C
KEYPADS\KEYPAD7.LIB
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]
[1]
[5]
library.
[2]
[6]
[3]
Smart Star (SR9000)
LIB\

Related parts for 101-0738