论坛元老
 
- 积分
- 8017
- 金钱
- 8017
- 注册时间
- 2014-8-13
- 在线时间
- 1594 小时
|
发表于 2017-11-13 11:33:37
|
显示全部楼层
本帖最后由 mack13013 于 2017-11-17 06:39 编辑
函数原型,一直以为是说函数源码....
在arm_math.h中有RMS函数原型如下:
[mw_shl_code=c,true]
/**
* @brief Root Mean Square of the elements of a floating-point vector.
* @param[in] pSrc is input pointer
* @param[in] blockSize is the number of samples to process
* @param[out] pResult is output value.
*/
void arm_rms_f32(
float32_t * pSrc,
uint32_t blockSize,
float32_t * pResult);
/**
* @brief Root Mean Square of the elements of a Q31 vector.
* @param[in] pSrc is input pointer
* @param[in] blockSize is the number of samples to process
* @param[out] pResult is output value.
*/
void arm_rms_q31(
q31_t * pSrc,
uint32_t blockSize,
q31_t * pResult);
/**
* @brief Root Mean Square of the elements of a Q15 vector.
* @param[in] pSrc is input pointer
* @param[in] blockSize is the number of samples to process
* @param[out] pResult is output value.
*/
void arm_rms_q15(
q15_t * pSrc,
uint32_t blockSize,
q15_t * pResult);
[/mw_shl_code]
|
|