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

📄 tfr1.c

📁 基于56F8346的异步电机VVVF控制程序。
💻 C
📖 第 1 页 / 共 4 页
字号:
**         The function initializes the tfr16_tSineWaveGenRDTL data
**         structure used by all tfr16SineWaveGenRDTL functions. The
**         tfr16_tSineWaveGenRDTL data structure pointed to by pSWG
**         must have been allocated prior to calling
**         tfr16SineWaveGenRDTLInit.
**     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.
**       * 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     : Nothing
** ===================================================================
*/
/*
void tfr16SineWaveGenRDTLInit(tfr16_tSineWaveGenRDTL *pSWG,Frac16 *pSineTable,UInt16 SineTableLength,Int16 SineFreq,Int16 SampleFreq,Frac16 InitialPhasePIx)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDITL (bean DSP_Func_TFR)
**
**     Description :
**         The function generates Nsamples and stores them in
**         pValues.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenRDITL
**                           type defined in tfr16.h header file. It
**                           points to private data for the RDITL
**                           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 tfr16SineWaveGenRDITL(tfr16_tSineWaveGenRDITL *pSWG,Frac16 *pValues,UInt16 Nsamples)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDITLCreate (bean DSP_Func_TFR)
**
**     Description :
**         The function allocates the structure of type
**         tfr16_tSineWaveGenRDITL.
**     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_tSineWaveGenRDITL structure, which
**                           is used by all other
**                           tfr16SineWaveGenRDITL functions.
** ===================================================================
*/
/*
tfr16_tSineWaveGenRDITL * tfr16SineWaveGenRDITLCreate(Frac16 *pSineTable,UInt16 SineTableLength,Int16 SineFreq,Int16 SampleFreq,Frac16 InitialPhasePIx)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDITLDestroy (bean DSP_Func_TFR)
**
**     Description :
**         The function frees the tfr16_tSineWaveGenRDITL data
**         structures(s) previously allocated by
**         tfr16SineWaveGenRDITLCreate.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenRDITL
**                           type defined in tfr16.h header file. It
**                           points to private data for the RDITL
**                           sine wave generation function.
**     Returns     : Nothing
** ===================================================================
*/
/*
void tfr16SineWaveGenRDITLDestroy(tfr16_tSineWaveGenRDITL *pSWG)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDITLInit (bean DSP_Func_TFR)
**
**     Description :
**         The function initializes the tfr16_tSineWaveGenRDITL data
**         structure used by all tfr16SineWaveGenRDITL functions.
**         The tfr16_tSineWaveGenRDITL data structure pointed to by
**         pSWG must have been allocated prior to calling
**         tfr16SineWaveGenRDITLInit.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenRDITL
**                           type defined in tfr16.h header file. It
**                           points to private data for the RDITL
**                           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
** ===================================================================
*/
/*
void tfr16SineWaveGenRDITLInit(tfr16_tSineWaveGenRDITL *pSWG,Frac16 *pSineTable,UInt16 SineTableLength,Int16 SineFreq,Int16 SampleFreq,Frac16 InitialPhasePIx)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDITLQ (bean DSP_Func_TFR)
**
**     Description :
**         The function generates Nsamples and stores them in
**         pValues.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenRDITLQ
**                           type defined in tfr16.h header file. It
**                           points to private data for the RDITL
**                           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 tfr16SineWaveGenRDITLQ(tfr16_tSineWaveGenRDITLQ *pSWG,Frac16 *pValues,UInt16 Nsamples)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDITLQCreate (bean DSP_Func_TFR)
**
**     Description :
**         The function allocates the structure of type
**         tfr16_tSineWaveGenRDITLQ.
**     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_tSineWaveGenRDITLQ structure,
**                           which is used by all other
**                           tfr16SineWaveGenRDITLQ functions.
** ===================================================================
*/
/*
tfr16_tSineWaveGenRDITLQ * tfr16SineWaveGenRDITLQCreate(Frac16 *pSineTable,UInt16 SineTableLength,Int16 SineFreq,Int16 SampleFreq,Frac16 InitialPhasePIx)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDITLQDestroy (bean DSP_Func_TFR)
**
**     Description :
**         The function frees the tfr16_tSineWaveGenRDITLQ data
**         structures(s) previously allocated by
**         tfr16SineWaveGenRDITLQCreate.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenRDITLQ
**                           type defined in tfr16.h header file. It
**                           points to private data for the RDITL
**                           sine wave generation function.
**     Returns     : Nothing
** ===================================================================
*/
/*
void tfr16SineWaveGenRDITLQDestroy(tfr16_tSineWaveGenRDITLQ *pSWG)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDITLQInit (bean DSP_Func_TFR)
**
**     Description :
**         The function initializes the tfr16_tSineWaveGenRDITLQ
**         data structure used by all tfr16SineWaveGenRDITLQ
**         functions. The tfr16_tSineWaveGenRDITLQ data structure
**         pointed to by pSWG must have been allocated prior to
**         calling tfr16SineWaveGenRDITLQInit.
**     Parameters  :
**         NAME            - DESCRIPTION
**       * pSWG            - Pointer to tfr16_SineWaveGenRDITLQ
**                           type defined in tfr16.h header file. It
**                           points to private data for the RDITL
**                           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
** ===================================================================
*/
/*
void tfr16SineWaveGenRDITLQInit(tfr16_tSineWaveGenRDITLQ *pSWG,Frac16 *pSineTable,UInt16 SineTableLength,Int16 SineFreq,Int16 SampleFreq,Frac16 InitialPhasePIx)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenPAM (bean DSP_Func_TFR)
**
**     Description :
**         The function generates Nsamples and stores them in
**         pValues.
**     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.
**       * pValues         - A pointer to memory allocated
**                           by the application to store sine samples.
**         Nsamples        - The number of sine samples to
**                           generate.
**     Returns     : Nothing
** ===================================================================
*/
/*
void tfr16SineWaveGenPAM(tfr16_tSineWaveGenPAM *pSWG,Frac16 *pValues,UInt16 Nsamples)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenPAMCreate (bean DSP_Func_TFR)
**
**     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     :

⌨️ 快捷键说明

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