TMU测试中,__sinpuf32怎么使用?

[复制链接]
2041|0
 楼主| qwe890asd 发表于 2016-9-20 22:24 | 显示全部楼层 |阅读模式
TMU测试,在例程中有一个函数为__sinpuf32,有些不明所以,可以解释一下含义吗 ?
函数如下:
// TMU_runTest - Execute SIN generation test (TMU)
//
float TMU_runTest(float *inputVector,float *tmuOutput,
int16_t size)
{
int16_t i;
float start_time = 0.0;
float stop_time = 0.0;
START_TIMER(start_time);
for(i = 0; i < size ; i++)
{
tmuOutput = __sinpuf32(inputVector);
}
STOP_TIMER(stop_time);
return(start_time - stop_time);
}
图中红色部分的sin函数与RTS中的sin函数有什么有区别?运用TMU进行运算是需要对三角函数名重命名来加以区分还是什么意思?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

455

主题

583

帖子

5

粉丝
快速回复 在线客服 返回列表 返回顶部