Datasheet
67
AT89C51RB2/RC2
4180Eā8051ā10/06
Table 53. KBLS Register
KBLS - Keyboard Level Selector Register (9Ch)
Reset Value = 0000 0000b
76543210
KBLS7 KBLS6 KBLS5 KBLS4 KBLS3 KBLS2 KBLS1 KBLS0
Bit
Number
Bit
Mnemonic Description
7KBLS7
Keyboard Line 7 Level Selection Bit
Cleared to enable a low level detection on Port line 7.
Set to enable a high level detection on Port line 7.
6KBLS6
Keyboard Line 6 Level Selection Bit
Cleared to enable a low level detection on Port line 6.
Set to enable a high level detection on Port line 6.
5KBLS5
Keyboard Line 5 Level Selection Bit
Cleared to enable a low level detection on Port line 5.
Set to enable a high level detection on Port line 5.
4KBLS4
Keyboard Line 4 Level Selection Bit
Cleared to enable a low level detection on Port line 4.
Set to enable a high level detection on Port line 4.
3KBLS3
Keyboard Line 3 Level Selection Bit
Cleared to enable a low level detection on Port line 3.
Set to enable a high level detection on Port line 3.
2KBLS2
Keyboard Line 2 Level Selection Bit
Cleared to enable a low level detection on Port line 2.
Set to enable a high level detection on Port line 2.
1KBLS1
Keyboard Line 1 Level Selection Bit
Cleared to enable a low level detection on Port line 1.
Set to enable a high level detection on Port line 1.
0KBLS0
Keyboard Line 0 Level Selection Bit
Cleared to enable a low level detection on Port line 0.
Set to enable a high level detection on Port line 0.