Download P89C669 USER MANUAL - NXP Semiconductors

Transcript
Philips Semiconductors
P89C669 User Manual
80C51 8-bit microcontroller with extended memory and 96kB FLASH with 2kB RAM
CCON
Address: 0D8H
7
6
5
4
3
2
1
0
CF
CR
-
CCF4
CCF3
CCF2
CCF1
CCF0
Bit addressable
Reset Value: 00h
BIT
SYMBOL
FUNCTION
CCON.7
CF
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.
CCON.6
CR
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.
CCON.5
-
CCON.4
CCF4
PCA Module 4 Interrupt Flag. Set by hardware when a match or capture occurs. Must be
cleared by software.
CCON.3
CCF3
PCA Module 3 Interrupt Flag. Set by hardware when a match or capture occurs. Must be
cleared by software.
CCON.2
CCF2
PCA Module 2 Interrupt Flag. Set by hardware when a match or capture occurs. Must be
cleared by software.
CCON.1
CCF1
PCA Module 1 Interrupt Flag. Set by hardware when a match or capture occurs. Must be
cleared by software.
CCON.0
CCF0
PCA Module 0 Interrupt Flag. Set by hardware when a match or capture occurs. Must be
cleared by software.
Reserved for future use. Should be set to 0 by user programs.
Figure 68: PCA Counter Control Register
91
2003 Sep 16, 4:12 pm