beautypg.com

Rainbow Electronics T89C5115 User Manual

Page 74

background image

74

T89C5115

4128A–8051–04/02

Table 48. CCON Register

CCON (S:D8h)
PCA Counter Control Register

Reset Value = 00xx xx00b

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 bist 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.