Keyboard
C.2.1 PS/2-Type Keyboard Transmissions
The
Tcy
Tcl
| Tch |
|
|
|
|
|
|
|
|
|
|
Clock |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
| (LSb) |
|
|
|
|
|
| (MSb) |
|
|
| Start | Data | Data | Data | Data | Data | Data | Data | Data | Parity | Stop |
Data | Bit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Bit | Bit |
|
|
|
|
|
|
|
|
|
|
|
Parameter | Minimum | Nominal | Maximum |
|
|
|
|
Tcy (clock cycle) | 60 us | 80 us | |
|
|
|
|
Tcl (clock low) | 30 us | 41 us | 50 us |
|
|
|
|
Tch (clock high) | 30 us | 40 us | |
|
|
|
|
20 us |
Figure
The system can halt keyboard transmission by setting the clock signal low. The keyboard checks the clock line every 60 µs to verify the state of the signal. If a low is detected, the keyboard will finish the current transmission if the rising edge of the clock pulse for the parity bit has not occurred. The system uses the same timing relationships during reads (typically with slightly reduced time periods).
The enhanced keyboard has three operating modes:
■Mode
■Mode
■Mode
Modes can be selected by the user or set by the system. Mode 2 is the default mode. Each mode produces a different set of scan codes. When a key is pressed, the keyboard processor sends that key's make code to the 8042 logic of the system unit. The When the key is released, a release code is transmitted as well (except for the Pause key, which produces only a make code). The
Technical Reference Guide |