AT80C51RD2-3CSIM Atmel, AT80C51RD2-3CSIM Datasheet - Page 52

IC MCU 8051 5V SPI 20MHZ 40-DIP

AT80C51RD2-3CSIM

Manufacturer Part Number
AT80C51RD2-3CSIM
Description
IC MCU 8051 5V SPI 20MHZ 40-DIP
Manufacturer
Atmel
Series
80Cr
Datasheet

Specifications of AT80C51RD2-3CSIM

Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Type
ROMless
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Program Memory Size
-
Data Converters
-
13. Keyboard Interface
13.0.1
13.0.2
52
AT80C51RD2
Interrupt
Power Reduction Mode
The AT80C51RD2 implement a keyboard interface allowing the connection of a 8 x n matrix key-
board. 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 Key-
board Level Selection register (Table 13-3), KBE, The Keyboard Interrupt Enable register
(Table 13-2), and KBF, the Keyboard Flag register (Table 13-1).
The keyboard inputs are considered as 8 independent interrupt sources sharing the same inter-
rupt vector. An interrupt enable bit (KBD in IE1) allows global enable or disable of the keyboard
interrupt (see Figure 13-1). As detailed in Figure 13-2 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 allow keyboard arrangement from 1 x n to 8 x n matrix and allows usage of P1
inputs for other purpose.
Figure 13-1. Keyboard Interface Block Diagram
Figure 13-2. Keyboard Input Circuitry
P1 inputs allow exit from idle and power-down modes as detailed in Section “Power-down
Mode”, page 56.
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
KBD
IE1
Keyboard Interface
Interrupt Request
KBDIT
4113D–8051–01/09

Related parts for AT80C51RD2-3CSIM