![]() |
The eTPU CRANK_EMUL APIs etpu_crank_emul.c/.h includes API functions for eTPU function Crank Emulator. The CRANK_EMUL eTPU function uses eTPU channel 0 (on eTPU2 optionally channel 1 or 2) to generate internal TCR2 angle-base without processing any input crank signal. For testing porpuses in conditions when the crank signal is not available the CRANK_EMUL eTPU function can be used to replace the CRANK function. Crank Emulator drives the internal angle-base at a given speed and consequently enables the injection, ignition and other output functions to generate outputs.
The API function prototypes and data structures are similar to the CRANK API, so that the CRANK API can be easily replaced by CRANK_EMUL API in an application just by replacing the header file inclusion.
Generated by ![]() |
© Freescale Semiconductor Inc. 2004 - 2012. All Rights Reserved. |