English
Language : 

PXS20RM Datasheet, PDF (253/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Cross-Triggering Unit (CTU)
MRS
Value in TGSCCR
TGS Counter
TGS Counter—Case 1
Value in TGSCRR
MRS
Value in TGSCCR
Value in TGSCRR
TGS Counter—Case 2
TGS Counter
MRS
TGS Counter
TGS Counter—Case 3
Value in TGSCRR
Value in TGSCCR
MRS
TGS Counter
Value in TGSCRR
Value in TGSCCR
TGS Counter—Case 4
0x7FFF
TGS Counter
is stopped
0x8000
Figure 13-7. TGS counter cases
13.5 Scheduler subunit (SU)
The structure of the SU is shown in Figure 13-8.
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 4 SU outputs:
1. ADC command or ADC stream of commands,
2. eTimer1 pulse,
3. eTimer2 pulse and
4. External trigger pulse)
can be linked to any of 8 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.
When a trigger is linked to the ADC, an associated ADC command (or stream of commands) is generated.
The ADC Commands List Control Register CLCRx sets the assignment to an ADC command or to a
Freescale Semiconductor
PXS20 Microcontroller Reference Manual, Rev. 1
13-7