摘要 |
An apparatus and a method for key scan in a portable terminal, more specifically, an apparatus and a method for enhancing a key scan process which recognizes a user's key press by defining key inputs corresponding to state of a plurality of input signals and allowing a plurality of key scans with a limited number of General Purpose Input/Outputs (GPIOs) are provided. The apparatus includes a controller for setting one or more intervals for a key scan process, for classifying a state of a signal input in each interval as one of a first state and a second state, and for setting one of a plurality of different functions according to the state and the interval of the input signal, and a key input determiner for, when detecting a key input of a user during the key scan process, recognizing one of a plurality of different key inputs according to the state of the input signal, and for determining a function corresponding to the recognized key input. The controller performs the determined function.
|