AT89C5115 Atmel Corporation, AT89C5115 Datasheet - Page 74
AT89C5115
Manufacturer Part Number
AT89C5115
Description
Manufacturer
Atmel Corporation
Specifications of AT89C5115
Flash (kbytes)
16 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
20
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
0.5
Eeprom (bytes)
2048
Self Program Memory
API
Operating Voltage (vcc)
3.0 to 5.5
Timers
4
Isp
UART
Watchdog
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C5115-UM
Manufacturer:
SANYO
Quantity:
84
PCA Interrupt
Figure 33. PCA Interrupt System
PCA Capture Mode
Figure 34. PCA Capture Mode
74
AT89C5115
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
-
CF
0CAPPnCAPNn000ECCFn
CCAPMn.0
ECCFn
CCAPMn Register (n = 0, 1)
CR
IEN0.6
CCON Reg
EC
CCFn
IEN0.7
EA
CCF1 CCF0
CCAPnH CCAPnL
(8-bits)
PCA Counter
CH
0
(8-bits)
CCON
0xD8
To Interrupt
CL
PCA
Interrupt
Request
4128G–8051–02/08