Chapter 3 Terminal Specific Function Library
59
3.3 Keyboard Wedge Interface
The portables, which are equipped with keyboard wedge interface, are able to send data to
the host through the wedge interface by using the
SendData()
routine.
SendData()
is governed by a 3-element unsigned character string -
WedgeSetting
, which is a
system-defined global character array and must be filled with appropriate values before
calling
SendData()
.
extern unsigned char
WedgeSetting[3];
This unsigned character array governs the operation of the
SendData
routine.
3.3.1 Definition of the WedgeSetting Array
Subscriptor
Bit
Description
0
7 - 0
KBD / Terminal Type
1
7
1: Enable capital lock auto-detection
0: Disable capital lock auto-detection
1
6
1: Capital lock on
0: Capital lock off
1
5
1: Ignore alphabets' case
0: Alphabets are case-sensitive
1
4 - 3
00: Normal
10: Digits at lower position
11: Digits at upper position
1
2 - 1
00: Normal
10: Capital lock keyboard
11: Shift lock keyboard
1
0
1: Use numeric keypad to transmit digits
0: Use alpha-numeric key to transmit digits
2
7 - 0
Inter-character delay
Содержание Optimus R
Страница 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Страница 6: ......
Страница 8: ...2 C Programming Guide For Optimus S R...
Страница 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Страница 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Страница 24: ...18 C Programming Guide For Optimus S R...
Страница 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...
Страница 232: ...226 C Programming Guide For Optimus S R 4 11 Implementation defined Limits limits h float h Refer to limit h and float h...
Страница 238: ...232 C Programming Guide For Optimus S R...