English
Language : 

AT89C5132_06 Datasheet, PDF (153/181 Pages) ATMEL Corporation – USB Microcontroller with 64K Bytes Flash Memory
22.2.0.1
AT89C5132
KBCON (S:A3h) – Keyboard Control Register
7
KINL3
6
KINL2
5
KINL1
4
KINL0
3
KINM3
2
KINM2
1
KINM1
0
KINM0
Bit
Bit Number Mnemonic Description
7-4
KINL3:0
Keyboard Input Level Bit
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.
3-0
KINM3:0
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
Table 102. KBSTA Register
KBSTA (S:A4h) – Keyboard Control and Status Register
7
6
5
4
3
KPDE
-
-
-
KINF3
2
KINF2
1
KINF1
0
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.
6-4
-
Reserved
The values read from these Bits are always 0. Do not set these Bits.
3-0
KINF3:0
Keyboard Input Interrupt Flag
Set by hardware when the respective KIN3:0 input detects a programmed level.
Cleared when reading KBSTA.
Reset Value = 0000 0000b
4173D–USB–02/06
153