AT89LP214 Atmel Corporation, AT89LP214 Datasheet - Page 28
AT89LP214
Manufacturer Part Number
AT89LP214
Description
Manufacturer
Atmel Corporation
Datasheet
1.AT89LP213.pdf
(98 pages)
Specifications of AT89LP214
Flash (kbytes)
2 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
12
Spi
1
Uart
1
Sram (kbytes)
0.125
Operating Voltage (vcc)
2.4 to 5.0
Timers
2
Isp
SPI/OCD
Watchdog
Yes
- Current page: 28 of 98
- Download datasheet (3Mb)
14. Enhanced Timer/Counters
28
AT89LP213/214
Table 13-5.
The AT89LP213/214 has two 16-bit Timer/Counter registers: Timer 0 and Timer 1. As a Timer,
the register increase every clock cycle by default. Thus, the register counts clock cycles. Since a
clock cycle consists of one oscillator period, the count rate is equal to the oscillator frequency.
The timer rate can be prescaled by a value between 1 and 16 using the Timer Prescaler (see
Table 9-2 on page
As a Counter, the register is incremented in response to a l-to-0 transition at its corresponding
input pin, T0 or T1. The external input is sampled every clock cycle. When the samples show a
high in one cycle and a low in the next cycle, the count is incremented. The new count value
appears in the register during the cycle following the one in which the transition was detected.
Since 2 clock cycles are required to recognize a l-to-0 transition, the maximum count rate is 1/2
of the oscillator frequency. There are no restrictions on the duty cycle of the input signal, but it
should be held for at least one full clock cycle to ensure that a given level is sampled at least
once before it changes. In the AT89LP214, the T0 and T1 inputs are not available at the pins.
Port Pin
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6
Port Pin Alternate Functions
PxM0.y
P1M0.0
P1M0.1
P1M0.2
P1M0.3
P1M0.4
P1M0.5
P1M0.6
P1M0.7
P3M0.0
P3M0.1
P3M0.2
P3M0.3
P3M0.4
P3M0.5
14). Both Timers share the same prescaler.
Configuration Bits
not configurable
PxM1.y
P1M1.0
P1M1.1
P1M1.2
P1M1.3
P1M1.4
P1M1.5
P1M1.6
P1M1.7
P3M1.0
P3M1.1
P3M1.2
P3M1.3
P3M1.4
P3M1.5
Alternate
CMPOUT
Function
CLKOUT
MOSI
MISO
GPI0
GPI1
GPI2
GPI3
GPI4
GPI5
GPI6
GPI7
AIN0
AIN1
RXD
INT0
INT1
SCK
TXD
SS
T0
T1
Notes
input-only
input-only
Resets to quasi-bidirectional
AT89LP214 Only
Set as output on AT89LP213
Internal RC Oscillator Only
Internal RC Oscillator or
External Clock Source Only
AT89LP213 Only
Set as output on AT89LP214
Pin is tied to comparator output
RST must be disabled
3538E–MICRO–11/10
Related parts for AT89LP214
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: