T89C5115 ATMEL Corporation, T89C5115 Datasheet - Page 69

no-image

T89C5115

Manufacturer Part Number
T89C5115
Description
Low Pin Count 8-bit MCU with A/D Converter and 16-Kbytes of Flash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C5115-RATIM
Manufacturer:
TI
Quantity:
1 474
Part Number:
T89C5115-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C5115-SISIM
Manufacturer:
Atmel
Quantity:
10 000
PCA Interrupt
Figure 31. PCA Interrupt System
PCA Capture Mode
Figure 32. PCA Capture Mode
4128A–8051–04/02
CEXn
n = 0, 1
PCA Timer/Counter
Module 0
Module 1
-
CMOD.0
ECF
To use one of the PCA modules in capture mode either one or both of the CCAPM bits
CAPN and CAPP for that module must be set. The external CEX input for the module
(on port 1) is sampled for a transition. When a valid transition occurs the PCA hardware
loads the value of the PCA counter registers (CH and CL) into the module’s capture reg-
isters (CCAPnL and CCAPnH). If the CCFn bit for the module in the CCON SFR and the
ECCFn bit in the CCAPMn SFR are set then an interrupt will be generated.
7
0CAPPn
CF
CCAPMn.0
ECCFn
CCAPMn Register (n = 0, 1)
CR
CAPNn000
ECCFn
IEN0.6
CCON Reg
EC
CCFn
IEN0.7
EA
CCF1 CCF0
CCAPnH CCAPnL
(8bits)
PCA Counter
CH
0
(8bits)
CL
CCON
0xD8
To Interrupt
T89C5115
PCA
Interrupt
Request
69

Related parts for T89C5115