參數(shù)資料
型號: AN2933
英文描述: Understanding the eTPU Channel Hardware
中文描述: 理解硬件頻道的eTPU
文件頁數(shù): 21/40頁
文件大小: 741K
代理商: AN2933
Channel Modes
Understanding the eTPU Channel Hardware, Rev. 0
Freescale Semiconductor
21
3.5
Either Match, Non-Blocking, Single Transition
In
EitherMatchNonBlockingSingleTransition()
(em_nb_st), the channel behavior is identical to bm_st,
except that the first match requests service also. This mode might be used as an output to change the pin
and/or request service on the first occurring of a time or angle. For example, if an ignition coil was
energized, the application might want to fire a spark at a given angle, but might also have setup a safety
“maximum dwell” to fire the spark if the dwell time exceeds a maximum time. This would prevent the coil
driver staying on if the engine suddenly stalled.
As an input mode, em_nb_st could be used to check either of two timeouts on an input transition. This
would have a particular application when two different asynchronous TCRs were used; for example, time
and angle. Use this mode rather than
bm_st
if it is possible that the transition and one match does not occur
at all. Note that the second match will also set its MRL and request service as long as it occurs before the
transition.
Another use for this mode would be to create an unrelated match event, such as a periodic interrupt timer,
sharing a channel with another function. If the channel function is a simple timed output, the second match
can be setup with the OPAC set to NoChange. Either match will start a service thread, and the software
may handle the combinations as required. Note that if one of the matches is being serviced when the other
occurs, as long as the service routine only clears the match that instantiated the service, the other will
request service from the scheduler as soon as the first thread is complete.
If this mode is used as an input with an unrelated time-out match, it is possible that the input transition
blocks the unrelated match. In that case, as long as the transition service routine does not alter the match
and the match is set for greater-or-equal comparison, the match will recur after the TDL is cleared and the
transition thread is exited.
As with other _st modes, a second transition can be detected by this mode if the IPACB is set. However
the second transition will not request service. This could be useful for an application to detect a fast noise
pulse which could set a rising and falling TDL in short order. If the second transition is detected, the TCR
in Action Unit B will be captured at the time of the second transition.
3.6
Either Match, Non-Blocking, Double Transition
In the EitherMatchNonBlockingDoubleTransition() (em_nb_dt) mode, the first transition does not request
service, but each transition blocks its respective match. In an input function, this mode would provide
independent timeouts for both edges of an input pulse. Since the first transition must always precede the
second transition, the matches are presumably similarly ordered in the setup.
The difference between this mode and the bm_dt mode is that this one can be used to establish two
late
timeouts, one for each edge, while the other has an
early
and a
late
time-out for one of the edges. See
Figure 4
. The thread decoding is shown in
Table 6
. Note that in some cases, a TDL may be set after the
thread requests service but before the TST occurs.
Note that if the IPACs are both set for the same edge, this mode could be used to provide timeouts for two
consecutive pulses, whose edges are as close as one TCR time.
相關(guān)PDF資料
PDF描述
AN30210A Analog IC
AN304 Single Differential Amplifier
AN305 Optoelectronic
AN3100 General Purpose Amplifier Biasing
AN3129S Analog IC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN294 制造商:SILABS 制造商全稱:SILABS 功能描述:Si825X FREQUENCY COMPENSATION SIMULATOR FOR DIGITAL BUCK CONVERTERS
AN295 制造商:Panasonic Industrial Company 功能描述:IC
AN296 制造商:SILABS 制造商全稱:SILABS 功能描述:USING THE Si3400 AND Si3401 POE PD CONTROLLERS IN ISOLATED AND NON-ISOLATED DESIGNS
AN2-B0-11-615-533-C 制造商:Carling Technologies 功能描述:A-SERIES CIRCUIT BREAKER - Bulk
AN2-B0-22-624-543-C 制造商:Carling Technologies 功能描述:A-SERIES CIRCUIT BREAKER - Bulk