sak-c868p-1rr Infineon Technologies Corporation, sak-c868p-1rr Datasheet - Page 62

no-image

sak-c868p-1rr

Manufacturer Part Number
sak-c868p-1rr
Description
8 - Bit Cmos Microcontroller
Manufacturer
Infineon Technologies Corporation
Datasheet
C868
On-Chip Peripheral Components
4.5.1.5
Mode 3
Mode 3 has different effects on timer 0 and timer 1. Timer 1 in mode 3 simply holds its
count. The effect is the same as setting TR1=0. Timer 0 in mode 3 establishes TL0 and
TH0 as two separate counters. The logic for mode 3 on timer 0 is shown in
Figure
4-5.
TL0 uses the timer 0 control bits: C/
, Gate, TR0, INT0 and TF0. TH0 is locked into a
T
timer function (counting machine cycles) and takes over the use of TR1 and TF1 from
timer 1. Thus, TH0 now controls the "timer 1" interrupt.
Mode 3 is provided for applications requiring an extra 8-bit timer or counter. When timer
0 is in mode 3 and when TR1 is set, timer 1 can be turned on by switching it to any mode
other than 3 and off by switching it into its own mode 3, or can still be used by the serial
channel as a baud rate generator, or in fact, in any application not requiring an interrupt
from timer 1 itself.
Timer Clock
f
12
SYS
C/T = 0
TL0
Interrupt
TF0
(8 Bits)
Control
TR0
TR0
=1
Gate
1
Pin
INT0
TH0
Interrupt
TF1
(8 Bits)
TR1
Figure 4-5
Timer 0, Mode 3: Two 8-Bit Timers
User’s Manual
4-18
V 1.0, 2003-01

Related parts for sak-c868p-1rr