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

📄 tfr1.c

📁 基于56F8346的异步电机VVVF控制程序。
💻 C
📖 第 1 页 / 共 4 页
字号:
**                           and filled by the application.
**     Returns     : Nothing
** ===================================================================
*/
/*
void tfr16CosPIxLUTInit(tfr16_tCosPIxLUT *pSWG,Frac16 *pSineTable,UInt16 SineTableLength)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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.
** ===================================================================
*/
/*
Frac16 tfr16AsinOverPI(Frac16 x)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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.
** ===================================================================
*/
/*
Frac16 tfr16AcosOverPI(Frac16 x)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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.
** ===================================================================
*/
/*
Frac16 tfr16AtanOverPI(Frac16 x)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     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.
** ===================================================================
*/
/*
Frac16 tfr16Atan2OverPI(Frac16 y,Frac16 x)
{
  // This method is defined as macro
}
*/

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

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

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

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

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

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

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDTLDestroy (bean DSP_Func_TFR)
**
**     Description :
**         The function frees the tfr16_tSineWaveGenRDTL data
**         structures(s) previously allocated by
**         tfr16SineWaveGenRDTLCreate.
**     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.
**     Returns     : Nothing
** ===================================================================
*/
/*
void tfr16SineWaveGenRDTLDestroy(tfr16_tSineWaveGenRDTL *pSWG)
{
  // This method is defined as macro
}
*/

/*
** ===================================================================
**     Method      :  TFR1_tfr16SineWaveGenRDTLInit (bean DSP_Func_TFR)
**
**     Description :

⌨️ 快捷键说明

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