AT89LP51ED2 Atmel Corporation, AT89LP51ED2 Datasheet - Page 81

no-image

AT89LP51ED2

Manufacturer Part Number
AT89LP51ED2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP51ED2

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
42
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
7
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
2.25
Eeprom (bytes)
4096
Self Program Memory
API
Operating Voltage (vcc)
2.4 to 5.5
Timers
4
Isp
SPI/OCD/UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51ED2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20JU
Manufacturer:
Atmel
Quantity:
10 000
Table 13-3.
3714A–MICRO–7/11
TMOD Address = 089H
Not Bit Addressable
Symbol
GATE1
C/T1
T1M1
T1M0
GATE0
C/T0
T0M1
T0M0
Bit
GATE1
Function
Timer 1 Gating Control
When set, Timer/Counter 1 is enabled only while INT1 pin is high and TR1 control pin is set. When cleared, Timer 1 is
enabled whenever TR1 control bit is set.
Timer or Counter Selector 1
Cleared for Timer operation (input from internal system clock). Set for Counter operation (input from T1 input pin). C/T1
must be zero when using Timer 1 in PWM output mode.
Timer 1 Operating Mode
Mode
Timer 0 Gating Control
When set, Timer/Counter 0 is enabled only while INT0 pin is high and TR0 control pin is set. When cleared, Timer 0 is
enabled whenever TR0 control bit is set.
Timer or Counter Selector 0
Cleared for Timer operation (input from internal system clock). Set for Counter operation (input from T0 input pin). C/T0
must be zero when using Timer 0 in PWM output mode.
Timer 0 Operating Mode
Mode
7
TMOD – Timer/Counter Mode Control Register
0
1
2
3
0
1
2
3
T1M1
T0M1
C/T1
0
0
1
1
0
0
1
1
6
T1M0
T0M0
0
1
0
1
0
1
0
1
T1M1
5
Operation
Variable Timer Mode. 8-bit Timer/Counter TH1 with TL1 as 1–8 bit prescaler. Default
is 5 bits for a 13-bit timer/counter compatible with AT89C51RD2/ED2/ID2.
16-bit Auto-Reload Mode. TH1 and TL1 are cascaded to form a 16-bit Timer/Counter
which is reloaded from RH1 and RL1 when it overflows.
8-bit Auto-Reload Mode. TH1 holds a value which is reloaded into 8-bit Timer/Counter
TL1 each time it overflows.
Timer/Counter 1 is stopped
Operation
Variable Timer Mode. 8-bit Timer/Counter TH0 with TL0 as 1–8 bit prescaler. Default
is 5 bits for a 13-bit timer/counter compatible with AT89C51RD2/ED2/ID2.
16-bit Auto-Reload Mode. TH0 and TL0 are cascaded to form a 16-bit Timer/Counter
which is reloaded from RH0 and RL0 when it overflows.
8-bit Auto-Reload Mode. TH0 holds a value which is reloaded into 8-bit Timer/Counter
TL0 each time it overflows.
Split Timer Mode. TL0 is an 8-bit Timer/Counter controlled by the standard Timer 0
control bits. TH0 is only an 8-bit timer controlled by Timer 1 control bits.
T1M0
4
AT89LP51RD2/ED2/ID2 Preliminary
GATE0
3
C/T0
2
Reset Value = 0000 0000B
T0M0
1
T0M1
0
81

Related parts for AT89LP51ED2