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

X  

P89CV51RB2FBC Datasheet(PDF) 29 Page - NXP Semiconductors

Part # P89CV51RB2FBC
Description  8-bit 80C51 5 V low power 64 kB flash microcontroller with 1 kB RAM, SPI, 6-clock CPU with 6/12-clock peripherals
PDF  73 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NXP [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo NXP - NXP Semiconductors

P89CV51RB2FBC Datasheet(HTML) 29 Page - NXP Semiconductors

Back Button P89CV51RB2FBC Datasheet HTML 25Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 26Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 27Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 28Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 29Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 30Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 31Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 32Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 33Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 73 page
background image
P89CV51RB2_RC2_RD2_1
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 01 — 5 October 2007
29 of 73
NXP Semiconductors
P89CV51RB2/RC2/RD2
80C51 with 1 kB RAM, SPI
6.5.1 Capture mode
In the Capture mode there are two options which are selected by bit EXEN2 in T2CON. If
EXEN2 = 0 Timer 2 is a 16-bit timer or counter (as selected by C/T2 in T2CON) which
upon overflowing sets bit TF2, the Timer 2 overflow bit. The Capture mode is illustrated in
Figure 11.
This bit can be used to generate an interrupt (by enabling the Timer 2 interrupt bit ET2 in
the IE register). If EXEN2 = 1, Timer 2 operates as described above, but with the added
feature that a 1-to-0 transition at external input T2EX causes the current value in the
Timer 2 registers, TL2 and TH2, to be captured into registers RCAP2L and RCAP2H,
respectively.
In addition, the transition at T2EX causes bit EXF2 in T2CON to be set, and EXF2 like
TF2 can generate an interrupt (which vectors to the same location as Timer 2 overflow
interrupt). The Timer 2 interrupt service routine can interrogate TF2 and EXF2 to
determine which event caused the interrupt.
4
TCLK
Transmit clock flag. When set, causes the UART to use Timer 2 overflow
pulses for its transmit clock in modes 1 and 3. TCLK = 0 causes Timer 1
overflows to be used for the transmit clock.
3
EXEN2
Timer 2 external enable flag. When set, allows a capture or reload to occur
as a result of a negative transition on T2EX if Timer 2 is not being used to
clock the serial port. EXEN2 = 0 causes Timer 2 to ignore events at T2EX.
2
TR2
Start/stop control for Timer 2. A logic 1 enables the timer to run.
1C/T2
Timer or counter select. (Timer 2)
0 = internal timer (fosc /6)
1 = external event counter (falling edge triggered; external clock’s
maximum rate = fosc / 12)
0
CP/RL2
Capture/Reload flag. When set, captures will occur on negative transitions
at T2EX if EXEN2 = 1. When cleared, auto-reloads will occur either with
Timer 2 overflows or negative transitions at T2EX when EXEN2 = 1. When
either RCLK = 1 or TCLK = 1, this bit is ignored and the timer is forced to
auto-reload on Timer 2 overflow.
Table 21.
T2MOD - Timer 2 mode control register (address C9H) bit allocation
Not bit addressable; reset value: XX00 0000B.
Bit
7
6
5
4
3
2
1
0
Symbol
-
-
-
-
-
-
T2OE
DCEN
Table 22.
T2MOD - Timer 2 mode control register (address C9H) bit description
Bit
Symbol
Description
7 to 2
-
Reserved for future use. Should be set to 0 by user programs.
1
T2OE
Timer 2 Output Enable bit. Used in programmable Clock-out mode only.
0
DCEN
Down Count Enable bit. When set, this allows Timer 2 to be configured as
an up/down counter.
Table 20.
T2CON - Timer/Counter 2 control register (address C8H) bit description …continued
Bit
Symbol
Description



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


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