摘要 |
PURPOSE: A device for scanning keys of a mobile communication terminal and a method therefor are provided to jointly use row ports and column ports even when the number of keys is increased according to a request for various additional functions, and to scan many key signals with limited ports, thereby improving using efficiency of the ports. CONSTITUTION: Many key buttons(KB) consisting of matrices generate key signals by a user. Many switches(S1-S4) connect the key buttons(KB) disposed on the same rows and the key buttons(KB) disposed on the same columns with one optional port by a switching control signal, respectively. A controller(100) consists of many row/column ports(R/C1-R/C4) in accordance with size of the matrices, one common port(COM), and a control port(SW1). The common port(COM) inputs signals generated from the row/column ports(R/C1-R/C4). The control port(SW1) outputs the switching control signal for using the row/column ports(R/C1-R/C4) as column ports or row ports. When an interrupt is generated, the controller(100) processes the key signals, and recognizes key button values.
|