SW006013 Microchip Technology, SW006013 Datasheet - Page 222

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 218
5.3.2
Many functions in this section use fixed-point Q16 (15.16) format, which ranges from
-2
not be used.
_Q16acos
Description:
Include:
Prototype:
Argument:
Return Value:
_Q16acosByPI
Description:
Include:
Prototype:
Argument:
Return Value:
_Q16asin
Description:
Include:
Prototype:
Argument:
Return Value:
_Q16asinByPI
Description:
Include:
Prototype:
Argument:
Return Value:
31
to 2
31
-1, or -2147483648 to 2147483647. For each function, the entire range may
Q16 Functions
This function finds the arc cosine of a Q16 value.
<libq.h>
_Q16 _Q16acos(_Q16 x);
x
ranges from -65566 to 65536.
This function returns the arc cosine of x in Q16 format. This value
ranges from -205887 to 205887.
This function finds the arc cosine of a Q16 value and then divides by PI
(π).
<libq.h>
_Q16 _Q16acosByPI(_Q16 x);
x
ranges from -65536 to 65536.
This function returns the arc cosine of x, divided by PI, in Q16 format.
This value ranges from -65536 to 65536.
This function finds the arc sine of a Q16 value.
<libq.h>
_Q16 _Q16asin(_Q16 x);
x
ranges from -65566 to 65536.
This function returns the arc sine of x in Q16 format. This value ranges
from -102944 to 102944.
This function finds the arc sine of a Q16 value and then divides by PI
(π).
<libq.h>
_Q16 _Q16asinByPI(_Q16 x);
x
ranges from -65536 to 65536.
This function returns the arc sine of x, divided by PI, in Q16 format.
This value ranges from-65536 to 65536.
a fixed point number in Q16 format. The value of this argument
a fixed point number in Q16 format. The value of this argument
a fixed point number in Q16 format. The value of this argument
a fixed point number in Q16 format. The value of this argument
© 2008 Microchip Technology Inc.

Related parts for SW006013