Chapter 24 Cross Triggering Unit (CTU)
MPC5602P Microcontroller Reference Manual, Rev. 4
614
Freescale Semiconductor
Figure 24-6. TGS counter cases
24.4
Scheduler subunit (SU)
The structure of the SU is shown in
.
The SU generates the trigger event output according to the occurred trigger event, and it has the same
functionality in both TGS modes (triggered mode and sequential mode). Each of the four SU outputs:
•
ADC command or ADC stream of commands
•
eTimer1 pulse (ETIMER0_TRG internally connected to eTimer_0 AUX0)
•
eTimer2 pulse (ETIMER1_TRG internally connected to eTimer_0 AUX1)
•
External trigger pulse
can be linked to any of eight trigger events by the Trigger Handler block. Each trigger event can be linked
to one or more SU outputs.
If two events at the same time are linked to the same output only one output is generated and an error is
provided. The output is generated using the trigger with the lowest index. For example, if trigger 0 and
trigger 1 are linked to the ADC output and they occur together, an error is generated and the output linked
with the trigger 0 is generated.
Value in TGSCCR
TGS Counter
TGS Counter—Case 2
TGS Counter—Case 3
TGS Counter—Case 4
TGS Counter—Case 1
Value in TGSCRR
MRS
Value in TGSCRR
MRS
Value in TGSCRR
MRS
Value in TGSCRR
MRS
TGS Counter
TGS Counter
Value in TGSCCR
TGS Counter
Value in TGSCCR
0x7FFF
0x8000
TGS Counter
is stopped
Value in TGSCCR