p87c754ebd NXP Semiconductors, p87c754ebd Datasheet - Page 13

no-image

p87c754ebd

Manufacturer Part Number
p87c754ebd
Description
80c51 8-bit Microcontroller Family 4k/256 Otp/rom, Dac, Comparator, Uart, Reference
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
1998 Apr 23
80C51 8-bit microcontroller family
4K/256 OTP/ROM, DAC, comparator, UART, reference
NOTE:
*User software should not write 1s to reserved bits. These bits may be used in future 8051 family products to invoke new features. In that case, the reset or inactive value of the new
bit will be 0, and its active value will be 1. The value read from a reserved bit is indeterminate.
CCAPMn Address
Symbol
ECOM
CAPP
CAPN
MAT
TOG
PWM
ECCF
X
X
X
X
X
X
X
X
CEX
ECOM
X
X
X
0
1
1
1
1
Not Bit Addressable
Bit:
Function
Not implemented, reserved for future use*.
Enable Comparator. ECOM = 1 enables the comparator function.
Capture Positive, CAPP = 1 enables positive edge capture.
Capture Negative, CAPN = 1 enables negative edge capture.
Match. When MAT = 1, a match of the PCA counter with this module’s compare/capture register causes the CCF bit in
CCON to be set, flagging an interrupt.
Toggle. When TOG = 1, a match of the PCA counter with this module’s compare/capture register causes the CEX pin
to toggle.
Pulse Width Modulation Mode. PWM4 = 1 enables the CEX pin to be used as a pulse width modulated output.
Enable CCF interrupt. Enables compare/capture flag CCF in the CCON register to generate an interrupt.
CAPP
0
1
0
1
0
0
0
0
––
7
CCAPM
––
CF
CAPN
ECOM
ECOM
0
0
1
1
0
0
0
0
Figure 10. CCAPM: PCA Modules Compare/Capture Registers
6
0
CR
0DEH
Figure 11. PCA Module Modes (CCAPM Register)
CAPP
MAT
CAPP
0
0
0
0
1
1
0
1
––
5
CAPN
Figure 12. PCA Capture Mode
CCF
TOG
CAPN
X
0
0
0
0
0
1
0
4
MAT
0
––
PWM
(TO CCF)
CAPTURE
13
MAT
0
0
0
0
0
0
1
0
3
TOG
0
––
ECCF
X
X
X
X
X
X
0
0
TOG
PWM
2
0
––
No operation
16-bit capture by a positive-edge trigger on CEX
16-bit capture by a negative trigger on CEX
16-bit capture by a transition on CEX
16-bit Software Timer
16-bit High Speed Output
8-bit PWM
Watchdog Timer
ECCF
PWM
––
1
CCAPM
CCON
(D8H)
ECCF
MODULE FUNCTION
0
CCAPH
PCA TIMER/COUNTER
CH
Reset Value = X000 0000B
83C754/87C754
Preliminary specification
PCA INTERRUPT
CCAPL
SU00678A
CL
SU00677A

Related parts for p87c754ebd