⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tfr1.h

📁 基于56F8346的异步电机VVVF控制程序。
💻 H
📖 第 1 页 / 共 4 页
字号:
**                           function.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16CosPIxLUTInit(pSWG, pSineTable, SineTableLength) tfr16CosPIxLUTInit(pSWG, pSineTable, SineTableLength)
/*
** ===================================================================
**     Method      :  TFR1_tfr16CosPIxLUTInit (bean DSP_Func_TFR)
**
**     Description :
**         The function initializes the tfr16_tCosPIxLUT data
**         structure used by all tfr16CosPIxLUT functions. The
**         tfr16_tCosPIxLUT data structure pointed to by pSWG must
**         have been allocated prior to calling tfr16CosPIxLUTInit.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_tCosPIxLUT type
**                           defined in tfr16.h header file. It
**                           points to private data for the CosPIxLUT
**                           function.
**       * pSineTable      - Pointer to a sine look-up
**                           table which is allocated and filled by
**                           the application.
**         SineTableLength - Pointer to a
**                           sine look-up table which is allocated
**                           and filled by the application.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16AsinOverPI(x) tfr16AsinOverPI(x)
/*
** ===================================================================
**     Method      :  TFR1_tfr16AsinOverPI (bean DSP_Func_TFR)
**
**     Description :
**         The function calculates the Arcsin function of the
**         fractional input value x, and divides that result by pi;
**         i.e., (Arcsin x) / pi.
**     Parameters  :
**         NAME            - DESCRIPTION
**         x               - The input data value.
**     Returns     :
**         ---             - The function returns result of the
**                           (Arcsin x) / pi calculation. This result
**                           represents the angle in radians whose
**                           sine is x, divided by pi.
** ===================================================================
*/

#define TFR1_tfr16AcosOverPI(x) tfr16AcosOverPI(x)
/*
** ===================================================================
**     Method      :  TFR1_tfr16AcosOverPI (bean DSP_Func_TFR)
**
**     Description :
**         The function calculates the Arccos function of the
**         fractional input value x, and divides that result by pi;
**         i.e., (Arccos x) / pi.
**     Parameters  :
**         NAME            - DESCRIPTION
**         x               - The input data value.
**     Returns     :
**         ---             - The function returns result of the
**                           (Arccos x) / pi calculation. This result
**                           represents the angle in radians whose
**                           cosine is x, divided by pi.
** ===================================================================
*/

#define TFR1_tfr16AtanOverPI(x) tfr16AtanOverPI(x)
/*
** ===================================================================
**     Method      :  TFR1_tfr16AtanOverPI (bean DSP_Func_TFR)
**
**     Description :
**         The function calculates the Arctan function of the
**         fractional input value x, and divides that result by pi;
**         i.e., (Arctan x) / pi.
**     Parameters  :
**         NAME            - DESCRIPTION
**         x               - The input data value.
**     Returns     :
**         ---             - The function returns the result of the
**                           (Arctan x) / pi calculation. This result
**                           represents the angle in radians whose
**                           tangent is x, divided by pi.
** ===================================================================
*/

#define TFR1_tfr16Atan2OverPI(x, y) tfr16Atan2OverPI(x, y)
/*
** ===================================================================
**     Method      :  TFR1_tfr16Atan2OverPI (bean DSP_Func_TFR)
**
**     Description :
**         The function calculates the Arctan (y / x), and divides
**         that result by pi; i.e., (Arctan (y / x)) / pi
**     Parameters  :
**         NAME            - DESCRIPTION
**         y               - The first input data value.
**         x               - The second input data value.
**     Returns     :
**         ---             - The function returns result of the
**                           (Arctan (y / x)) / pi calculation.
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenIDTL(pSWG, pValues, Nsamples) tfr16SineWaveGenIDTL(pSWG, pValues, Nsamples)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenIDTL (bean DSP_Func_TFR)
**
**     Description :
**         The function generates Nsamples and stores them in
**         pValues.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenIDTL type
**                           defined in tfr16.h header file. It
**                           points to private data for the IDTL sine
**                           wave generation function.
**       * pValues         - A pointer to memory allocated
**                           by the application to store sine samples.
**         Nsamples        - The number of sine samples to
**                           generate.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenIDTLCreate(pSineTable, SineTableLength, SineFreq, SampleFreq, InitialPhasePIx) tfr16SineWaveGenIDTLCreate(pSineTable, SineTableLength, SineFreq, SampleFreq, InitialPhasePIx)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenIDTLCreate (bean DSP_Func_TFR)
**
**     Description :
**         The function allocates the structure of type
**         tfr16_tSineWaveGenIDTL.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSineTable      - Pointer to a sine look-up
**                           table which is allocated and filled by
**                           the application.
**         SineTableLength - The length of
**                           the sine look-up table.
**         SineFreq        - The frequency of the sine
**                           wave to be generated.
**         SampleFreq      - The frequency to sample
**                           the sine wave.
**         InitialPhasePIx - The starting
**                           phase of the sine wave to be generated.
**     Returns     :
**         ---             - The function returns a pointer to the
**                           tfr16_tSineWaveGenIDTL structure, which
**                           is used by all other
**                           tfr16SineWaveGenIDTL functions.
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenIDTLDestroy(pSWG) tfr16SineWaveGenIDTLDestroy(pSWG)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenIDTLDestroy (bean DSP_Func_TFR)
**
**     Description :
**         The function frees the tfr16_tSineWaveGenIDTL data
**         structures(s) previously allocated by
**         tfr16SineWaveGenIDTLCreate.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenIDTL type
**                           defined in tfr16.h header file. It
**                           points to private data for the IDTL sine
**                           wave generation function.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenIDTLInit(pSWG, pSineTable, SineTableLength, SineFreq, SampleFreq, InitialPhasePIx) tfr16SineWaveGenIDTLInit(pSWG, pSineTable, SineTableLength, SineFreq, SampleFreq, InitialPhasePIx)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenIDTLInit (bean DSP_Func_TFR)
**
**     Description :
**         The function initializes the tfr16_tSineWaveGenIDTL data
**         structure used by all tfr16SineWaveGenIDTL functions. The
**         tfr16_tSineWaveGenIDTL data structure pointed to by pSWG
**         must have been allocated prior to calling
**         tfr16SineWaveGenIDTLInit.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenIDTL type
**                           defined in tfr16.h header file. It
**                           points to private data for the IDTL sine
**                           wave generation function.
**       * pSineTable      - Pointer to a sine look-up
**                           table which is allocated and filled by
**                           the application.
**         SineTableLength - The length of
**                           the sine look-up table.
**         SineFreq        - The frequency of the sine
**                           wave to be generated.
**         SampleFreq      - The frequency to sample
**                           the sine wave.
**         InitialPhasePIx - The starting
**                           phase of the sine wave to be generated.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenRDTL(pSWG, pValues, Nsamples) tfr16SineWaveGenRDTL(pSWG, pValues, Nsamples)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDTL (bean DSP_Func_TFR)
**
**     Description :
**         The function generates Nsamples and stores them in
**         pValues.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenRDTL type
**                           defined in tfr16.h header file. It
**                           points to private data for the RDTL sine
**                           wave generation function.
**       * pValues         - A pointer to memory allocated
**                           by the application to store sine samples.
**         Nsamples        - The number of sine samples to
**                           generate.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenRDTLCreate(pSineTable, SineTableLength, SineFreq, SampleFreq, InitialPhasePIx) tfr16SineWaveGenRDTLCreate(pSineTable, SineTableLength, SineFreq, SampleFreq, InitialPhasePIx)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDTLCreate (bean DSP_Func_TFR)
**
**     Description :
**         The function allocates the structure of type
**         tfr16_tSineWaveGenRDTL.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSineTable      - Pointer to a sine look-up
**                           table which is allocated and filled by
**                           the application.
**         SineTableLength - The length of
**                           the sine look-up table.
**         SineFreq        - The frequency of the sine
**                           wave to be gen-erated.
**         SampleFreq      - The frequency to sample
**                           the sine wave.
**         InitialPhasePIx - The starting
**                           phase of the sine wave to be generated.
**     Returns     :
**         ---             - The function returns a pointer to the
**                           tfr16_tSineWaveGenRDTL structure, which
**                           is used by all other
**                           tfr16SineWaveGenRDTL functions.
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenRDTLDestroy(pSWG) tfr16SineWaveGenRDTLDestroy(pSWG)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDTLDestroy (bean DSP_Func_TFR)
**
**     Description :
**         The function frees the tfr16_tSineWaveGenRDTL data
**         structures(s) previously allocated by
**         tfr16SineWaveGenRDTLCreate.
**     Parameters  :

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -