SW006013 Microchip Technology, SW006013 Datasheet - Page 214

MPLAB C Compiler For DsPIC DSCs

SW006013

Manufacturer Part Number
SW006013
Description
MPLAB C Compiler For DsPIC DSCs
Manufacturer
Microchip Technology
Series
DsPIC30F/33Fr
Type
MPLAB® C Compilerr
Datasheet

Specifications of SW006013

Supported Families
DsPIC30F, DsPIC33F
Core Architecture
DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
DsPIC30F And DsPIC33F
Tool Function
Compiler
Tool Type
Compiler
Processor Series
dsPIC
Lead Free Status / RoHS Status
na
For Use With/related Products
dSPIC DSCs
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
DS51456E-page 210
_Q15add
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15asin
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15asinByPI
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15atan
Description:
Include:
Prototype:
Argument:
Return Value:
The function finds the sum value of two Q15 values. This function takes
care of saturation during overflow and underflow occurrences.
<libq.h>
_Q15 _Q15add(_Q15 x, _Q15 y);
x
2
y
2
This function returns the sum of x and y in Q15 format. This value
ranges from -32768 to 32767.
This function finds the arc sine of a Q15 value.
<libq.h>
_Q15 _Q15asin(_Q15 x);
x
2
This function returns the arc sine of x in Q15 format. This value ranges
from -32768 to 32767.
This function finds the arc sine of a Q15 value and then divides by PI
(π).
<libq.h>
_Q15 _Q15asinByPI(_Q15 x);
x
2
This function returns the arc sine of x, divided by PI, in Q15 format.
This value ranges from -16384 to 16303.
This function finds the arc tangent of a Q15 value.
<libq.h>
_Q15 _Q15atan(_Q15 x);
x
2
This function returns the arc tangent of x in Q15 format. This value
ranges from -25736 to 25735.
15
15
15
15
15
-1. The value of this argument ranges from -32768 to 32767.
-1. The value of this argument ranges from -32768 to 32767.
-1. The value of this argument ranges from -27573 to 27573.
-1. The value of this argument ranges from -32768 to 32767.
-1. The value of this argument ranges from -32768 to 32767.
a fixed point number in Q15 format, which ranges from -2
a fixed point number in Q15 format, which ranges from -2
a fixed point number in Q15 format, which ranges from -2
a fixed point number in Q15 format, which ranges from -2
a fixed point number in Q15 format, which ranges from -2
© 2008 Microchip Technology Inc.
15
15
15
15
15
to
to
to
to
to

Related parts for SW006013