P89C660HFA PHILIPS [NXP Semiconductors], P89C660HFA Datasheet - Page 55

no-image

P89C660HFA

Manufacturer Part Number
P89C660HFA
Description
80C51 8-bit Flash microcontroller family
Manufacturer
PHILIPS [NXP Semiconductors]
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89C660HFA
Manufacturer:
NXP
Quantity:
1 832
Part Number:
P89C660HFA/00,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Philips Semiconductors
2002 Oct 28
80C51 8-bit Flash microcontroller family
16KB/32KB/64KB ISP/IAP Flash with 512B/1KB/2KB/8KB RAM
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
** f
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
Symbol
CIDL
WDTE
CPS1
CPS0
ECF
Symbol
CF
CR
CCF4
CCF3
CCF2
CCF1
CCF0
new bit will be 0, and its active value will be 1. The value read from a reserved bit is indeterminate.
new bit will be 0, and its active value will be 1. The value read from a reserved bit is indeterminate.
OSC
= oscillator frequency
Bit:
Bit Addressable
Bit:
Function
Counter Idle control: CIDL = 0 programs the PCA Counter to continue functioning during idle Mode. CIDL = 1 programs
it to be gated off during idle.
Watchdog Timer Enable: WDTE = 0 disables Watchdog Timer function on PCA Module 4. WDTE = 1 enables it.
Not implemented, reserved for future use.*
PCA Count Pulse Select bit 1.
PCA Count Pulse Select bit 0.
CPS1
PCA Enable Counter Overflow interrupt: ECF = 1 enables CF bit in CCON to generate an interrupt. ECF = 0 disables
that function of CF.
Function
PCA Counter Overflow flag. Set by hardware when the counter rolls over. CF flags an interrupt if bit ECF in CMOD is
set. CF may be set by either hardware or software but can only be cleared by software.
PCA Counter Run control bit. Set by software to turn the PCA counter on. Must be cleared by software to turn the PCA
counter off.
Not implemented, reserved for future use*.
PCA Module 4 interrupt flag. Set by hardware when a match or capture occurs. Must be cleared by software.
PCA Module 3 interrupt flag. Set by hardware when a match or capture occurs. Must be cleared by software.
PCA Module 2 interrupt flag. Set by hardware when a match or capture occurs. Must be cleared by software.
PCA Module 1 interrupt flag. Set by hardware when a match or capture occurs. Must be cleared by software.
PCA Module 0 interrupt flag. Set by hardware when a match or capture occurs. Must be cleared by software.
0
0
1
1
CCON Address = 0C0H
CMOD Address = C1H
CIDL
7
CF
7
CPS0
0
1
0
1
WDTE
Selected PCA Input**
CR
6
6
0
1
2
3
Figure 44. CCON: PCA Counter Control Register
Figure 43. CMOD: PCA Counter Mode Register
5
Internal clock, f
Internal clock, f
Timer 0 overflow
External clock at ECI/P1.2 pin
5
(max. rate = f
CCF4
4
4
OSC
OSC
OSC
/6 in 6 clock mode (f
/2 in 6 clock mode (f
/4 in 6 clock mode, f
55
CCF3
3
3
CPS1
CCF2
2
2
P89C660/P89C662/P89C664/
OSC
OSC
OCS
CCF1
/12 in 12 clock mode)
/4 in 12 clock mode)
/8 in 12 clock mode)
CPS0
1
1
CCF0
ECF
0
0
Reset Value = 00XX X000B
Reset Value = 00X0 0000B
P89C668
SU01257
SU01099
Product data

Related parts for P89C660HFA