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

📄 tfr1.c

📁 基于56F8346的异步电机VVVF控制程序。
💻 C
📖 第 1 页 / 共 4 页
字号:
**         ---             - The function returns a pointer to the
**                           tfr16_tSineWaveGenPAM structure, which
**                           is used by all other tfr16SineWaveGenPAM
**                           functions.
** ===================================================================
*/
/*
tfr16_tSineWaveGenPAM * tfr16SineWaveGenPAMCreate(Int16 SineFreq,Int16 SampleFreq,Frac16 InitialPhasePIx,Frac16 Amplitude)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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
** ===================================================================
*/
/*
void tfr16SineWaveGenPAMDestroy(tfr16_tSineWaveGenPAM *pSWG)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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
** ===================================================================
*/
/*
void tfr16SineWaveGenPAMInit(tfr16_tSineWaveGenPAM *pSWG,Int16 SineFreq,Int16 SampleFreq,Frac16 InitialPhasePIx,Frac16 Amplitude)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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
** ===================================================================
*/
/*void tfr16SineWaveGenDOM(tfr16_tSineWaveGenDOM *pSWG,Frac16 *pValues,UInt16 Nsamples)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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.
** ===================================================================
*/
/*
tfr16_tSineWaveGenDOM * tfr16SineWaveGenDOMCreate(Int16 SineFreq,Int16 SampleFreq,Frac16 InitialPhasePIx,Frac16 Amplitude)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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
** ===================================================================
*/
/*
void tfr16SineWaveGenDOMDestroy(tfr16_tSineWaveGenDOM *pSWG)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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
** ===================================================================
*/
/*
void tfr16SineWaveGenDOMInit(tfr16_tSineWaveGenDOM *pSWG,Int16 SineFreq,Int16 SampleFreq,Frac16 InitialPhasePIx,Frac16 Amplitude)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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.
** ===================================================================
*/
/*
Frac16 tfr16WaveGenRDITLQ(tfr16_tWaveGenRDITLQ *pSWG,Frac16 PhaseIncrement)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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.
** ===================================================================
*/
/*
tfr16_tWaveGenRDITLQ * tfr16WaveGenRDITLQCreate(Frac16 *pSineTable,UInt16 SineTableLength,Frac16 InitialPhasePIx)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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
** ===================================================================
*/
/*
void tfr16WaveGenRDITLQDestroy(tfr16_tWaveGenRDITLQ *pSWG)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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
** ===================================================================
*/
/*
void tfr16WaveGenRDITLQInit(tfr16_tWaveGenRDITLQ *pSWG,Frac16 *pSineTable,UInt16 SineTableLength,Frac16 InitialPhasePIx)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  L_deposit_h (bean DSP_Func_TFR)
**
**     Description :
**         The L_deposit_h function places a 16-bit fractional value into 
**         the most significant 16-bits of the 32-bit fractional output 
**         value and zeroes the least significant 16 bits.
**         This method is internal. It is used by Processor Expert only.
** ===================================================================
*/
/* END 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 + -