摘要 |
A repeat control apparatus for a serial keyboard interface apparatus has a one-chip microprocessor which serves as a keyboard controller. A RAM section in the microprocessor includes an area for holding a set value RCDA for repeat start timing control, an area for holding a set value RCDB for repeat time interval control, a counter area for permitting RCDA to be set as a preset value and for making a sequential down count according to the number of pollings from a terminal main unit, and a counter area for permitting RCDB to be set as a preset value and for making a sequential down count according to the number of pollings from the terminal main unit. The terminal main unit performs the polling operation with respect to a keyboard controller. The number of pollings is counted on the side of the keyboard controller, after the key operation has been performed. When the count value reaches a value initially set from the terminal main unit, a repeat operation is executed. A specific code is added to a key code input from a repeat function-equipped key, through the keyboard controller, which code shows that the key code is a repeat key code. The terminal main unit performs a key input control function with respect to a key code which permits a repeat key operation; and with respect to a key code which does not permit such repeat key operation.
|