AT89C5132
KBCON (S:A3h) – Keyboard Control Register
7
6
5
4
3
2
1
0
KINL3
KINL2
KINL1
KINL0
KINM3
KINM2
KINM1
KINM0
Bit
Bit Number Mnemonic Description
Keyboard Input Level Bit
7 - 4
3 - 0
KINL3:0
KINM3:0
Set to enable a high level detection on the respective KIN3:0 input.
Clear to enable a low level detection on the respective KIN3:0 input.
Keyboard Input Mask Bit
Set to prevent the respective KINF3:0 flag from generating a keyboard interrupt.
Clear to allow the respective KINF3:0 flag to generate a keyboard interrupt.
Reset Value = 0000 1111b
22.2.0.1
Table 102. KBSTA Register
KBSTA (S:A4h) – Keyboard Control and Status Register
7
6
-
5
-
4
-
3
2
1
0
KPDE
KINF3
KINF2
KINF1
KINF0
Bit
Bit Number Mnemonic Description
Keyboard Power Down Enable Bit
7
KPDE
-
Set to enable exit of power down mode by the keyboard interrupt.
Clear to disable exit of power down mode by the keyboard interrupt.
Reserved
The values read from these Bits are always 0. Do not set these Bits.
6 - 4
3 - 0
Keyboard Input Interrupt Flag
KINF3:0
Set by hardware when the respective KIN3:0 input detects a programmed level.
Cleared when reading KBSTA.
Reset Value = 0000 0000b
153
4173E–USB–09/07