
W83627UHG
1) Any key – Set bit 0 at Logical Device A, CR[E0h] to “1” (Default).
2) Specific keys (Password) - Set bit 0 at Logical Device A, CR[E0h] to “0”.
Three sets of specific key combinations are stored at Logical Device A. CR[E1h] is an index register to
indicate which byte of key code storage (0x00h ~ 0x0Eh, 0x30h ~ 0x3Eh, 0x40h ~ 0x4Eh) is going to
be read or written through CR[E2h]. According to IBM 101/102 keyboard specification, a complete key
code contains a 1-byte make code and a 2-byte break code. For example, the make code of “0” is
0x45h, and the corresponding break code is 0xF0h, 0x45h.
The approach to implement Keyboard Password Wake-Up Function is to fill key codes into the
password storage. Assume that we want to set “012” as the password. The storage should be filled as
below. Please note that index 0x09h ~ 0x0Eh must be filled as 0x00h since the password has only
three numbers.
Index(CRE1)
00
01
02
03
04
05
06
07
08
09 0A 0B 0C 0D 0E
Dat a (CRE2)
1E F0 1E 16
F0
16
45
F0
45
00
Publication Release Date: March 24, 2008
-137-
Revision 1.44
First-pressed key “0”
Second-pressed key “1”
Third-pressed key “2”
13.2.2
Waken up by Mouse events
The mouse Wake-Up function is enabled by setting Logical Device A, CR[E0h], bit 5 to “1”.
The following specific mouse events can be used for the wake-up:
Any button clicked or any movement
One click of the left or the right button
One click of the left button
One click of the right button
Two clicks of the left button
Two clicks of the right button.
Three control bits (ENMDAT_UP, MSRKEY, MSXKEY) define the combinations of the mouse wake-up
events. Please see the following table for the details.
Table 13-2 Definitions of Mouse Wake-Up Events
ENMDAT_UP
(LOGICAL DEVICE A,
CR[E6H], BIT 7)
MSRKEY
(LOGICAL DEVICE
A, CR[E0H], BIT 4)
MSXKEY
(LOGICAL
DEVICE A,
CR[E0H], BIT 1)
WAKE-UP EVENT
1
x
1
Any button clicked or any
movement.