參數資料
型號: AN2933
英文描述: Understanding the eTPU Channel Hardware
中文描述: 理解硬件頻道的eTPU
文件頁數: 12/40頁
文件大?。?/td> 741K
代理商: AN2933
Understanding the eTPU Channel Hardware, Rev. 0
Architecture of the eTPU Channel
Freescale Semiconductor
12
}
// end: If the Tooth edge is detected.
else // stall--here the transition latch is not set
{
DisableMatch();
CrankStatus = Stall;
SetChannelInterrupt();//Inform the host that the crank status is updated
ClearAllLatches();
}
}
...
In the example either a Stall time-out or a Tooth transition or both will cause the thread to be entered. Since
the logic first checks the tooth, that branch will be taken when both conditions exist. In that branch, the
stall condition is cleared and the stall condition is reset to a later time.
If the stall match only is set, the second branch is taken. The software is now no longer interested in a
transition that came too late, and clears all latches before reverting to the stall state.
NOTE
In some channel modes, certain match recognition latches or transition
detect latches may be asserted but not request service. However, the latch
conditions are nevertheless used to determine the selected vector
2.5.2
Coding the Service Request Handling
Because the Scheduler does not order the service requests for a channel, it is important for the coder to
understand the way the vectors are assigned to avoid writing code that handles the requests out of order.
Example 4.
/* The following might be used with a Periodic Angle Clock (See Application Note #xxxx)
to produce a short pulse at one angle and a channel interrupt to the host at another
angle. */
/* ... In the setup routine... */
SetupMatchB(Pulse_Start_Angle); //start a pulse at a specified angle
OnMatchBPinHigh();
SetupMatchA(Pulse_Start_Angle + Pulse_Width); //this sets the end of the pulse
OnMatchAPinLow();
Next_Match = Interrupt;
/* ... more... */
if (MatchA_TransB && Flag0)
{
if (Next_Match == Interrupt)
相關PDF資料
PDF描述
AN30210A Analog IC
AN304 Single Differential Amplifier
AN305 Optoelectronic
AN3100 General Purpose Amplifier Biasing
AN3129S Analog IC
相關代理商/技術參數
參數描述
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