Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AT89LP213 Datasheet(PDF) 28 Page - ATMEL Corporation

Part # AT89LP213
Description  8-bit Microcontroller with 2K Bytes Flash
PDF  98 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP213 Datasheet(HTML) 28 Page - ATMEL Corporation

Back Button AT89LP213 Datasheet HTML 24Page - ATMEL Corporation AT89LP213 Datasheet HTML 25Page - ATMEL Corporation AT89LP213 Datasheet HTML 26Page - ATMEL Corporation AT89LP213 Datasheet HTML 27Page - ATMEL Corporation AT89LP213 Datasheet HTML 28Page - ATMEL Corporation AT89LP213 Datasheet HTML 29Page - ATMEL Corporation AT89LP213 Datasheet HTML 30Page - ATMEL Corporation AT89LP213 Datasheet HTML 31Page - ATMEL Corporation AT89LP213 Datasheet HTML 32Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 98 page
background image
28
3538D–MICRO–10/09
AT89LP213/214
14. Enhanced Timer/Counters
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 14). Both Timers share the same prescaler.
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.
Table 13-5.
Port Pin Alternate Functions
Port Pin
Configuration Bits
Alternate
Function
Notes
PxM0.y
PxM1.y
P1.0
P1M0.0
P1M1.0
AIN0
input-only
GPI0
P1.1
P1M0.1
P1M1.1
AIN1
input-only
GPI1
P1.2
P1M0.2
P1M1.2
GPI2
P1.3
P1M0.3
P1M1.3
GPI3
RST must be disabled
P1.4
P1M0.4
P1M1.4
SS
Resets to quasi-bidirectional
GPI4
P1.5
P1M0.5
P1M1.5
MOSI
GPI5
P1.6
P1M0.6
P1M1.6
MISO
GPI6
P1.7
P1M0.7
P1M1.7
SCK
GPI7
P3.0
P3M0.0
P3M1.0
RXD
AT89LP214 Only
Set as output on AT89LP213
P3.1
P3M0.1
P3M1.1
TXD
P3.2
P3M0.2
P3M1.2
INT0
Internal RC Oscillator Only
P3.3
P3M0.3
P3M1.3
INT1
Internal RC Oscillator or
External Clock Source Only
CLKOUT
P3.4
P3M0.4
P3M1.4
T0
AT89LP213 Only
Set as output on AT89LP214
P3.5
P3M0.5
P3M1.5
T1
P3.6
not configurable
CMPOUT
Pin is tied to comparator output



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com