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

📄 tfr1.h

📁 基于56F8346的异步电机VVVF控制程序。
💻 H
📖 第 1 页 / 共 4 页
字号:
**     Description :
**         The function allocates the structure of type
**         tfr16_SineWaveGenPAM.
**     Parameters  :
**         NAME            - DESCRIPTION
**         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.
**         Amplitude       - A scaling factor of the
**                           generated sine wave.
**     Returns     :
**         ---             - The function returns a pointer to the
**                           tfr16_tSineWaveGenPAM structure, which
**                           is used by all other tfr16SineWaveGenPAM
**                           functions.
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenPAMDestroy(pSWG) tfr16SineWaveGenPAMDestroy(pSWG)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenPAMDestroy (bean DSP_Func_TFR)
**
**     Description :
**         The function frees the tfr16_tSineWaveGenPAM data
**         structures(s) previously allocated by
**         tfr16SineWaveGenPAMCreate.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenPAM type
**                           defined in tfr16.h header file. It
**                           points to private data for the PAM sine
**                           wave generation function.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenPAMInit(pSWG, SineFreq, SampleFreq, InitialPhasePIx, Amplitude) tfr16SineWaveGenPAMInit(pSWG, SineFreq, SampleFreq, InitialPhasePIx, Amplitude)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenPAMInit (bean DSP_Func_TFR)
**
**     Description :
**         The function initializes the tfr16_tSineWaveGenPAM data
**         structure used by all tfr16SineWaveGenPAM functions. The
**         tfr16_tSineWaveGenPAM data structure pointed to by pSWG
**         must have been allocated prior to calling
**         tfr16SineWaveGenPAMInit.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenPAM type
**                           defined in tfr16.h header file. It
**                           points to private data for the PAM sine
**                           wave generation function.
**         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.
**         Amplitude       - A scaling factor of the
**                           generated sine wave.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenDOM(pSWG, pValues, Nsamples) tfr16SineWaveGenDOM(pSWG, pValues, Nsamples)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenDOM (bean DSP_Func_TFR)
**
**     Description :
**         The function generates Nsamples and stores them in
**         pValues.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenDOM type
**                           defined in tfr16.h header file. It
**                           points to private data for the DOM 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_tfr16SineWaveGenDOMCreate(SineFreq, SampleFreq, InitialPhasePIx, Amplitude) tfr16SineWaveGenDOMCreate(SineFreq, SampleFreq, InitialPhasePIx, Amplitude)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenDOMCreate (bean DSP_Func_TFR)
**
**     Description :
**         The function allocates the structure of type
**         tfr16_tSineWaveGenPAM.
**     Parameters  :
**         NAME            - DESCRIPTION
**         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.
**         Amplitude       - A scaling factor of the
**                           generated sine wave.
**     Returns     :
**         ---             - The function returns a pointer to the
**                           tfr16_tSineWaveGenPAM structure, which
**                           is used by all other tfr16SineWaveGenDOM
**                           functions.
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenDOMDestroy(pSWG) tfr16SineWaveGenDOMDestroy(pSWG)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenDOMDestroy (bean DSP_Func_TFR)
**
**     Description :
**         The function frees the tfr16_tSineWaveGenPAM data
**         structures(s) previously allocated by
**         tfr16SineWaveGenPAMCreate.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenDOM type
**                           defined in tfr16.h header file. It
**                           points to private data for the DOM sine
**                           wave generation function.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16SineWaveGenDOMInit(pSWG, SineFreq, SampleFreq, InitialPhasePIx, Amplitude) tfr16SineWaveGenDOMInit(pSWG, SineFreq, SampleFreq, InitialPhasePIx, Amplitude)
/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenDOMInit (bean DSP_Func_TFR)
**
**     Description :
**         The function initializes the tfr16_tSineWaveGenPAM data
**         structure used by all tfr16SineWaveGenDOM functions. The
**         tfr16_tSineWaveGenPAM data structure pointed to by pSWG
**         must have been allocated prior to calling
**         tfr16SineWaveGenDOMInit.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenDOM type
**                           defined in tfr16.h header file. It
**                           points to private data for the DOM sine
**                           wave generation function.
**         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.
**         Amplitude       - A scaling factor of the
**                           generated sine wave.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16WaveGenRDITLQ(pSWG, PhaseIncrement) tfr16WaveGenRDITLQ(pSWG, PhaseIncrement)
/*
** ===================================================================
**     Method      :  TFR1_tfr16WaveGenRDITLQ (bean DSP_Func_TFR)
**
**     Description :
**         The function generates one sample and returns it.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_WaveGenRDITLQ type
**                           defined in tfr16.h header file. It
**                           points to private data for the RDITLQ
**                           wave generation function.
**         PhaseIncrement  - The value to
**                           increment/decrement the phase by -1
**                           period to 1 period.
**     Returns     :
**         ---             - The function returns one sample.
** ===================================================================
*/

#define TFR1_tfr16WaveGenRDITLQCreate(pSineTable, SineTableLength, InitialPhasePIx) tfr16WaveGenRDITLQCreate(pSineTable, SineTableLength, InitialPhasePIx)
/*
** ===================================================================
**     Method      :  TFR1_tfr16WaveGenRDITLQCreate (bean DSP_Func_TFR)
**
**     Description :
**         The function allocates the structure of type
**         tfr16_tWaveGenRDITLQ.
**     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.
**         InitialPhasePIx - The starting
**                           phase of the sine wave to be generated.
**     Returns     :
**         ---             - The function returns a pointer to the
**                           tfr16_tWaveGenRDITLQ structure, which is
**                           used by all other tfr16WaveGenRDITLQ
**                           functions.
** ===================================================================
*/

#define TFR1_tfr16WaveGenRDITLQDestroy(pSWG) tfr16WaveGenRDITLQDestroy(pSWG)
/*
** ===================================================================
**     Method      :  TFR1_tfr16WaveGenRDITLQDestroy (bean DSP_Func_TFR)
**
**     Description :
**         The function frees the tfr16_tWaveGenRDITLQ data
**         structures(s) previously allocated by
**         tfr16WaveGenRDITLQCreate.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_WaveGenRDITLQ type
**                           defined in tfr16.h header file. It
**                           points to private data for the RDITLQ
**                           wave generation function.
**     Returns     : Nothing
** ===================================================================
*/

#define TFR1_tfr16WaveGenRDITLQInit(pSWG, pSineTable, SineTableLength, InitialPhasePIx) tfr16WaveGenRDITLQInit(pSWG, pSineTable, SineTableLength, InitialPhasePIx)
/*
** ===================================================================
**     Method      :  TFR1_tfr16WaveGenRDITLQInit (bean DSP_Func_TFR)
**
**     Description :
**         The function initializes the tfr16_tWaveGenRDITLQ data
**         structure used by all tfr16WaveGenRDITLQ functions. The
**         tfr16_tWaveGenRDITLQ data structure pointed to by pSWG
**         must have been allocated prior to calling
**         tfr16WaveGenRDITLQInit.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_WaveGenRDITLQ type
**                           defined in tfr16.h header file. It
**                           points to private data for the RDITLQ
**                           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.
**         InitialPhasePIx - The starting
**                           phase of the sine wave to be generated.
**     Returns     : Nothing
** ===================================================================
*/

/* END TFR1. */

#endif /* ifndef __TFR1 */
/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 2.97 [03.74]
**     for the Freescale 56800 series of microcontrollers.
**
** ###################################################################
*/

⌨️ 快捷键说明

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