T89C5115_08 ATMEL [ATMEL Corporation], T89C5115_08 Datasheet - Page 72

no-image

T89C5115_08

Manufacturer Part Number
T89C5115_08
Description
Low Pin Count 8-bit Microcontroller with A/D Converter and 16 KBytes Flash Memory
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Figure 32. PCA Timer/Counter
72
AT89C5115
Idle
FPca/2
T0 OVF
FPca/6
P1.2
The CMOD register includes three additional bits associated with the PCA.
The CCON register contains the run control bit for the PCA and the flags for the PCA
timer and each module.
CIDL
CF
The CIDL bit which allows the PCA to stop during idle mode.
The ECF bit which when set causes an interrupt and the PCA overflow flag CF in
CCON register to be set when the PCA timer overflows.
The CR bit must be set to run the PCA. The PCA is shut off by clearing this bit.
The CF bit is set when the PCA counter overflows and an interrupt will be generated
if the ECF bit in CMOD register is set. The CF bit can only be cleared by software.
The CCF0:1 bits are the flags for the modules (CCF0 for module0...) and are set by
hardware when either a match or a capture occurs. These flags also can be cleared
by software.
CR
CPS1 CPS0
CH
16-bit up counter
CCF1 CCF0
ECF
CL
CMOD
0xD9
CCON
0xD8
overflow
To PCA
modules
4128G–8051–02/08
It

Related parts for T89C5115_08