SW006013 Microchip Technology, SW006013 Datasheet - Page 215

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
© 2008 Microchip Technology Inc.
_Q15atanByPI
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15atanYByX
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15atanYByXByPI
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15atoi
Description:
Include:
Prototype:
Argument:
Return Value:
This function finds the arc tangent of a Q15 value and then divides by
PI (π).
<libq.h>
_Q15 _Q15atanByPI(_Q15 x);
x
2
This function returns the arc tangent of x, divided by PI, in Q15 format.
This value ranges from -8192 to 8192.
This function finds the arc tangent of a Q15 value divided by a second
Q15 value.
<libq.h>
_Q15 _Q15atanYByX(_Q15 x, _Q15 y);
x
2
y
2
This function returns the arc tangent of y divided by x in Q15 format.
This value ranges from -25736 to 25735.
This function finds the arc tangent of a Q15 value divided by a second
Q15 value and then divides the result by PI (π).
<libq.h>
_Q15 _Q15atanYByXByPI(_Q15 x, _Q15 y);
x
2
y
2
This function returns the arc tangent of y divided by x, divided by PI, in
Q15 format. This value ranges from -8192 to 8192.
This function takes a string which holds the ASCII representation of
decimal digits and converts it into a single Q15 number.
Note: The decimal digit should not be beyond the range -32768 to
32767.
<libq.h>
_Q15 _Q15atoi(const char *s);
s
This function returns the integer equivalent of s in Q15 format, which
range is from -32768 to 32767.
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 -32768 to 32767.
-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
a buffer holding the ASCII values of each decimal digit.
DS51456E-page 211
15
15
15
15
15
to
to
to
to
to

Related parts for SW006013