TI中文支持网
TI专业的中文技术问题搜集分享网站

TMU的函数有哪些

TMU的函数有哪些

囧:

以下网址下载编译器手册,搜索TMU就可以找到。主要有以下指令:

http://software-dl.ti.com/codegen/non-esd/downloads/download.htm

double __divf32( double num , double denom ); DIVF32 dst, num, denom Return num divided by denom using the TMUhardware instruction for floating point division.double __sqrt( double src ); SQRTF32 dst, src Return the square root of src.double __sin( double src ); SINF32 dst, src Return the sine of src radians, where src isprovided in radians.double __cos( double src ); COSF32 dst, src Return the cosine of src radians, where src isprovided in radians.double __atan( double src ); ATANF32 dst, src Return the principal value of the arc tangent ofsrc radians.double __atan2( double y , double x ); QUADF32 quadrant, ratio, y, x Return the principal value of the arc tangentATANPUF32 atanpu, ratio plus the quadrant for x, y. The value is returnedADDF32 atan2pu, atanpu in radians.MPY2PIF32 atan2, atan2pudouble __mpy2pif32( double src ); MPY2PIF32 dst, src Return the result of multiplying src by 2pi. Thisconverts a per unit value to radians. Per unitvalues are commonly used in controlapplications to represent normalized radians.double __div2pif32( double src ); DIV2PIF32 dst, src Return the result of multiplying src by 1/2pi(effectively dividing by 2pi). This converts avalue in radians to a per unit value.double __sinpuf32( double src ); SINPUF32 dst, src Return the sine of src in radians, where src isprovided as a per unit value.double __cospuf32( double src ); COSPUF32 dst, src Return the cosine of src in radians, where src isprovided as a per unit value.double __atanpuf32( double src ); ATANPUF32 dst, src Return the principal value of the arc tangent ofsrc, which is provided as a per unit value.double __atan2puf32( double x, double y ); QUADF32 quadrant, ratio, y, x Return the principal value of the arc tangentATANPUF32 atanpu, ratio plus the quadrant value for y, x. The value isADDF32 dst, atanpu returned as a per unit value.double __quadf32( double ratio, double y, QUADF32 quadrant, ratio, y, x Return the quadrant value (0.0, +/-0.25, or +/-double x ); 0.5) and the ratio of x and y, which areprovided as per unit values.

赞(0)
未经允许不得转载:TI中文支持网 » TMU的函数有哪些
分享到: 更多 (0)