beautypg.com

Preliminary – Rainbow Electronics T89C51CC02 User Manual

Page 110

background image

110

Rev.A - May 17, 2001

Preliminary

T89C51CC02

CCON (S:D8h)
PCA Counter Control Register

Reset Value = 00xx xx00b

Figure 111. CCON Register

7

6

5

4

3

2

1

0

CF

CR

-

CCF1

CCF0

Bit Number Bit Mnemonic

Description

7

CF

PCA Timer/Counter Overflow flag

Set by hardware when the PCA Timer/Counter rolls over. This generates a PCA interrupt request if
the ECF bit in CMOD register is set.
Must be cleared by software.

6

CR

PCA Timer/Counter Run Control bit

Clear to turn the PCA Timer/Counter off.
Set to turn the PCA Timer/Counter on.

5-2

-

Reserved

The value read from these bits are indeterminate. Do not set these bits.

1

CCF1

PCA Module 1 Compare/Capture flag

Set by hardware when a match or capture occurs. This generates a PCA interrupt request if the ECCF
1 bit in CCAPM 1 register is set.
Must be cleared by software.

0

CCF0

PCA Module 0 Compare/Capture flag

Set by hardware when a match or capture occurs. This generates a PCA interrupt request if the ECCF
0 bit in CCAPM 0 register is set.
Must be cleared by software.