Freescale Semiconductor Inc.
Main Page | Data Structures | File List | Data Fields | Globals

etpu_fuel_auto.h

Go to the documentation of this file.
00001 
00002 /**************************************************************** 
00003 * WARNING: This file is automatically generated. DO NOT EDIT IT!
00004 *
00005 * COPYRIGHT (c) Freescale 2004-2014, All Rights Reserved
00006 *
00007 * FILE NAME: etpu_fuel.h
00008 * ARCHITECTURE: eTPU2
00009 *
00010 * This file was generated by: etpuc_fuel.c on Apr  9 2014 , 09:29:34
00011 *
00012 * This file provides an interface between eTPU code and CPU
00013 * code. All references to the eTPU function should be made with
00014 * information in this file. This allows only symbolic
00015 * information to be referenced which allows the eTPU code to be
00016 * optimized without effecting the CPU code.
00017 *****************************************************************/
00018 #ifndef _ETPU_FUEL_AUTO_H_
00019 #define _ETPU_FUEL_AUTO_H_
00020 
00021 /* Function Configuration Information */
00022 #define FS_ETPU_FUEL_FUNCTION_NUMBER 3
00023 #define FS_ETPU_FUEL_TABLE_SELECT 1
00024 #define FS_ETPU_FUEL_NUM_PARMS 0x40
00025 
00026 
00027 /* Host Service Request Definitions */
00028 #define FS_ETPU_FUEL_HSR_INIT 7
00029 #define FS_ETPU_FUEL_HSR_STOP 5
00030 #define FS_ETPU_FUEL_HSR_UPDATE 3
00031 
00032 /* Function Mode Bit Definitions */
00033 #define FS_ETPU_FUEL_FM0_ACTIVE_LOW 0
00034 #define FS_ETPU_FUEL_FM0_ACTIVE_HIGH 1
00035 
00036 /* Parameter Definitions */
00037 #define FS_ETPU_FUEL_OFFSET_ERROR  0x4
00038 #define FS_ETPU_FUEL_OFFSET_TDC_ANGLE  0x1
00039 #define FS_ETPU_FUEL_OFFSET_TDC_ANGLE_ACTUAL  0x5
00040 #define FS_ETPU_FUEL_OFFSET_ANGLE_NORMAL_END  0x9
00041 #define FS_ETPU_FUEL_OFFSET_ANGLE_STOP  0xd
00042 #define FS_ETPU_FUEL_OFFSET_ANGLE_OFFSET_RECALC  0x11
00043 #define FS_ETPU_FUEL_OFFSET_INJECTION_TIME  0x15
00044 #define FS_ETPU_FUEL_OFFSET_COMPENSATION_TIME  0x19
00045 #define FS_ETPU_FUEL_OFFSET_INJECTION_TIME_MINIMUM  0x1d
00046 #define FS_ETPU_FUEL_OFFSET_OFF_TIME_MINIMUM  0x21
00047 #define FS_ETPU_FUEL_OFFSET_INJECTION_TIME_APPLIED  0x25
00048 #define FS_ETPU_FUEL_OFFSET_INJECTION_TIME_APPLIED_CPU 0x29
00049 #define FS_ETPU_FUEL_OFFSET_INJECTION_START_ANGLE  0x2d
00050 #define FS_ETPU_FUEL_OFFSET_INJECTION_START_ANGLE_CPU  0x31
00051 #define FS_ETPU_FUEL_OFFSET_PULSE_START_TIME  0x35
00052 #define FS_ETPU_FUEL_OFFSET_PULSE_END_TIME  0x39
00053 #define FS_ETPU_FUEL_OFFSET_GENERATION_DISABLE  0x0
00054 
00055 /* Error Flags Definitions */
00056 #define FS_ETPU_FUEL_ERROR_STOP_ANGLE_APPLIED 0x01
00057 #define FS_ETPU_FUEL_ERROR_MINIMUM_INJ_TIME_APPLIED 0x02
00058 
00059 /* Generation Disable Definitions */
00060 #define FS_ETPU_FUEL_GENERATION_ALLOWED 0
00061 #define FS_ETPU_FUEL_GENERATION_DISABLED 1
00062 
00063 #endif