Jump to content

Keyboard controller (computing)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Incnis Mrsi (talk | contribs) at 12:42, 21 August 2010 (new stub, the first paragraph partially used user: Sam Pointon's "keyboard interrupt" of 2006). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In computing, a keyboard controller is a device which interfaces a keyboard to a computer. Its main function is to inform the computer when a key is pressed or released. When data from the keyboard arrive, the controller raises an interrupt (a keyboard interrupt) to allow the CPU to handle the input.

If a keyboard is a separate peripheral device wired to the system unit (such as in most modern desktop computers), then keyboard controller is not actually attached to keys' circuits, but receive scancodes from a microcontroller embedded to keyboard via some kind of serial interface. In this case the controller also should control keyboard's LEDs by sending data back to keyboard through the wire.

Early PCs used Intel 8042 chip to interface to the keyboard. In computers with a PS/2 connector the keyboard controller is integrated with mouse controller.

See also