User’s Manual
C166S V1 SubSystem
General Purpose Timer Unit
User’s Manual
12-23
V 1.6, 2001-08
The Reload Mode triggered by T3OTL can be used in a number of different
configurations. Depending on the selected active transition, the following functions can
be performed:
• If both a positive and a negative transition of T3OTL are selected to trigger a reload,
the core timer will be reloaded with the contents of the auxiliary timer each time it
overflows or underflows. This is the standard Reload Mode (reload on overflow/
underflow).
• If either a positive or a negative transition of T3OTL is selected to trigger a reload, the
core timer will be reloaded with the contents of the auxiliary timer on every second
overflow or underflow.
• Using this “single-transition” mode for both auxiliary timers allows very flexible Pulse
Width Modulation (PWM). One of the auxiliary timers is programmed to reload the
core timer on a positive transition of T3OTL; the other is programmed for a reload on
a negative transition of T3OTL. With this combination, the core timer is alternately
reloaded from the two auxiliary timers.
The
Figure 12-14
shows an example for the generation of a PWM signal using the
alternate reload mechanism. T2 defines the high time of the PWM signal (reloaded on
positive transitions) and T4 defines the low time of the PWM signal (reloaded on negative
transitions). The PWM signal can be output on line T3OUT if the enable bit T3OE is set.
Using this method, the high and low time of the PWM signal can be varied over a wide
range.
Note: T3OTL is accessible via software and may be changed, if required, to modify the
PWM signal. However, this will NOT trigger the reloading of T3.
Note: An associated port pin linked to line T3OUT should be configured as output.
Содержание C166S V1 SubSystem
Страница 10: ...User s Manual C166S V1 SubSystem User s Manual I 6 V 1 6 2001 08...
Страница 16: ...User s Manual C166S V1 SubSystem Introduction User s Manual 1 6 V 1 6 2001 08...
Страница 126: ...User s Manual C166S V1 SubSystem Central Processing Unit User s Manual 3 96 V 1 6 2001 08...
Страница 178: ...User s Manual C166S V1 SubSystem Memory Organization User s Manual 4 52 V 1 6 2001 08...
Страница 206: ...User s Manual C166S V1 SubSystem Instruction Set User s Manual 5 28 V 1 6 2001 08...
Страница 306: ...User s Manual C166S V1 SubSystem Detailed Instruction Set User s Manual 6 100 V 1 6 2001 08...
Страница 362: ...User s Manual C166S V1 SubSystem The External Bus Interface User s Manual 8 40 V 1 6 2001 08...
Страница 452: ...User s Manual C166S V1 SubSystem General Purpose Timer Unit User s Manual 12 44 V 1 6 2001 08...
Страница 454: ...User s Manual C166S V1 SubSystem Instruction Index User s Manual 13 2 V 1 6 2001 08...
Страница 459: ......