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

X  

P89CV51RB2FBC Datasheet(PDF) 45 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) 45 Page - NXP Semiconductors

Back Button P89CV51RB2FBC Datasheet HTML 41Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 42Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 43Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 44Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 45Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 46Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 47Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 48Page - NXP Semiconductors P89CV51RB2FBC Datasheet HTML 49Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 73 page
background image
P89CV51RB2_RC2_RD2_1
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 01 — 5 October 2007
45 of 73
NXP Semiconductors
P89CV51RB2/RC2/RD2
80C51 with 1 kB RAM, SPI
6.9.1 PCA capture mode
To use one of the PCA modules in the Capture mode (Figure 21), either one or both of the
CCAPM bits CAPN and CAPP for that module must be set. The external CEX input for the
module (on port 1) is sampled for a transition. When a valid transition occurs, the PCA
hardware loads the value of the PCA counter registers (CH and CL) into the module’s
capture registers (CCAPnL and CCAPnH).
Table 37.
CCAPMn - PCA modules compare/capture register (address CCAPM0 DAH,
CCAPM1 DBH, CCAPM2 DCH, CCAPM3 DDH, CCAPM4 DEH) bit allocation
Not bit addressable; reset value: 00H.
Bit
7
6
5
4
3
2
1
0
Symbol
-
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
Table 38.
CCAPMn - PCA modules compare/capture register (address CCAPM0 DAH,
CCAPM1 DBH, CCAPM2 DCH, CCAPM3 DDH, CCAPM4 DEH) bit description
Bit
Symbol
Description
7
-
Reserved for future use. Should be set to 0 by user programs.
6
ECOMn
Enable Comparator. ECOMn = 1 enables the comparator function.
5
CAPPn
Capture Positive, CAPPn = 1 enables positive edge capture.
4
CAPNn
Capture Negative, CAPNn = 1 enables negative edge capture.
3
MATn
Match. When MATn = 1 a match of the PCA counter with this module’s
compare/capture register causes the CCFn bit in CCON to be set,
flagging an interrupt.
2
TOGn
Toggle. When TOGn = 1, a match of the PCA counter with this
module’s compare/capture register causes the CEXn pin to toggle.
1
PWMn
Pulse Width Modulation mode. PWMn = 1 enables the CEXn pin to be
used as a pulse-width modulated output.
0
ECCFn
Enable CCF interrupt. Enables compare/capture flag CCFn in the
CCON register to generate an interrupt.
Table 39.
PCA module modes (CCAPMn register)
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
Module function
0
0
0
0
0
0
0
no operation
X
1
0
0
0
0
X
16-bit capture by a positive-edge trigger on
CEXn
X
0
1
0
0
0
X
16-bit capture by a negative-edge trigger on
CEXn
X
1
1
0
0
0
X
16-bit capture by any transition on CEXn
1
0
0
1
0
0
X
16-bit software timer
1
0
0
1
1
0
X
16-bit high-speed output
1
0
0
0
0
1
0
8-bit PWM
1
0
0
1
X
0
X
watchdog timer



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