Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AT89LP51RB2 Datasheet(PDF) 90 Page - ATMEL Corporation

Part # AT89LP51RB2
Description  8-bit Microcontroller Compatible with 8051 Products
PDF  254 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP51RB2 Datasheet(HTML) 90 Page - ATMEL Corporation

Back Button AT89LP51RB2 Datasheet HTML 86Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 87Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 88Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 89Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 90Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 91Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 92Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 93Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 94Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 90 / 254 page
background image
90
3722A–MICRO–10/11
AT89LP51RB2/RC2/IC2 Preliminary
14.2
Capture Mode
In the Capture mode, Timer 2 is a fixed 16-bit timer or counter that counts up from MIN to MAX.
An overflow from MAX to MIN sets bit TF2 in T2CON. If EXEN2 = 1, a 1-to-0 transition at exter-
nal input T2EX also causes the current value in TH2 and TL2 to be captured into RCAP2H and
RCAP2L, respectively. In addition, the transition at T2EX causes bit EXF2 in T2CON to be set.
The EXF2 and TF2 bits can generate an interrupt. Capture mode is illustrated in Figure 14-1.
The Timer 2 overflow rate in Capture mode is given by the following equation:
Note:
In Fast Mode, TPS applies only when the T2X2 bit in CKCON0 is set. TPS always
applies in Compatibility Mode, therefore setting T2X2 in Compatibility Mode will double
the timeout period.
Figure 14-1. Timer 2 Diagram: Capture Mode
Table 14-4.
T2MOD – Timer 2 Mode Control Register
T2MOD Address = 0C9H
Reset Value = 0000 0000B
Not Bit Addressable
–––
––
–
T2OE
DCEN
Bit
765
43
210
Symbol
Function
T2OE
Timer 2 Output Enable
When T2OE = 1 and C/T2 = 0, the T2 pin will toggle after every Timer 2 overflow.
DCEN
Timer 2 Down Count Enable
When Timer 2 operates in Auto-Reload mode and EXEN2 = 1, setting DCEN = 1 will cause Timer 2 to count up or down
depending on the state of T2EX.
Capture Mode:
Time-out Period
65536
f
SYS
----------------
TPS
1
+
()
×
=
÷TPS
EXF2
T2EX PIN
T2 PIN
TR2
EXEN2
C/T2 = 0
C/T2 = 1
CAPTURE
OVERFLOW
TRANSITION
DETECTOR
TIMER 2
INTERRUPT
RCAP2H
RCAP2L
TL2
TH2
TF2
CLKSYS



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 99 100  ...More


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