P89V51RD2 Philips Semiconductors, P89V51RD2 Datasheet - Page 47

no-image

P89V51RD2

Manufacturer Part Number
P89V51RD2
Description
8-bit 80C51 5 V low power 64 kB Flash microcontroller with 1 kB RAM
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89V51RD2BN
Manufacturer:
TDK
Quantity:
12
Part Number:
P89V51RD2BN
Manufacturer:
NXP
Quantity:
1 236
Part Number:
P89V51RD2BN
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89V51RD2BNЈ¬112
Manufacturer:
NXP
Quantity:
67
Part Number:
P89V51RD2FA
Manufacturer:
BI
Quantity:
230
Part Number:
P89V51RD2FA
Quantity:
6 250
Part Number:
P89V51RD2FA
Manufacturer:
NXP
Quantity:
1 331
Part Number:
P89V51RD2FA
Manufacturer:
NXP
Quantity:
200
Part Number:
P89V51RD2FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89V51RD2FA,512
Manufacturer:
Freescale
Quantity:
312
Part Number:
P89V51RD2FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89V51RD2FBC
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
P89V51RD2FBC
Quantity:
26
Part Number:
P89V51RD2FBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Philips Semiconductors
Table 42:
9397 750 12964
Product data
ECOMn
0
x
x
x
1
1
1
1
CAPPn
0
1
0
1
0
0
0
0
PCA module modes (CCAPMn register)
7.8.1 PCA capture mode
CAPNn
0
0
1
1
0
0
0
0
Table 40:
Not bit addressable; Reset value: 00H
Table 41:
To use one of the PCA modules in the capture mode
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).
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 0DAH,
CCAPM1 0DBH, CCAPM2 0DCH, CCAPM3 0DDH, CCAPM4 0DEH) bit alloc.
CCAPMn - PCA modules compare/capture register (address CCAPM0 0DAH,
CCAPM1 0DBH, CCAPM2 0DCH, CCAPM3 0DDH, CCAPM4 0DEH) bit desc.
Symbol
-
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
TOGn
0
0
0
0
0
1
0
x
7
-
Rev. 01 — 01 March 2004
ECOMn
PWMn
0
0
0
0
0
0
1
0
6
Description
Reserved for future use. Should be set to
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.
CAPPn
5
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
8-bit microcontrollers with 80C51 core
MATn
3
(Figure
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
TOGn
P89V51RD2
22) either one or both of
2
‘0’
by user programs.
PWMn
1
ECCFn
47 of 75
0

Related parts for P89V51RD2