摘要 |
<p>PURPOSE:To judge properly input data even when an interruption with high priority occurs by detecting a flag set only when a time slot allocated for scanning a key group continues and judging data only when the flag is set. CONSTITUTION:A digit signal generating circuit 3 and a segment signal generating circuit 4 output a digit signal S1 and a segment signal S2 to a display 2, respectively. A display 5 is formed with the key groups, and the segment signal S2 is impressed as a key scanning signal S3 to the display 5. When the key group scanned on the display 5 includes the key pressed for inputting data, it is discriminated by a data discriminating means, which specifies which key is pressed. An interruption control circuit 7 outputs an interrupting signal S5 in a time slot. A flag circuit 8 outputs a flag setting signal S6 while the time slot continues.</p> |