
Channel Modes
Understanding the eTPU Channel Hardware, Rev. 0
Freescale Semiconductor
27
3.11 Ordered Matches, Single Transition
In the
Match2OrderedSingleBlockingTransition()
(m2_o_st) mode, Match A must occur before any other
channel event. It does not generate a service request, but the MRLA flag will be set. Thereafter, either
Match B or Transition A may occur and will request service, but if Transition A occurs first, it blocks a
subsequent Match B. Transition B may follow Transition A, and will set TDLB but will not request
service.
This and the following mode are the only ones where the matches are ordered, and they can be useful to
check elapsed time against elapsed angle in a rotating machine. In addition, if the match registers are set
to the same time, and greater-or-equal matches are selected, the channel can produce a pulse exactly one
microcycle wide.
In an input function, the matches provide an absolute acceptance window for an input transition. If TDLA
is set, the transition occurred after Match A and before Match B.
3.12 Ordered Matches, Double Transition
In the
Match2OrderedDoubleTransition()
(m2_o_dt) mode, Match A must occur before any other channel
action is enabled. Thereafter a pulse (double transition) may be detected, and the second transition (B) will
request service. If the Match B occurs before the second transition, it will block subsequent transitions and
issue a service request.
The ordered matches differ from the
Match2DoubleTransition()
mode in that the TDLs will not be set after
the Match B. This takes some ambiguity out of selecting the service thread, as shown in
Table 8
.
3.13 Single Match, Single Transition, Enhanced
In
SingleMatchSingleTransitionEnhanced()
(sm_st_e) mode, the Capture B register continually captures
the time of the IPACA transitions on the input of the channel digital filter. When the filter conditions are
satisfied and the signal passes through the filter, the TDLA is set and Capture A records the time of the
Table 8. Ordered Matches, Double Transition (See
Figure 6
)
Pulse
1
Service Request Vectors
SR Time
MRLA
MRLB
TDLA
TDLB
A
MatchA_TransB && MatchB_TransA
MatchB
set
set
clear
clear
B
MatchA_TransB && MatchB_TransA
MatchB
set
set
clear
clear
C
MatchA_TransB && MatchB_TransA
TransB
set
clear
set
set
D
MatchA_TransB && MatchB_TransA
MatchB
set
set
set
clear
E
MatchA_TransB && MatchB_TransA
MatchB
set
set
clear
clear
NOTES:
1
A and B cannot be distinguished.