SW006013 Microchip Technology, SW006013 Datasheet - Page 219

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.
_Q15shl
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15shlNoSat
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15shr
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15shrNoSat
Description:
Include:
Prototype:
Argument:
Return Value:
The function shifts a Q15 value by num bits, to the left if num is positive
or to the right if num is negative. The function takes care of saturating
the result, in case of underflow or overflow.
<libq.h>
_Q15 _Q15shl(_Q15 x, short num);
x
2
num an integer number, which ranges from -15 to 15.
This function returns the shifted value of x in Q15 format. This value
ranges from -32768 to 32767.
The function shifts a Q15 value by num bits, to the left if num is positive
or to the right if num is negative. This function sets the
_Q15shlSatFlag variable in case of underflow or overflow but does
not take care of saturation.
<libq.h>
_Q15 _Q15shlNoSat(_Q15 x, short num);
x
2
num an integer number, which ranges from -15 to 15.
This function returns the shifted value of x in Q15 format. This value
ranges from -32768 to 32767.
The function shifts a Q15 value by num bits, to the right if num is positive
or to the left if num is negative. The function takes care of saturating the
result, in case of underflow or overflow.
<libq.h>
_Q15 _Q15shr(_Q15 x, short num);
x
2
num an integer number, which ranges from -15 to 15.
This function returns the shifted value of x in Q15 format. This value
ranges from -32768 to 32767.
The function shifts a Q15 value by num bits, to the right if num is positive
or to the left if num is negative. This function sets the
_Q15shrSatFlag variable in case of underflow or overflow but does
not take care of saturation.
<libq.h>
_Q15 _Q15shrNoSat(_Q15 x, short num);
x
2
num an integer number, which ranges from -15 to 15.
This function returns the shifted value of x in Q15 format. This value
ranges from -32768 to 32767.
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.
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
DS51456E-page 215
15
15
15
15
to
to
to
to

Related parts for SW006013