20-151-0178 Rabbit Semiconductor, 20-151-0178 Datasheet - Page 122

CABLE CONVERTER RS-232 TO USB

20-151-0178

Manufacturer Part Number
20-151-0178
Description
CABLE CONVERTER RS-232 TO USB
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-151-0178

Accessory Type
USB to RS232 Adapter
Product
Microcontroller Accessories
For Use With/related Products
Rabbit-based Boards
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-151-0178
316-1181
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 20-151-0178