SAF-C515-L24M SIEMENS [Siemens Semiconductor Group], SAF-C515-L24M Datasheet - Page 28

no-image

SAF-C515-L24M

Manufacturer Part Number
SAF-C515-L24M
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SAF-C515-L24M
Manufacturer:
MAXIM
Quantity:
77
Part Number:
SAF-C515-L24M
Manufacturer:
Infineon
Quantity:
648
Timer 2 Compare Modes
The compare function of a timer/register combination operates as follows : the 16-bit value stored
in a compare or compare/capture register is compared with the contents of the timer register; if the
count value in the timer register matches the stored value, an appropriate output signal is generated
at a corresponding port pin and an interrupt can be generated.
Compare Mode 0
In compare mode 0, upon matching the timer and compare register contents, the output signal
changes from low to high. lt goes back to a low level on timer overflow. As long as compare mode
0 is enabled, the appropriate output pin is controlled by the timer circuit only and writing to the port
will have no effect. Figure 11 shows a functional diagram of a port circuit when used in compare
mode 0. The port latch is directly controlled by the timer overflow and compare match signals. The
input line from the internal bus and the write-to-latch line of the port latch are disconnected when
compare mode 0 is enabled.
Figure 11
Port Latch in Compare Mode 0
Semiconductor Group
Compare Register
Timer Register
Compare Reg.
Timer Circuit
Comparator
Circuit
16 Bit
16
Bit
Compare
Match
Overflow
Timer
Port Circuit
Internal
Bus
Write to
Latch
28
S
D
CLK
R
Latch
Port
Read Pin
Read Latch
Q
Q
V
CC
MCS02661
1997-08-01
Port
Pin
C515

Related parts for SAF-C515-L24M