
/* 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 ACIMVHZ 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_ACIMVHZ_AUTO_H_
#define _ETPU_ACIMVHZ_AUTO_H_

/****************************************************************
* Function Configuration Information.
****************************************************************/
#define FS_ETPU_ACIMVHZ_FUNCTION_NUMBER           7 
#define FS_ETPU_ACIMVHZ_TABLE_SELECT             0 
#define FS_ETPU_ACIMVHZ_NUM_PARMS                0x0058 

/****************************************************************
* Host Service Request Definitions.
****************************************************************/
#define FS_ETPU_ACIMVHZ_HSR_INIT_MASTER_OFF      7 
#define FS_ETPU_ACIMVHZ_HSR_INIT_MASTER_ON       6  
#define FS_ETPU_ACIMVHZ_HSR_INIT_SLAVE_OFF       5  
#define FS_ETPU_ACIMVHZ_HSR_INIT_SLAVE_ON        4   
#define FS_ETPU_ACIMVHZ_HSR_UPDATE               1 

/****************************************************************
* ACIMVHZ eTPU Function Parameter Definitions.
****************************************************************/
#define FS_ETPU_ACIMVHZ_PERIOD_OFFSET            0x0001
#define FS_ETPU_ACIMVHZ_STARTOFFSET_OFFSET       0x0005
#define FS_ETPU_ACIMVHZ_SERVICESPERIRQ_OFFSET    0x0009
#define FS_ETPU_ACIMVHZ_LINKCHAN_OFFSET          0x0000
#define FS_ETPU_ACIMVHZ_OMEGADESIRED_OFFSET      0x000D
#define FS_ETPU_ACIMVHZ_OMEGADESIREDRAMP_OFFSET  0x0011
#define FS_ETPU_ACIMVHZ_RAMPINCRUP_OFFSET        0x0015
#define FS_ETPU_ACIMVHZ_RAMPINCRDOWN_OFFSET      0x0019
#define FS_ETPU_ACIMVHZ_PERIODSCALE_OFFSET       0x001D
#define FS_ETPU_ACIMVHZ_THETA_OFFSET             0x0021
#define FS_ETPU_ACIMVHZ_VOLTAGE_OFFSET           0x0025
#define FS_ETPU_ACIMVHZ_VBOOST_OFFSET            0x0029
#define FS_ETPU_ACIMVHZ_VHZSLOPE_OFFSET          0x002D
#define FS_ETPU_ACIMVHZ_UDCBUSACTUAL_OFFSET      0x0031
#define FS_ETPU_ACIMVHZ_SINCOS_OFFSET            0x0034
#define FS_ETPU_ACIMVHZ_POUTPUTS_OFFSET          0x003C
#define FS_ETPU_ACIMVHZ_INVMODINDEX_OFFSET       0x004D

/****************************************************************
* Value Definitions.
****************************************************************/
#define FS_ETPU_ACIMVHZ_FM_ANGLE_AMPL    0
#define FS_ETPU_ACIMVHZ_FM_ALPHA_BETA    1

#endif
