
/* 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 PMSMVC 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_PMSMVC_AUTO_H_
#define _ETPU_PMSMVC_AUTO_H_

/****************************************************************
* Function Configuration Information.
****************************************************************/
#define FS_ETPU_PMSMVC_FUNCTION_NUMBER           8 
#define FS_ETPU_PMSMVC_TABLE_SELECT             0 
#define FS_ETPU_PMSMVC_NUM_PARMS                0x00A0 

/****************************************************************
* Host Service Request Definitions.
****************************************************************/
#define FS_ETPU_PMSMVC_HSR_INIT_MASTER          7     
#define FS_ETPU_PMSMVC_HSR_INIT_SLAVE           5      
#define FS_ETPU_PMSMVC_HSR_UPDATE               1 

/****************************************************************
* PMSMVC eTPU Function Parameter Definitions.
****************************************************************/
#define FS_ETPU_PMSMVC_PERIOD_OFFSET           0x0001
#define FS_ETPU_PMSMVC_STARTOFFSET_OFFSET      0x0005
#define FS_ETPU_PMSMVC_SERVICESPERIRQ_OFFSET   0x0009
#define FS_ETPU_PMSMVC_LINKCHAN_OFFSET         0x0000
#define FS_ETPU_PMSMVC_KLD_OFFSET              0x000D
#define FS_ETPU_PMSMVC_KLQ_OFFSET              0x0011
#define FS_ETPU_PMSMVC_KE_OFFSET               0x0015
#define FS_ETPU_PMSMVC_INVMODINDEX_OFFSET      0x0019
#define FS_ETPU_PMSMVC_MODINDEX_OFFSET         0x001D
#define FS_ETPU_PMSMVC_CIRCLELIMIT_OFFSET      0x0004
#define FS_ETPU_PMSMVC_IABC_OFFSET             0x0020
#define FS_ETPU_PMSMVC_IAB_OFFSET              0x002C
#define FS_ETPU_PMSMVC_IDQ_OFFSET              0x0034
#define FS_ETPU_PMSMVC_IDQDESIRED_OFFSET       0x003C
#define FS_ETPU_PMSMVC_UDQ_OFFSET              0x0044
#define FS_ETPU_PMSMVC_UDQCLIM_OFFSET          0x004C
#define FS_ETPU_PMSMVC_UAB_OFFSET              0x0054
#define FS_ETPU_PMSMVC_POUTPUTS_OFFSET         0x005C
#define FS_ETPU_PMSMVC_PQDPCRSLVANGLE_OFFSET   0x006D
#define FS_ETPU_PMSMVC_SCALE_OFFSET            0x0071
#define FS_ETPU_PMSMVC_THETA_OFFSET            0x0075
#define FS_ETPU_PMSMVC_SINCOS_OFFSET           0x0078
#define FS_ETPU_PMSMVC_PSCOMEGAACTUAL_OFFSET   0x0081
#define FS_ETPU_PMSMVC_PPIDD_OFFSET            0x0085
#define FS_ETPU_PMSMVC_PPIDQ_OFFSET            0x0089
#define FS_ETPU_PMSMVC_UDCBUSACTUAL_OFFSET     0x008D
#define FS_ETPU_PMSMVC_OPTIONDELAYCOMP_OFFSET  0x0008
#define FS_ETPU_PMSMVC_COMPENSATIONDELAY_OFFSET  0x0091

/****************************************************************
* Value Definitions.
****************************************************************/
#define FS_ETPU_PMSMVC_PID_OFF                  0
#define FS_ETPU_PMSMVC_PID_ON                   1
#define FS_ETPU_PMSMVC_FM_CIRCLE_LIMITATION_OFF 0
#define FS_ETPU_PMSMVC_FM_CIRCLE_LIMITATION_ON  2
#define FS_ETPU_PMSMVC_OPTION_DELAY_COMP_OFF    0 
#define FS_ETPU_PMSMVC_OPTION_DELAY_COMP_ON     1 

#endif
