p89v660 NXP Semiconductors, p89v660 Datasheet - Page 60

no-image

p89v660

Manufacturer Part Number
p89v660
Description
P89v660/p89v662/p89v664 8-bit 80c51 5 V Low Power 16 Kb/32 Kb/64 Kb Flash Microcontroller With 512 B/1 Kb/2 Kb Ram, Dual I2c-bus, Spi
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
p89v660FA
Manufacturer:
PHI
Quantity:
5 530
Part Number:
p89v660FA
Manufacturer:
PHI
Quantity:
5 530
Part Number:
p89v660FA
Manufacturer:
NXP
Quantity:
12 388
Part Number:
p89v660FA
Manufacturer:
INT
Quantity:
5 600
Part Number:
p89v660FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
p89v660FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89v660FAЈ¬512
Manufacturer:
PHI
Quantity:
5 530
Part Number:
p89v660FBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
Table 52.
P89V660_662_664_2
Product data sheet
ECOMn
0
x
x
x
1
1
1
1
CAPPn
0
1
0
1
0
0
0
0
PCA module modes (CCAPMn register)
6.10.1 PCA capture mode
CAPNn
0
0
1
1
0
0
0
0
Table 50.
Not bit addressable; Reset value: 00H
Table 51.
To use one of the PCA modules in the capture mode
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).
Bit
7
6
5
4
3
2
1
0
Bit
Symbol
MATn
0
0
0
0
1
1
0
1
CCAPMn - PCA modules compare/capture register (address CCAPM0 0C2H,
CCAPM1 0C3H, CCAPM2 0C4H, CCAPM3 0C5H, CCAPM4 0C6H) bit allocation
CCAPMn - PCA modules compare/capture register (address CCAPM0 0C2H,
CCAPM1 0C3H, CCAPM2 0C4H, CCAPM3 0C5H, CCAPM4 0C6H) bit description
Symbol
-
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
7
-
TOGn
0
0
0
0
0
1
0
x
ECOMn
Rev. 02 — 29 January 2008
6
Description
Reserved for future use. Should be set to ‘0’ by user programs.
Enable Comparator. ECOMn = 1 enables the comparator function.
Capture Positive, CAPPn = 1 enables positive edge capture.
Capture Negative, CAPNn = 1 enables negative edge capture.
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.
Toggle. When TOGn = 1, a match of the PCA counter with this
module’s compare/capture register causes the CEXn pin to toggle.
Pulse Width Modulation mode. PWMn = 1 enables the CEXn pin to be
used as a pulse width modulated output.
Enable CCF Interrupt. Enables compare/capture flag CCFn in the
CCON register to generate an interrupt.
PWMn
0
0
0
0
0
0
1
0
CAPPn
5
80C51 with 512 B/1 kB/2 kB RAM, dual I
ECCFn
0
x
x
x
x
x
0
x
CAPNn
4
no operation
16-bit capture by a positive-edge trigger on
16-bit capture by a negative-edge trigger on
16-bit capture by any transition on CEXn
16-bit software timer
16-bit high-speed output
8-bit PWM
watchdog timer
Module function
CEXn
CEXn
MATn
(Figure
P89V660/662/664
3
28) either one or both of the
TOGn
2
© NXP B.V. 2008. All rights reserved.
PWMn
1
2
C-bus, SPI
ECCFn
60 of 89
0

Related parts for p89v660