SW006013 Microchip Technology, SW006013 Datasheet - Page 225

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.
_Q16mac
Description:
Include:
Prototype:
Argument:
Return Value:
_Q16macNoSat
Description:
Include:
Prototype:
Argument:
Return Value:
_Q16neg
Description:
Include:
Prototype:
Argument:
Return Value:
This function multiplies the two 32-bit inputs, x and y, and accumulates
the product with prod. The function takes care of saturating the result
in case of underflow or overflow.
<libq.h>
_Q16 _Q16mac(_Q16x, _Q16 y, _Q16 prod);
x
ranges from -2147483648 to 2147483647.
y
ranges from -2147483648 to 2147483647.
prod
ranges from -2147483648 to 2147483647.
This function returns the multiplied and accumulated value prod in
Q16 format. This value ranges from 0 to 2147483647.
This function multiplies the two 32 bit inputs, x and y and accumulates
the product with prod.This function only sets the _Q16macSatFlag
variable in case of an overflow or underflow and does not take care of
saturation.
<libq.h>
_Q16 _Q16macNoSat(_Q16 x, _Q16 y, _Q16 prod);
x
ranges from -2147483648 to 2147483647.
y
ranges from -2147483648 to 2147483647.
prod
ranges from -2147483648 to 2147483647.
This function returns the multiplied and accumulated value prod in
Q16 format. This value ranges from 0 to 2147483647.
This function negates x with saturation. The value is saturated in the
case where the input is -2147483648.
<libq.h>
_Q16 _Q16neg(_Q16 x);
x
ranges from -2147483648 to 2147483647.
This function returns the negated value of x in Q16 format. This value
ranges from -2147483648 to 2147483647.
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
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
DS51456E-page 221

Related parts for SW006013