English
Language : 

C517A Datasheet, PDF (37/72 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
C517A
Port Circuit
Compare Register
Circuit
Compare Reg.
16 Bit
Comparator
16 Bit
Timer Register
Timer Circuit
Compare
Match
Internal
Bus
Write to
Latch
Read Latch
VVCDCD
D
Q
D
Q
Port
Shadow
Port
Pin
Latch
Latch
CLK
CLK
Q
Read Pin
MCS02662
Figure 15
Compare Function in Compare Mode 1
Compare Mode 2
In the compare mode 2 the port 5 pins are under control of compare/capture register CC4, but under
control of the compare registers COMSET and COMCLR. When a compare match occurs with
register COMSET, a high level appears at the pins of port 5 when the corresponding bits in the mask
register SETMSK are set. When a compare match occurs with register COMCLR, a low level
appears at the pins of port 5 when the corresponding bits in the mask register CLRMSK are set.
COMSET
16 Bit
Comparator
16 Bit
TH2 TL2
Timer 2
16 Bit
Comparator
16 Bit
COMCLR
Compare SETMSK
Signal
Bits
Compare
Signal
CLRMSK
Bits
Port Circuit
Internal
Bus
Write to
Latch
Figure 16
Compare Function of Compare Mode 2
Semiconductor Group
35
Read Latch
VVCDC D
S
Q
Port
D Port
Pin
Latch
CLK
R
Q
Read Pin
MCS02663