
/* WARNING this file is automatically generated DO NOT EDIT IT! */
/*                                                              */
/* This file provides an interface between eTPU code and CPU    */
/* code. All references to the ACIMVC function should be made  */
/* with information in this file. This allows only symbolic     */
/* information to be referenced which allows the eTPU code to be*/
/* optimized without effecting the CPU code.                    */
/****************************************************************/
#ifndef _ETPU_ACIMVC_AUTO_H_
#define _ETPU_ACIMVC_AUTO_H_

/****************************************************************
* Function Configuration Information.
****************************************************************/
#define FS_ETPU_ACIMVC_FUNCTION_NUMBER           9 
#define FS_ETPU_ACIMVC_TABLE_SELECT             0 
#define FS_ETPU_ACIMVC_NUM_PARMS                0x00D8 

/****************************************************************
* Host Service Request Definitions.
****************************************************************/
#define FS_ETPU_ACIMVC_HSR_INIT_MASTER          7     
#define FS_ETPU_ACIMVC_HSR_INIT_SLAVE           5      
#define FS_ETPU_ACIMVC_HSR_UPDATE               1 

/****************************************************************
* ACIMVC eTPU Function Parameter Definitions.
****************************************************************/
#define FS_ETPU_ACIMVC_PERIOD_OFFSET          ( 0x0001 )
#define FS_ETPU_ACIMVC_STARTOFFSET_OFFSET     ( 0x0005 )
#define FS_ETPU_ACIMVC_SERVICESPERIRQ_OFFSET  ( 0x0009 )
#define FS_ETPU_ACIMVC_LINKCHAN_OFFSET        ( 0x0008 )
#define FS_ETPU_ACIMVC_IABC_OFFSET            ( 0x000D-1)
#define FS_ETPU_ACIMVC_IAB_OFFSET             ( 0x0019-1)
#define FS_ETPU_ACIMVC_IDQ_OFFSET             ( 0x0021-1)
#define FS_ETPU_ACIMVC_IDQDESIRED_OFFSET      ( 0x0029-1)
#define FS_ETPU_ACIMVC_UDQ_OFFSET             ( 0x0031-1)
#define FS_ETPU_ACIMVC_UAB_OFFSET             ( 0x0039-1)
#define FS_ETPU_ACIMVC_KLTKT_OFFSET           ( 0x0041 )
#define FS_ETPU_ACIMVC_KLRKT_OFFSET           ( 0x0045 )
#define FS_ETPU_ACIMVC_IKT_OFFSET             ( 0x0049 )
#define FS_ETPU_ACIMVC_TRKT_OFFSET            ( 0x004D )
#define FS_ETPU_ACIMVC_T_OFFSET               ( 0x0051 )
#define FS_ETPU_ACIMVC_PSIR_OFFSET            ( 0x0055-1)
#define FS_ETPU_ACIMVC_PSIRPRED_OFFSET        ( 0x005D-1)
#define FS_ETPU_ACIMVC_X_OFFSET               ( 0x0065-1)
#define FS_ETPU_ACIMVC_DX_OFFSET              ( 0x006D-1)
#define FS_ETPU_ACIMVC_DXPRED_OFFSET          ( 0x0075-1)
#define FS_ETPU_ACIMVC_IABCOMP_OFFSET         ( 0x007D-1)
#define FS_ETPU_ACIMVC_LMTR_OFFSET            ( 0x0085 )
#define FS_ETPU_ACIMVC_PSIRD_OFFSET           ( 0x0089 )
#define FS_ETPU_ACIMVC_PSIRDSCALED_OFFSET     ( 0x008D )
#define FS_ETPU_ACIMVC_PSIRDSCALE_OFFSET      ( 0x0091 )
#define FS_ETPU_ACIMVC_LMLRTR_OFFSET          ( 0x0095 )
#define FS_ETPU_ACIMVC_LMLR_OFFSET            ( 0x0099 )
#define FS_ETPU_ACIMVC_KL_OFFSET              ( 0x009D )
#define FS_ETPU_ACIMVC_SINCOS_OFFSET          ( 0x00A1-1)
#define FS_ETPU_ACIMVC_PSCOMEGAACTUAL_OFFSET  ( 0x00A9 )
#define FS_ETPU_ACIMVC_OMEGAACTUAL_OFFSET     ( 0x00AD )
#define FS_ETPU_ACIMVC_OMEGAFIELD_OFFSET      ( 0x00B1 )
#define FS_ETPU_ACIMVC_PPIDD_OFFSET           ( 0x00B5 )
#define FS_ETPU_ACIMVC_PPIDQ_OFFSET           ( 0x00B9 )
#define FS_ETPU_ACIMVC_INVMODINDEX_OFFSET     ( 0x00BD )
#define FS_ETPU_ACIMVC_MODINDEX_OFFSET        ( 0x00C1 )
#define FS_ETPU_ACIMVC_CIRCLELIMIT_OFFSET     ( 0x00C0 )
#define FS_ETPU_ACIMVC_UDCBUSACTUAL_OFFSET    ( 0x00C5 )
#define FS_ETPU_ACIMVC_POUTPUTS_OFFSET        ( 0x00C9 )

/****************************************************************
* Value Definitions.
****************************************************************/
#define FS_ETPU_ACIMVC_FM_CIRCLE_LIMITATION_OFF 0
#define FS_ETPU_ACIMVC_FM_CIRCLE_LIMITATION_ON  2
#define FS_ETPU_ACIMVC_PID_OFF                  0
#define FS_ETPU_ACIMVC_PID_ON                   1

#endif
