User’s Manual
C166S V1 SubSystem
General Purpose Timer Unit
User’s Manual
12-22
V 1.6, 2001-08
Auxiliary Timer in Reload Mode
Reload Mode for the auxiliary timers T2 and T4 is selected by setting bitfield TxM in the
respective register TxCON to ‘100
B
’. In Reload Mode, core Timer T3 is reloaded with the
contents of an auxiliary timer register, triggered by one of two different signals. The
trigger signal is selected the same way as the clock source for Counter Mode (see
Table 12-8
). That is, a transition of the auxiliary timer’s input or the output toggle latch
T3OTL may trigger the reload.
Note: When programmed for Reload Mode, the respective auxiliary Timer (T2 or T4)
stops independently of its run flag T2R or T4R.
Figure 12-13 GPT1 Auxiliary Timer in Reload Mode
Note: Line ’*)’ is affected by over/underflow of T3 only, but NOT by software
modifications of T3OTL
Upon a trigger signal, T3 is loaded with the contents of the respective timer register (T2
or T4) and T2IRQ or T4IRQ is driven high.
Note: When a T3OTL transition is selected for the trigger signal, the interrupt request
flag T3IR will be set upon a trigger, indicating T3’s overflow or underflow.
Modifications of T3OTL via software will NOT trigger the counter function of T2/T4.
Core Timer T3
Up/Down
Source/Edge
Select
T3OTL
T3IRQ
TxIN
TxI
TxIRQ
MCB02035_b
T3R
Prescaler
T3l
f
clk
BPS1
Auxiliary Timer Tx
x = 2,4
*)
T3OE
T3OUT
MUX
1
0
1
Содержание 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: ......