Keyboard
CPU STOP mode interrupt
When a key is pressed, if the corresponding KI bit in 0xF042 and the KO bit is set, the CPU will be woken if it's currently in STOP mode and 0xF014 is set correctly.
Pd pins
Should this part be splitted to another page?
Although this is not part of the keyboard, it uses the same KI/KO SFRs as the keyboard.
Bit KI.7 (0xF040.7) corresponds to the lower halves of P0 and P1
(marked on the circuit board), used for all of the following.
Pd bit | KO bit | KO connection |
---|---|---|
0 | 0xF046.7 | Upper half of P0 |
1 | 0xF047.0 | Upper half of P1 |
2 | 0xF047.1 | P146 |