The keyboard controller executes two functions:
- Keypad scanning and decoding for input of the external key presses. For more information, see Section 28.4.5, Keyboard Controller Software Mode, and Section 28.4.6, Keyboard Controller Hardware Decoding Modes.
- Device wakeup by interrupt request to the processor when a key is pressed and the device is in idle or sleep mode. For more information, see Section 28.4.6.4, Keyboard Controller Interrupt Generation.