AT89C51RB2 Atmel Corporation, AT89C51RB2 Datasheet - Page 64

no-image

AT89C51RB2

Manufacturer Part Number
AT89C51RB2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51RB2

Flash (kbytes)
16 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
32
Spi
1
Uart
1
Sram (kbytes)
1.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 5.5
Timers
4
Isp
UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51RB2-3CSIM
Manufacturer:
ATMEL
Quantity:
982
Part Number:
AT89C51RB2-3CSUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RB2-3CSUM
Manufacturer:
ATMEL
Quantity:
6 480
Part Number:
AT89C51RB2-3CSUM
Manufacturer:
ATMEL
Quantity:
20
Part Number:
AT89C51RB2-CM
Manufacturer:
ATMEL
Quantity:
13 888
Part Number:
AT89C51RB2-IM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C51RB2-RLRIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RB2-RLRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RB2-RLRUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RB2-RLRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RB2-RLTCM
Manufacturer:
I&CTECH
Quantity:
1 802
Keyboard Interface
Interrupt
Power Reduction Mode
64
AT89C51RB2/RC2
The AT89C51RB2/RC2 implements a keyboard interface allowing the connection of a
8 x n matrix keyboard. It is based on 8 inputs with programmable interrupt capability on
both high or low level. These inputs are available as alternate function of P1 and allow to
exit from idle and power-down modes.
The keyboard interfaces with the C51 core through 3 special function registers: KBLS,
the Keyboard Level Selection register (Table 53), KBE, the Keyboard interrupt Enable
register (Table 52), and KBF, the Keyboard Flag register (Table 51).
The keyboard inputs are considered as 8 independent interrupt sources sharing the
same interrupt vector. An interrupt enable bit (KBD in IEN1) allows global enable or dis-
able of the keyboard interrupt (see Figure 23). As detailed in Figure 24 each keyboard
input has the capability to detect a programmable level according to KBLS. x bit value.
Level detection is then reported in interrupt flags KBF. x that can be masked by software
using KBE. x bits.
This structure allows keyboard arrangement from 1 by n to 8 by n matrix and allow
usage of P1 inputs for other purpose.
Figure 23. Keyboard Interface Block Diagram
Figure 24. Keyboard Input Circuitry
P1 inputs allow exit from idle and power down modes as detailed in Section “Power-
down Mode”, page 82.
P1:x
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
V
CC
Internal Pull-up
Input Circuitry
Input Circuitry
Input Circuitry
Input Circuitry
Input Circuitry
Input Circuitry
Input Circuitry
Input Circuitry
KBLS. x
0
1
KBF. x
KBE. x
IEN1
KBD
Keyboard Interface
Interrupt Request
KBDIT
4180E–8051–10/06

Related parts for AT89C51RB2