SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 290

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Compare
In the compare mode, the 16-bit values stored in the dedicated compare registers are
compared to the contents of the timer 2 register or the compare timer register. If the count value
in the timer registers matches one of the stored values, an appropriate output signal is
generated and an interrupt is requested. Two compare modes are provided:
Mode 0:
Mode 1:
Compare registers CM0 to CM7 use additional compare latches when operated in mode 0.
Figure 8 shows the function of these latches. The latches are implemented to prevent from loss
of compare matches which may occur when loading of the compare values is not correlated
with the timer count. The compare latches are automatically loaded from the compare registers
at every timer overflow.
Capture
This feature permits saving of the actual timer/counter contents into a selected register upon
an external event or a software write operation. Two modes are provided to latch the current
16-bit value of timer 2 registers into a dedicated capture register.
Mode 0:
Mode 1:
Reload of Timer 2
A 16-bit reload can be performed with the 16-bit CRC register, which is a concatenation of the
8-bit registers CRCL and CRCH. There are two modes from which to select:
Mode 0:
Mode 1:
Timer/Counters 0 and 1
These timer/counters are fully compatible with timer/counter 0 or 1 of the SAB 8051 and can
operate in four modes:
Mode 0:
Mode 1:
Mode 2:
Mode 3:
External inputs INT0 and INT1 can be programmed to function as a gate for timer/counters 0
and 1 to facilitate pulse width measurements.
Semiconductor Group
Upon a match the output signal changes from low to high. It goes back to low level
when the timer overflows.
The transition of the output signal can be determined by software. A timer overflow
signal doesn’t affect the compare-output.
Capture is performed in response to a transition at the corresponding port pins CC0
to CC3.
Write operation into the low-order byte of the dedicated capture register causes the
timer 2 contents to be latched into this register.
Reload is caused by a timer overflow (auto-reload).
Reload is caused in response to a negative transition at pin T2EX (P1.5), which also
can request an interrupt.
8-bit timer/counter with 32:1 prescaler
16-bit timer/counter
8-bit timer/counter with 8-bit auto reload
Timer/counter 0 is configured as one 8-bit timer; timer/counter 1 in this mode holds
its count.
291
SAB 80C517/80C537

Related parts for SAB80C517-M16