English
Language : 

W83627DHG Datasheet, PDF (179/268 Pages) Winbond – WINBOND LPC I/O
W83627DHG
to be “On” or “Off”. According to this setting, the system is returned to the pre-defined state after the AC power
recovery.
14.2 Wake Up the System by Keyboard and Mouse
The W83627DHG generates a low pulse through the PSOUT# pin to wake up the system when it
detects a key code pressed or mouse button clicked. The following sections describe how the
W83627DHG works.
14.2.1 Waken up by Keyboard events
The keyboard Wake-Up function is enabled by setting Logical Device A, CR[E0h], bit 6 to “1”.
There are two keyboard events can be used for the wake-up
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)Æ
D a t a (CRE2)Æ
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E
1E F0 1E 16 F0 16 45 F0 45 00 00 00 00 00 00
First-pressed key “0”
Second-pressed key “1”
Third-pressed key “2”
14.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:
z Any button clicked or any movement
z One click of the left or the right button
z One click of the left button
z One click of the right button
z Two clicks of the left button
z Two clicks of the right button.
-167-
Publication Release Date: Aug, 22, 2007
Version 1.4