101-0390 Rabbit Semiconductor, 101-0390 Datasheet - Page 162

no-image

101-0390

Manufacturer Part Number
101-0390
Description
CARD DGTL I/O 8/16 SNKNG SR9210
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0390

Accessory Type
Smart Star Digital I/O Card
For Use With/related Products
SR9210
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
RETURN VALUE
SEE ALSO
PARAMETER
RETURN VALUE
SEE ALSO
162
void keypadDef();
void keyScan(char *pcKeys);
Configures the physical layout of the keypad with the default ASCII return key codes.
Characters are returned upon keypress with no repeat.
None.
Writes "1" to each row and reads the value. The position of a keypress is indicated by a zero value in a bit
position.
*pcKeys is a pointer to the address of the value read.
None.
Keypad physical mapping 1 × 7
where
Example: Do the followingfor the above physical vs. ASCII return key codes.
keyConfig ( 3,'R',0, 0, 0, 0, 0 );
keyConfig ( 6,'E',0, 0, 0, 0, 0 );
keyConfig ( 2,'D',0, 0, 0, 0, 0 );
keyConfig ( 4,'-',0, 0, 0, 0, 0 );
keyConfig ( 1,'U',0, 0, 0, 0, 0 );
keyConfig ( 5,'+',0, 0, 0, 0, 0 );
keyConfig ( 0,'L',0, 0, 0, 0, 0 );
keyConfig, keyGet, keyProcess
keyConfig, keyGet, keypadDef, keyProcess
['L']
'D' represents Down Scroll
'U' represents Up Scroll
'R' represents Right Scroll
'L' represents Left Scroll
'–' represents Page Down
'+' represents Page Up
'E' represents the ENTER key
0
['–']
4
['U']
1
['+']
5
['D']
2
['E']
6
['R']
3
Smart Star (SR9000)

Related parts for 101-0390