Microchip PIC32AK6416GC41036 handleiding

76 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 15 van 76
Vector Funcons
User Guide
© 2025 Microchip Technology Inc. and its subsidiaries
DS70005605A - 15
System resource usage
W0…W6 - used, not restored
REPEATinstruction/s usage – None
2.3.8. VectorMulply
Description
VectorMultiplymultiplies the value of each element in the source one vector with its counterpart
in the source twovector andplaces the result in the destination vector.
Prototype
fractional* VectorMultiply (int numElems, fractional* dstV,
fractional* srcV1, fractional* srcV2);
Arguments
Parameters Description
numElems
Number of elements in the source vectors
dstV
Pointer to the destination vector
srcV1
Pointer to the source one vector
srcV2
Pointer to the source two vector
Returns
Pointer to the base address of the destination vector.
Remarks
This operation is also known as the vector element-by-element multiplication.
This function can be computed in place.
This function can beself-applicable.
Source File
vmul_aa.s
Function Prole
Device Program Words Cycles
PIC32A
20 36 + 2.5 x numElems
System resource usage
W0…W4 - used, not restored
W13 - saved, used, restored
ACCA - used, not restored
CORCON - saved, used, restored
REPEATinstruction(s) usage – None
2.3.9. VectorNegate
Description
VectorNegatenegates (changes the sign of) the values of the elements in the source vector and
places them in the destination vector.
Prototype

Bekijk gratis de handleiding van Microchip PIC32AK6416GC41036, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkMicrochip
ModelPIC32AK6416GC41036
CategorieNiet gecategoriseerd
TaalNederlands
Grootte11302 MB