Download User`s Manual

Transcript
Peripherals
Interrupt
Request
CCxIR
CCMODx
Compare Reg. CCx
Mode 1
Comparator
Input
Clock
CAPCOM Timer Ty
TyIR
≥
Interrupt
Request
Toggle
Port 2
Latch
P2.x
CCxIO
Comparator
Mode 0
Compare Reg. CCz
CCMODz
x= (0 . . . 7)
z= (8 . . . 15)
y= (0, 1)
Interrupt
Request
CCzIR
Figure 8.1.16
Double-Register Compare Mode Block Diagram
Contents of Ty:
FFFFh
Compare Value in CCz
Compare Value in CCx
Reload Value <TyREL>
0000h
Interrupt
Requests:
TyIR
CCxIR
CCzIR TyIR
CCxIR
CCzIR TyIR
State of CCxIO:
1
0
t
Figure 8.1.17
Timing Example for the Double-Register Compare Mode
Semiconductor Group
8 – 22
x= (0 . . . 7)
z= (8 . . . 15)
y= (0, 1)