
9.0 System Wake-Up Control (SWC)
(Continued)
Revision 1.2
193
www.national.com
P
9.3.16
This register configures the keyboard events detected by the Keyboard/Mouse Wake-up Detector. It is reset by hardware
to 00h.
Power Well:V
PP
Location:
Bank 0
, Offset 12h
Type:
R/W
Keyboard Wake-Up Control Register (KBDWKCTL)
Bit
Name
Reset
7
6
5
4
3
2
1
0
KBDMODE
0
Reserved
0
EVT3CFG
EVT2CFG
EVT1CFG
0
0
0
0
0
0
Bit
Description
7
KBDMODE (Keyboard Mode Select).
This bit selects one of the keyboard wake-up modes for the
Keyboard/Mouse Wake-up Detector.
0: Special Key Sequence or Password modes - configured by bits 3-0 of the PS2CTL register (default)
1: Power Management Key mode - configured by bits 5-0 of the KBDWKCTL register
6
Reserved.
5-4
EVT3CFG (Keyboard Event 3 Configuration).
These bits configure the keyboard data sequence for Keyboard
Event 3, which indicates that “PM Key 3” was pressed on the keyboard. The setting of the EVT3CFG field is
relevant only if the Keyboard/Mouse Wake-up Detector is in Power Management Key mode (KBDMODE = 1).
The keyboard data sequence used to detect Keyboard Event 3 is stored in registers PS2KEY6 and PS2KEY7,
starting with PS2KEY6.
Bits
5 4
Sequence Length
0 0:
0 bytes - Keyboard Event 3 disabled (default)
0 1:
1 byte (PS2KEY6)
1 0:
2 bytes (PS2KEY6, PS2KEY7)
1 1:
Reserved
3-2
EVT2CFG (Keyboard Event 2 Configuration).
These bits configure the keyboard data sequence for Keyboard
Event 2, which indicates that “PM Key 2” was pressed on the keyboard. The setting of the EVT2CFG field is
relevant only if the Keyboard/Mouse Wake-up Detector is in Power Management Key mode (KBDMODE = 1).
The keyboard data sequence used to detect Keyboard Event 2 is stored in registers PS2KEY3 to PS2KEY5,
starting with PS2KEY3.
Bits
3 2
Sequence Length
0 0:
0 bytes - Keyboard Event 2 disabled (default)
0 1:
1 byte (PS2KEY3)
1 0:
2 bytes (PS2KEY3, PS2KEY4)
1 1:
3 bytes (PS2KEY3, PS2KEY4, PS2KEY5)
1-0
EVT1CFG (Keyboard Event 1 Configuration).
These bits configure the keyboard data sequence for Keyboard
Event 1, which indicates that “PM Key 1” was pressed on the keyboard. The setting of the EVT1CFG field is
relevant only if the Keyboard/Mouse Wake-up Detector is in Power Management Key mode (KBDMODE = 1).
The keyboard data sequence used to detect Keyboard Event 1 is stored in registers PS2KEY0 to PS2KEY2,
starting with PS2KEY0.
Bits
1 0
Sequence Length
0 0:
0 bytes - Keyboard Event 1 disabled (default)
0 1:
1 byte (PS2KEY0)
1 0:
2 bytes (PS2KEY0, PS2KEY1)
1 1:
3 bytes (PS2KEY0, PS2KEY1, PS2KEY2)