參數(shù)資料
型號(hào): AN2933
英文描述: Understanding the eTPU Channel Hardware
中文描述: 理解硬件頻道的eTPU
文件頁(yè)數(shù): 9/40頁(yè)
文件大?。?/td> 741K
代理商: AN2933
Architecture of the eTPU Channel
Understanding the eTPU Channel Hardware, Rev. 0
Freescale Semiconductor
9
2.3.2
Input Pin Action
The channel hardware can be set up to detect transitions on the input pin according to the Input Pin Action
Control (IPAC). In general, a pin transition that satisfies the IPAC for an action unit will result in the
capture of one of the TCR values in the corresponding capture register. See
Section 3, “Channel Modes
for details on specific channel modes. Input actions that are detected by the action unit logic are determined
by software writes to a channel register as defined in
Table 4
The last two selections are useful when a pin state must be sampled at a specific time or angle that can be
setup in the match register. When the MLR conditions are satisfied, the
TransitionALatch
(
TDLA
) or
TransitionBLatch
(
TDLB
) will be set if the input pin is at the selected state.
The software may sense the current pin levels--input or output--at any time. The variables
CurrentOutputPin
and
CurrentInputPin
can be tested at any time. The conditions
IsCurrentInputPinHigh()
and
IsCurrentOutputPinHigh()
can be used for conditional branching.
In the TPU, the pin state was sampled at the time slot transition to a new thread or whenever the CHAN
register was written by microcode. This latched state, PSS, could be tested at any time in the thread, and
was unchanged even if the current pin state changed.
In the eTPU, the current state of either the input pin or the output pin can be tested at any time by the
software using
IsCurrentInputPinHigh()
or
IsCurrentOutputPinHigh()
. In addition, the pin state sampled
at the TST is made available to the software to maintain compatibility with the TPU. Since, in the eTPU,
there is a possibility that the input pin state is different from the output pin state, the selection of which pin
is sampled is determined by the host for each channel using the ETPUCxCR bit ETPD. The default
selection is the input pin state. The eTPU software can use the macro
IsSampledInputPinHigh()
as a branch
condition at anytime. Remember that the pin will be sampled whenever the CHAN register is written, so
an assignment
CHAN = CHAN
will re-sample the pin state.
Table 4. IPACA and IPACB Pin Sensing
IPACA/IPACB
Macro
Action
no_detect
DetectADisable()
DetectBDisable()
Do not detect transitions
low_high
DetectARisingEdge()
DetectBRisingEdge()
Detect a pin rising transition
with this action unit
high_low
DetectAFallingEdge()
DetectBFallingEdge()
Detect a pin falling transition
with this action unit
any_trans
DetectAAnyEdge()
DetectBAnyEdge()
Detect any pin transition with
this action unit
detect_input_0_on_match
DetectALowOnMatchA()
DetectBLowOnMatchB()
Detect if the pin is low when
this action unit matches
detect_input_1_on_match
DetectAHighOnMatchA()
DetectBHighOnMatchB())
Detect if the pin is high when
this action unit matches
相關(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