151-0153 Rabbit Semiconductor, 151-0153 Datasheet - Page 122

no-image

151-0153

Manufacturer Part Number
151-0153
Description
ASSEMBLY - RABBITFLEX CABLES
Manufacturer
Rabbit Semiconductor
Series
RabbitFLEX™r
Datasheet

Specifications of 151-0153

Accessory Type
Cable Assembly
For Use With/related Products
BL300F
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
116
void flexKeyConfig(Flex_Keypad *keypad, char cRaw, char cPress, char
cRelease, char cCntHold, char cSpdLo, char cCntLo, char cSpdHi);
Assigns each key with key press and release codes, hold and repeat ticks for auto repeat, and de-
bouncing for a specific keypad.
keypad
cRaw
cPress
cRelease
cCntHold
cSpdLo
cCntLo
cSpdHi
None.
flexKeyInit
,
flexKeyProcess
Pointer to the keypad to configure.
Raw Key Code Index Each key has a raw key code. The raw key codes start
from 0 and count up. Each crosswired keypad has m outputs and n inputs,
which may or may not correspond to rows and columns.
The raw key code can be calculated by the following formula.
where the output # and input # start from 0. If these correspond to rows and
columns, then the formula would be as follows.
Key Press Code An 8-bit value returned when a key is pressed;
0 = unused.
Key Release Code An 8-bit value returned when a key is released;
0 = unused.
Hold Ticks How long to hold before repeating;
0 = No Repeat.
Low-Speed Repeat Ticks How many times to repeat;
0 = none.
Low-Speed Hold Ticks How long to hold before going to high-speed repeat;
0 = slow only.
High-Speed Repeat Ticks How many times to repeat after low-speed repeat;
0 = none.
[output #] * [num outputs] + [input #]
[row #] * [num rows] + [column #]
flexKeyConfig
www.rabbit.com
,
flexKeyGet
,
flexKeyUnget
Applications Programming

Related parts for 151-0153