p89cv51rb2 NXP Semiconductors, p89cv51rb2 Datasheet - Page 43

no-image

p89cv51rb2

Manufacturer Part Number
p89cv51rb2
Description
P89cv51rb2/rc2/rd2 8-bit 80c51 5 V Low Power 64 Kb Flash Microcontroller With 1 Kb Ram, Spi, 6-clock Cpu With 6/12-clock Peripherals
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
p89cv51rb2FA
Manufacturer:
KEC
Quantity:
10 000
Part Number:
p89cv51rb2FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
p89cv51rb2FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89cv51rb2FBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89cv51rb2FBC557
Manufacturer:
NXP Semiconductors
Quantity:
135
NXP Semiconductors
P89CV51RB2_RC2_RD2_1
Product data sheet
Fig 20. PCA interrupt system
PCA TIMER/COUNTER
MODULE0
MODULE1
MODULE2
MODULE3
MODULE4
CMOD.0
The TOG bit (CCAPMn.2) when set causes the CEX output associated with the module to
toggle when there is a match between the PCA counter and the module’s
capture/compare register.
The match bit MAT (CCAPMn.3) when set will cause the CCFn bit in the CCON register to
be set when there is a match between the PCA counter and the module’s
capture/compare register.
The next two bits CAPN (CCAPMn.4) and CAPP (CCAPMn.5) determine the edge that a
capture input will be active on. The CAPN bit enables the negative edge, and the CAPP bit
enables the positive edge. If both bits are set both edges will be enabled and a capture will
occur for either transition.
The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function.
There are two additional registers associated with each of the PCA modules. They are
CCAPnH and CCAPnL and these are the registers that store the 16-bit count when a
capture occurs or a compare should occur. When a module is used in the PWM mode,
these registers are used to control the duty cycle of the output.
Table 32.
Not bit addressable; reset value: 00H.
Bit
Symbol
ECF
CMOD - PCA counter mode register (address C1H) bit allocation
CIDL
7
CCAPMn.0
WDTE
Rev. 01 — 5 October 2007
CF
6
CR
ECCFn
5
-
-
P89CV51RB2/RC2/RD2
CCF4
4
-
CCF3
CCF2
IE.6
3
-
EC
CCF1
80C51 with 1 kB RAM, SPI
CPS1
2
IE.7
EA
CCF0
© NXP B.V. 2007. All rights reserved.
CPS0
CCON
(D8H)
to
interrupt
priority
decoder
1
002aaa533
ECF
43 of 73
0

Related parts for p89cv51rb2